On Sunday 24 September 2006 12:55, Dave S wrote: > 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 ?
Try QApplication.processEvents() after the setProgress call. Detlev -- Detlev Offenbach [EMAIL PROTECTED] _______________________________________________ PyKDE mailing list [email protected] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
