title: Making QProgressDialog update, also value does not change
body: <p>I have a progress which I "mintor" with a QProgessDialog in PyQt4. Basicly, I have a loop like this:</p>
  
  <pre><code>while progressThread.isRunning():
      self.progressDialog.setRange(0, self.progressTotal_)
      self.progressDialog.setValue(self.progress_)
  del self.progressDialog
  </code></pre>
  
  <p>The progressThread upades the variables self.progessTotal_ and self.progress_</p>
  
  <p>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).</p>
  
  <p>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?</p>
  
  <p>Thanks!
  nathan</p>