PyQt ProgressBar

Alexandre Badez alexandre.badez at gmail.com
Tue Oct 16 04:01:56 EDT 2007


On Oct 16, 8:03 am, luca72 <lucabe... at libero.it> wrote:
> 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 ?




More information about the Python-list mailing list