[PyQt] QThread, suggestions.

Matt Smith melkor at orangepalantir.org
Tue Jan 27 19:01:36 GMT 2009


In java they have the "SwingWorker" class and I thought of a way to
implement something similar in python.  Here is the code:

http://paste.pocoo.org/show/101578/

I use this for starting long running processes.  Here is an example of
how I have used it.  

http://orangepalantir.org/files/threadworker.py

I was curious for some input, It seems threads are often abused and I
don't want to be doing too much abusing.

mbs



More information about the PyQt mailing list