Simple question about QProgressBar
Solved
General and Desktop
-
Hi,
myProgressBar->setRange(0, 100); myProgressBar->setValue(0);
-
@SGaist
That s not what i want.
When I create it the range is 0.0 because there is nothing and then when i add and object I will increment the maximum range. because the percentage is calculated based on a given number of objects and not 100 units -
That was just an example, if you don't want the animation you need a range, whether it's 0-1 or 0-20000 is not important.
-
Or let the animation run while you don't have yet a value to set
-
I know that some things don't follow our personal tastes but you must also think about your application users and what they are expecting.