PDA

View Full Version : how to create sliding progress bar ?



npc
26th March 2007, 15:13
Hi,

I am using progress bar in my application. I want to set that progress bar keep sliding from left to right and back till the process is over.

How to set this propery in progress bar ?

I am using Qt 4.2.2/Windows

Thanks,
npc

jpn
26th March 2007, 15:27
Take a look at the short examples in the detailed description part of the QProgressDialog docs. The approach is exactly the same with a QProgressBar.

Brandybuck
26th March 2007, 17:40
When a QProgressBar has both its minimum and maximum properties set to zero (0), then it will be a "wait" bar, that animates back and forth. You can try it in Designer to see.