Medical Imaging Interaction Toolkit  2016.11.0
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...
 
virtual ~QmitkProgressBar ()
 Destructor. More...
 
virtual void SetPercentageVisible (bool visible) override
 Sets whether the current progress value is displayed. More...
 
virtual void AddStepsToDo (unsigned int steps) override
 Adds steps to totalSteps. More...
 
virtual 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 32 of file QmitkProgressBar.h.

Constructor & Destructor Documentation

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

Member Function Documentation

void QmitkProgressBar::AddStepsToDo ( unsigned int  steps)
overridevirtual

Adds steps to totalSteps.

Documentation

Implements mitk::ProgressBarImplementation.

Definition at line 48 of file QmitkProgressBar.cpp.

References SignalAddStepsToDo().

void QmitkProgressBar::Progress ( unsigned int  steps)
overridevirtual

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

Parameters

Implements mitk::ProgressBarImplementation.

Definition at line 58 of file QmitkProgressBar.cpp.

References SignalProgress().

void QmitkProgressBar::SetPercentageVisible ( bool  visible)
overridevirtual

Sets whether the current progress value is displayed.

Sets whether the current progress value is displayed.

Implements mitk::ProgressBarImplementation.

Definition at line 39 of file QmitkProgressBar.cpp.

References SignalSetPercentageVisible().

Referenced by QmitkProgressBar().

void QmitkProgressBar::SignalAddStepsToDo ( unsigned int  steps)
signal

Referenced by AddStepsToDo(), and QmitkProgressBar().

void QmitkProgressBar::SignalProgress ( unsigned int  steps)
signal

Referenced by Progress(), and QmitkProgressBar().

void QmitkProgressBar::SignalSetPercentageVisible ( bool  visible)
signal
void QmitkProgressBar::SlotAddStepsToDo ( unsigned int  steps)
protectedvirtualslot
void QmitkProgressBar::SlotProgress ( unsigned int  steps)
protectedvirtualslot
void QmitkProgressBar::SlotSetPercentageVisible ( bool  visible)
protectedvirtualslot

Definition at line 118 of file QmitkProgressBar.cpp.

Referenced by QmitkProgressBar().


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