471,328 Members | 1,863 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,328 software developers and data experts.

PyQt ProgressBar

Hello i have made anly one test like this:
from time import sleep
barra = QtGui.QProgressBar()
barra.setMinimum(0)
barra.setMaximum(10)
for a in range(10):
sleep(1)
barra.setValue(a)
app.processEvents()

But the bar remain fix to 0% don't increase.

can you tell me how to prooced

Regards

Luca

Oct 15 '07 #1
2 4448
No one can help pls

Regards

Luca
Oct 16 '07 #2
On Oct 16, 8:03 am, luca72 <lucabe...@libero.itwrote:
No one can help pls

Regards

Luca
I've written a little app for testing this:

import sys
import time
from PyQt4 import QtGui

app = QtGui.QApplication(sys.argv)

barra = QtGui.QProgressBar()
barra.show()
barra.setMinimum(0)
barra.setMaximum(10)
for a in range(10):
time.sleep(1)
barra.setValue(a)
app.exec_()
For me, it work great (on windows, with python 2.4.4 and Qt 4.1 and
PyQt 4.0).
Could you tell us a bit more about your problems ?

Oct 16 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

10 posts views Thread by Ilya Knizhnik | last post: by
35 posts views Thread by Vamsi Mudrageda | last post: by
8 posts views Thread by simo | last post: by
10 posts views Thread by svenn.are | last post: by
3 posts views Thread by Fabio | last post: by
10 posts views Thread by Simon John | last post: by
8 posts views Thread by needin4mation | last post: by
1 post views Thread by nobody | last post: by
3 posts views Thread by Phil Thompson | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.