[PyKDE] Threads in PyQT

Jason Petrone jpetrone at cnri.reston.va.us
Tue Jul 3 20:58:53 BST 2001


I'm new to QT, and am trying to figure out how to port a wxPython program
to PyQT.

Its a simple app that runs some job in a separate thread.  The thread needs
to update a QTextView and a QProgressBar, but I can't figure out how to
post thread safe events.

If this was C++ QT, I would have the work thread extend QThread so I could
do this.postEvent().  

Does the answer have something to do with those mystical SIGNAL/SLOT goblins I
keep hearing about?

thanks,
jason




More information about the PyQt mailing list