View Single Post
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#21
I just did:
Code:
progress = QtGui.QProgressDialog(self)
progress.setWindowTitle('Loading')
progress.setValue(10)
...
progress.setValue(20)
...
progress.setValue(100)
The dialog appears after the first setValue() and disappears when the value is set to 100 (the default maximum) - that's all just the default behaviour.