[PyQt] ProgressBar - Activity Mode

Mark Summerfield list at qtrac.plus.com
Wed Jul 14 10:17:15 BST 2010


On 2010-07-13, Antonio Valentino wrote:
> Hi list,
> I would like to get a progress bar that works in a way similar to the
> "Activity Mode" of the corresponding GTK widget:
> 
> http://www.pygtk.org/pygtk2reference/class-gtkprogressbar.html#method-gtkpr
> ogressbar--pulse
> 
> i.e. show activity by a block moving back and forth within the progress
> area.
> 
> Is there a quick way to do it?
> Some code snippet to grab?
> 
> What are possible alternatives for this kind of task?

Just set the minimum and maximum to 0 and you'll get exactly what you
want.


-- 
Mark Summerfield, Qtrac Ltd, www.qtrac.eu
    C++, Python, Qt, PyQt - training and consultancy
        "Programming in Python 3" - ISBN 0321680561
            http://www.qtrac.eu/py3book.html


More information about the PyQt mailing list