[PyKDE] GUI not updateing ?

Dave S eric3 at pusspaws.net
Sun Sep 24 11:55:13 BST 2006


My main window has a progress bar in it. When I click a button my script 
starts a thread for a backend script that takes some time to run.

The backend script passes data including its progress to my main script via a 
FIFO, now I have a problem.

The FIFO is providing progress data that is being written to the GUI with 
self.progressBar1.setProgress(pc, 100) but nothing is being shown until my 
script exits.

So the GUI is not updated while I am in a while loop looking for FIFO data ? 
If so how do you guys get around this ?

Cheers

Dave




More information about the PyQt mailing list