Sending a message to the application's ProgressBar.
More...
#include <mitkProgressBar.h>
Sending a message to the application's ProgressBar.
Holds a GUI-dependent ProgressBarImplementation and forwards progress updates to all registered implementations. All MITK classes use this class to display progress on the GUI ProgressBar. The main application has to register a ProgressBarImplementation with RegisterImplementationInstance().
Definition at line 31 of file mitkProgressBar.h.
◆ ProgressBarImplementationsList
◆ ProgressBarImplementationsListIterator
◆ ProgressBar()
| mitk::ProgressBar::ProgressBar |
( |
| ) |
|
|
protected |
◆ ~ProgressBar()
| mitk::ProgressBar::~ProgressBar |
( |
| ) |
|
|
overrideprotected |
◆ AddStepsToDo()
| void mitk::ProgressBar::AddStepsToDo |
( |
unsigned int |
steps | ) |
|
Adds steps to the total number of steps to do.
- Parameters
-
| steps | Number of steps to add. |
◆ GetClassName()
| virtual const char* mitk::ProgressBar::GetClassName |
( |
| ) |
const |
|
virtual |
◆ GetInstance()
Static method to get the singleton ProgressBar instance.
No reference counting, due to decentralized static use.
- Returns
- Pointer to the singleton ProgressBar instance.
◆ Progress()
| void mitk::ProgressBar::Progress |
( |
unsigned int |
steps = 1 | ) |
|
Sets the current amount of progress to current progress + steps.
- Parameters
-
| steps | The number of steps done since the last Progress() call. |
◆ RegisterImplementationInstance()
◆ Reset()
| void mitk::ProgressBar::Reset |
( |
| ) |
|
Explicitly reset the progress bar.
◆ SetPercentageVisible()
| void mitk::ProgressBar::SetPercentageVisible |
( |
bool |
visible | ) |
|
Sets whether the current progress value is displayed as a percentage.
- Parameters
-
| visible | If true, the percentage is displayed. |
◆ UnregisterImplementationInstance()
Unregister a previously registered ProgressBar implementation.
- Parameters
-
◆ m_Implementations
◆ m_Instance
The documentation for this class was generated from the following file: