PyQt ProgressBar

David Boddie dboddie at trolltech.com
Tue Oct 16 13:03:06 EDT 2007


On Mon Oct 15 14:24:09 CEST 2007, luca72 wrote:

> 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

Can you post a complete runnable code example, either here (if it's short
enough) or to the PyQt mailing list?

Thanks,

David
-- 
David Boddie
Lead Technical Writer, Trolltech ASA



More information about the Python-list mailing list