|
|
2010-05-06
, 05:31
|
|
Posts: 6 |
Thanked: 3 times |
Joined on Apr 2010
|
#22
|
rocessEvents() continiously in a loop to let the main event loop redraw progress after you set it.
rocessEvents(); //your progress bar would move according to x.| The Following User Says Thank You to vhs For This Useful Post: | ||
|
|
2010-05-06
, 08:21
|
|
Posts: 3,617 |
Thanked: 2,411 times |
Joined on Nov 2009
@ Cambridge, UK
|
#23
|
Hi,
You have to call Qapplication:rocessEvents() continiously in a loop to let the main event loop redraw progress after you set it.
rocessEvents() automatically then.
|
|
2010-05-07
, 11:23
|
|
Posts: 58 |
Thanked: 10 times |
Joined on Dec 2009
|
#24
|
|
|
2010-05-07
, 14:10
|
|
Posts: 3,319 |
Thanked: 5,610 times |
Joined on Aug 2008
@ Finland
|
#25
|
|
|
2010-05-09
, 12:03
|
|
Posts: 58 |
Thanked: 10 times |
Joined on Dec 2009
|
#26
|
progress = QtGui.QProgressDialog(self) progress.setWindowTitle('Loading') progress.setValue(10) ... progress.setValue(20) ... progress.setValue(100)