Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitk::ProgressBarImplementation Class Referenceabstract

GUI-independent interface for all GUI-dependent implementations of a progress bar. More...

#include <mitkProgressBarImplementation.h>

Inheritance diagram for mitk::ProgressBarImplementation:

Public Member Functions

 ProgressBarImplementation ()
 Constructor. More...
 
virtual ~ProgressBarImplementation ()
 Destructor. More...
 
virtual void SetPercentageVisible (bool visible)=0
 Sets whether the current progress percentage is displayed. More...
 
virtual void Reset ()=0
 Explicitly resets the progress bar to zero. More...
 
virtual void AddStepsToDo (unsigned int steps)=0
 Adds steps to the total number of steps to complete. More...
 
virtual void Progress (unsigned int steps)=0
 Advances the current progress by the given number of steps. More...
 

Detailed Description

GUI-independent interface for all GUI-dependent implementations of a progress bar.

Subclasses implement the actual rendering of the progress bar using the platform's GUI toolkit (e.g., Qt).

See also
mitk::ProgressBar

Definition at line 27 of file mitkProgressBarImplementation.h.

Constructor & Destructor Documentation

◆ ProgressBarImplementation()

mitk::ProgressBarImplementation::ProgressBarImplementation ( )
inline

Constructor.

Definition at line 31 of file mitkProgressBarImplementation.h.

◆ ~ProgressBarImplementation()

virtual mitk::ProgressBarImplementation::~ProgressBarImplementation ( )
inlinevirtual

Destructor.

Definition at line 34 of file mitkProgressBarImplementation.h.

Member Function Documentation

◆ AddStepsToDo()

virtual void mitk::ProgressBarImplementation::AddStepsToDo ( unsigned int  steps)
pure virtual

Adds steps to the total number of steps to complete.

Parameters
stepsthe number of steps to add to the total.

Implemented in QmitkProgressBar.

◆ Progress()

virtual void mitk::ProgressBarImplementation::Progress ( unsigned int  steps)
pure virtual

Advances the current progress by the given number of steps.

Parameters
stepsthe number of steps done since the last Progress() call.

Implemented in QmitkProgressBar.

◆ Reset()

virtual void mitk::ProgressBarImplementation::Reset ( )
pure virtual

Explicitly resets the progress bar to zero.

◆ SetPercentageVisible()

virtual void mitk::ProgressBarImplementation::SetPercentageVisible ( bool  visible)
pure virtual

Sets whether the current progress percentage is displayed.

Parameters
visibleif true, the percentage text is shown.

Implemented in QmitkProgressBar.


The documentation for this class was generated from the following file: