Re: [Gambas-user] qt4 draw error

2010-01-03 Thread Dr.Diesel
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.

Re: [Gambas-user] qt4 draw error

2010-01-03 Thread Benoît Minisini
> > 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

Re: [Gambas-user] qt4 draw error

2010-01-03 Thread Dr.Diesel
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

Re: [Gambas-user] qt4 draw error

2010-01-03 Thread Benoît Minisini
> 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

[Gambas-user] qt4 draw error

2010-01-03 Thread Dr.Diesel
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