Questions tagged [qprogressbar]

QProgressBar is a Qt class that provides a progress bar, which can be either horizontal or vertical.

The QProgressBar uses steps to show the progress. To use it, the minimum and maximum values should be specified. After that, when the progress bar receives a current step value, it will update itself to show the percentage of steps completed.

If both values are set to 0, the progress bar will turn into a "busy" indicator. An example of this is the following:

QProgressBar * b = new QProgressBar();
b->setMinimum(0);
b->setMaximum(0);
b->show();

Official documentation can be found here.

152 questions
-4
votes
1 answer

How do you connect a QProgressBar with a function?

I'm working on a program and I want to connect a QProgressBar with a function. While the function is in progress, the QProgressBar should count until the function is done. Then the QProgressBar should be done too.
s.jor.ibra
  • 307
  • 1
  • 5
  • 16
-4
votes
2 answers

increment progress bar inside for loop in c++ Qt

I am new in Qt , i want to show some progress in progress bar in side a for loop, progress bar should show progress from 0 to 100 How to do this ,plz help thanks.
rinku buragohain
  • 329
  • 2
  • 7
  • 15
1 2 3
10
11