Benoît Minisini wrote:
>
>
>> >
>> > DrawingArea1 is locked on the main form.
>> >
>> > Thanks
>> > Andy
>>
>
Sorry, located not locked.
--
View this message in context:
http://old.nabble.com/qt4-draw-error-tp27005884p27006233.html
Sent from the gambas-user mailing list archive at Nabble.
> > I believe I have found a qt4 bug. Here is a very simply gambas 3 (svn
> > current to 1/2/10), this works perfectly find and as expected if i switch
> > to gtk.
> >
> > Error is, and it only outputted to the gambas console:
> >
> > QPainter::begin: Widget painting can only begin as a result of
Benoît Minisini wrote:
>
> It's not a Qt4, it's by design: they forbid drawing on a widget outside of
> a
> paint event, so that Qt4 code remains the same between X11, Windows and
> MacOSX.
>
> I think in the future I will enforce the same policy in Gambas for gb.gtk.
>
> There is no need o
> I believe I have found a qt4 bug. Here is a very simply gambas 3 (svn
> current to 1/2/10), this works perfectly find and as expected if i switch
> to gtk.
>
> Error is, and it only outputted to the gambas console:
>
> QPainter::begin: Widget painting can only begin as a result of a paintEven
I believe I have found a qt4 bug. Here is a very simply gambas 3 (svn
current to 1/2/10), this works perfectly find and as expected if i switch to
gtk.
Error is, and it only outputted to the gambas console:
QPainter::begin: Widget painting can only begin as a result of a paintEvent
QPainter::se