[PyKDE] GUI not updateing ?

Ismail Donmez ismail at pardus.org.tr
Sun Sep 24 13:59:02 BST 2006


24 Eyl 2006 Paz 15:38 tarihinde, Detlev Offenbach şunları yazmıştı: 
[...]
> > > Try QApplication.processEvents() after the setProgress call.
> >
> > Or use events to communicate the progress. I haven't had the experience
> > yet, but many qt and kde developers say that processEvents is evil and
> > should be avoided, it might have mysterious side effects.
>
> Which ones?

If you used deleteLater() for an QObject, processEvents() might delete that 
object which might result in a crash.

Regards,
ismail

-- 
They that can give up essential liberty to obtain a little temporary safety 
deserve neither liberty nor safety.
-- Benjamin Franklin




More information about the PyQt mailing list