Reset Progress Bar
I developed a progress bar in QTDesigner with the minimum value set at 0 and the maximum value at 100. When the user navigates to this particular widget, the progress bar updates correctly, ending at 100. If the user navigates away from the page and back to it, the value remains at 100. Because of this, it appears that the task is completed, even though it is still in the process of carrying out the task.
I've tryed several different things upon the widget being shown, such as progressBar->setValue(0) and progressBar->reset(). I've looked at different references, but can't seem to find a solution. Any help would be much appreciated.
a bit more code could help.
In general, setValue is the right solution.