[PyQt] Run a job in background

Russell Valentine russ at coldstonelabs.org
Wed Mar 24 17:03:41 GMT 2010


On 03/24/10 08:18, dalvarez wrote:
> So, my questions would be: 
> 
> - How can I open that small window to receive and track the process? 
> 
> - How to connect the function (at
> the moment outside the main class) to
> the progress bar and to that small window? 
> 
> - How to launch the external program in background mode without blocking
> all the windows? 


I'd make run a thread (QThread) and send the output of the process to
the small window and progress bar using signals and slots.


More information about the PyQt mailing list