Hey,
I have a progress which I "mintor" with a QProgessDialog in PyQt4. Basicly, I have a loop like this:
while progressThread.isRunning():
self.progressDialog.setRange(0, self.progressTotal_)
self.progressDialog.setValue(self.progress_)
del self.progressDialog
The progressThread upades the variables self.progessTotal_ and self.progress_
This works pretty well, when the value of progress_ changes constantly. But for some task, this is not the case (because the progress report is just not that detailed).
The result is, the progressDialog showing a gray window until something changes. Can I insert something in the while loop, that forces the progressDialog to upadate also nothing changes?
Thanks! nathan