On Thursday 02 March 2006 07:20 am, Felipe Monteiro de Carvalho wrote:
> Maybe I should try to detect if a drawing function was called outside a
> paint event

QWidget also descends from QPaintDevice
which has the method bool QPaintDevice::paintingActive () const

http://doc.trolltech.com/4.1/qpaintdevice.html#paintingActive

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to