Medical Imaging Interaction Toolkit
2024.06.00
Medical Imaging Interaction Toolkit
|
Go to the documentation of this file.
13 #ifndef QmitkProgressBar_h
14 #define QmitkProgressBar_h
18 #include <QProgressBar>
53 void Progress(
unsigned int steps)
override;
57 void SignalAddStepsToDo(
unsigned int steps);
58 void SignalProgress(
unsigned int steps);
59 void SignalSetPercentageVisible(
bool visible);
63 virtual void SlotAddStepsToDo(
unsigned int steps);
64 virtual void SlotProgress(
unsigned int steps);
65 virtual void SlotSetPercentageVisible(
bool visible);
70 void Reset()
override;
72 unsigned int m_TotalSteps;
74 unsigned int m_Progress;
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.
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.
GUI independent Interface for all Gui dependent implementations of a ProgressBar.