On Thursday 02 March 2006 03:26 pm, Mattias Gaertner wrote:
> > Another problem is that Qt does not allow painting outside a paint
> > event, but winapi is allows it. Has anyone had this problem before?
>
> Yes. The Gtk interface has the same problem: Painting is only allowed
> during Paint event.
>
> > Like on Carbon widgetset, perhaps.
>
> No. The Carbon interface will probably allow it.
strange ...
snippet from Qt Documentation:
http://doc.trolltech.com/4.1/qpainter.html#isActive
....
Warning: Unless a widget has the Qt::WA_PaintOutsidePaintEvent attribute set.
A QPainter can only be used on a widget inside a paintEvent() or a function
called by a paintEvent(). On Mac OS X, you can only paint on a widget in a
paintEvent() regardless of this attribute's setting.
...
kind regards,
Den Jean
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives