> >         tmr = QtCore.QTimer(self)
> Since you aren't keeping a refernce to QTimer or giving it an explicit Qt
> parent, it's probably getting garbage collected.  Try replacing tmr with
> self.tmr.

That's right. Seems not just garbage-collected, but immediately
destroyed on function exit (as a local variable). QTimer needs to
exist in order to work, doesn't it.


> > How do I make it possible for both the child and parent to be accessible at 
> > the same time?

Don't make them modal, that's all.

 Oleg
_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to