Medical Imaging Interaction Toolkit  2021.02.99-b1c7fb9e
Medical Imaging Interaction Toolkit
QmitkProgressBar Class Reference

QT-Toolkit/GUI dependent class that provides the QT's ProgressBar. More...

#include <QmitkProgressBar.h>

Inheritance diagram for QmitkProgressBar:
Collaboration diagram for QmitkProgressBar:

Signals

void SignalAddStepsToDo (unsigned int steps)
 
void SignalProgress (unsigned int steps)
 
void SignalSetPercentageVisible (bool visible)
 

Public Member Functions

 QmitkProgressBar (QWidget *parent=nullptr, const char *name=nullptr)
 Constructor; holds param instance internally and connects this to the mitkProgressBar. More...
 
 ~QmitkProgressBar () override
 Destructor. More...
 
void SetPercentageVisible (bool visible) override
 Sets whether the current progress value is displayed. More...
 
void AddStepsToDo (unsigned int steps) override
 Adds steps to totalSteps. More...
 
void Progress (unsigned int steps) override
 Sets the current amount of progress to current progress + steps. More...
 
- Public Member Functions inherited from mitk::ProgressBarImplementation
 ProgressBarImplementation ()
 Constructor. More...
 
virtual ~ProgressBarImplementation ()
 Destructor. More...
 

Protected Slots

virtual void SlotAddStepsToDo (unsigned int steps)
 
virtual void SlotProgress (unsigned int steps)
 
virtual void SlotSetPercentageVisible (bool visible)
 

Detailed Description

QT-Toolkit/GUI dependent class that provides the QT's ProgressBar.

All mitk-classes will call this class for output: mitk::ProgressBar::GetInstance();

Definition at line 28 of file QmitkProgressBar.h.

Constructor & Destructor Documentation

◆ QmitkProgressBar()

QmitkProgressBar::QmitkProgressBar ( QWidget *  parent = nullptr,
const char *  name = nullptr 
)

Constructor; holds param instance internally and connects this to the mitkProgressBar.

◆ ~QmitkProgressBar()

QmitkProgressBar::~QmitkProgressBar ( )
override

Destructor.

Member Function Documentation

◆ AddStepsToDo()

void QmitkProgressBar::AddStepsToDo ( unsigned int  steps)
overridevirtual

Adds steps to totalSteps.

Implements mitk::ProgressBarImplementation.

◆ Progress()

void QmitkProgressBar::Progress ( unsigned int  steps)
overridevirtual

Sets the current amount of progress to current progress + steps.

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

Implements mitk::ProgressBarImplementation.

◆ SetPercentageVisible()

void QmitkProgressBar::SetPercentageVisible ( bool  visible)
overridevirtual

Sets whether the current progress value is displayed.

Implements mitk::ProgressBarImplementation.

◆ SignalAddStepsToDo

void QmitkProgressBar::SignalAddStepsToDo ( unsigned int  steps)
signal

◆ SignalProgress

void QmitkProgressBar::SignalProgress ( unsigned int  steps)
signal

◆ SignalSetPercentageVisible

void QmitkProgressBar::SignalSetPercentageVisible ( bool  visible)
signal

◆ SlotAddStepsToDo

virtual void QmitkProgressBar::SlotAddStepsToDo ( unsigned int  steps)
protectedvirtualslot

◆ SlotProgress

virtual void QmitkProgressBar::SlotProgress ( unsigned int  steps)
protectedvirtualslot

◆ SlotSetPercentageVisible

virtual void QmitkProgressBar::SlotSetPercentageVisible ( bool  visible)
protectedvirtualslot

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