[Qt-interest] QProgressBar

Ian Thomson Ian.Thomson at iongeo.com
Thu Apr 30 09:29:17 CEST 2009


Hi,

It is not very obvious but in the QProgressBar documentation it mentions 
this: "If minimum and maximum both are set to 0, the bar shows a busy 
indicator instead of a percentage of steps."

This sounds like what you want. Try something like this:

myProgressBar->setTextVisible(false);
myProgressBar->setMinimum(0);
myProgressBar->setMaximum(0);


Cheers,
Ian.


Ahmed Khaled wrote:
> hello
> i want to use a progress bar in my application but not the ordinary 
> existing progress bars i want to use a continous progress bar like what 
> appears when opening the windowsXP i.e it doesnt need to be updated 
> continuously
> 
> illustration:
>  i don't need the progress bar that ragnes from 0% to 100%
> 
> thanks for your interest
> Best Regards
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest




More information about the Qt-interest-old mailing list