17 #ifndef QMITKPROGRESSBAR_H
18 #define QMITKPROGRESSBAR_H
22 #include <QProgressBar>
57 virtual void Progress(
unsigned int steps)
override;
61 void SignalAddStepsToDo(
unsigned int steps);
62 void SignalProgress(
unsigned int steps);
63 void SignalSetPercentageVisible(
bool visible);
67 virtual void SlotAddStepsToDo(
unsigned int steps);
68 virtual void SlotProgress(
unsigned int steps);
69 virtual void SlotSetPercentageVisible(
bool visible);
74 void Reset()
override;
76 unsigned int m_TotalSteps;
78 unsigned int m_Progress;
GUI indepentent Interface for all Gui depentent implementations of a ProgressBar. ...
virtual void Progress(unsigned int steps)=0
Sets the current amount of progress to current progress + steps.
virtual void SetPercentageVisible(bool visible)=0
Sets whether the current progress value is displayed.
QT-Toolkit/GUI dependent class that provides the QT's ProgressBar.
virtual void Reset()=0
Explicitly reset progress bar.
virtual void AddStepsToDo(unsigned int steps)=0
Adds steps to totalSteps.