[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] Run a job in background
From:       Russell Valentine <russ () coldstonelabs ! org>
Date:       2010-03-24 17:03:41
Message-ID: 4BAA45ED.7040101 () coldstonelabs ! org
[Download RAW message or body]

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.
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic