[Gambas-devel] DrawingArea, SetFocus, BUG ?
Christian Faure
christian.faurebouvard at ...156...
Thu Oct 21 13:38:42 CEST 2004
Hi Benoit,
Working on a ReportDesigner, i get somes problems:
The IDE of ReportDesigner work creating and placing objects in a ScrollView
using a toolbox and allow drag and drop to move objects.
These objects are DrawingArea's
I call a DrawingArea.SetFocus() function to enable each object to handle
keyboard events.
All work ok, except when i move an object outside of visible area and this
object lose focus, then app crash with:
QPainter::begin: Cannot paint null pixmap
QPainter::setWorldMatrix: Will be reset by begin()
Attached file provide a small example of the problem
Thanks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gambas-test-da-0.0.1.tar.gz
Type: application/x-tgz
Size: 995 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/devel/attachments/20041021/737a6e72/attachment.bin>
More information about the Devel
mailing list