[PyQt] problem with qtimer

Pradnyesh Sawant spradml at gmail.com
Tue Dec 18 04:21:26 GMT 2007


Thank you so much; now I've got the problem solved which was bugging me for
so many days. and thanks for suggesting the book; I'll definitely try to go
through it :)

Thanks once again.
On 09:38, 14 Dec, Benno Dielmann wrote:
> This is because you don't keep a reference to the dialogs. As soon as method 
> newJrnl() terminates, the newly created Jrnls get garbage collected. Your 
> snippet works when keeping a reference to the Jrnls, e.g. in a static 
> variable (by the way: I highly recommend Mark Summerfield's book "Rapid GUI 
> Programming with Python and Qt" - it's all in there: QTimer usage, handling 
> of references to Objects, ...):
> 
-- 
warm regards,
Pradnyesh Sawant
--
Only 1 person in 1000 understands binary. The other 111 don't have a clue.
--Anon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20071218/31461585/attachment.bin


More information about the PyQt mailing list