PyQt ProgressBar

luca72 lucaberto at libero.it
Mon Oct 15 14:24:09 CEST 2007


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




More information about the Python-list mailing list