Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
QT-Toolkit/GUI dependent class that provides the QT's ProgressBar. More...
#include <QmitkProgressBar.h>
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) |
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.
QmitkProgressBar::QmitkProgressBar | ( | QWidget * | parent = nullptr , |
const char * | name = nullptr |
||
) |
Constructor; holds param instance internally and connects this to the mitkProgressBar.
Definition at line 63 of file QmitkProgressBar.cpp.
References mitk::ProgressBar::GetInstance(), mitk::ProgressBar::RegisterImplementationInstance(), SetPercentageVisible(), SignalAddStepsToDo(), SignalProgress(), SignalSetPercentageVisible(), SlotAddStepsToDo(), SlotProgress(), and SlotSetPercentageVisible().
|
virtual |
Destructor.
Definition at line 78 of file QmitkProgressBar.cpp.
References mitk::ProgressBar::GetInstance(), and mitk::ProgressBar::UnregisterImplementationInstance().
|
overridevirtual |
Adds steps to totalSteps.
Documentation
Implements mitk::ProgressBarImplementation.
Definition at line 48 of file QmitkProgressBar.cpp.
References SignalAddStepsToDo().
|
overridevirtual |
Sets the current amount of progress to current progress + steps.
Implements mitk::ProgressBarImplementation.
Definition at line 58 of file QmitkProgressBar.cpp.
References SignalProgress().
|
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().
|
signal |
Referenced by AddStepsToDo(), and QmitkProgressBar().
|
signal |
Referenced by Progress(), and QmitkProgressBar().
|
signal |
Referenced by QmitkProgressBar(), and SetPercentageVisible().
|
protectedvirtualslot |
Definition at line 102 of file QmitkProgressBar.cpp.
References mitk::RenderingManager::ExecutePendingRequests(), and mitk::RenderingManager::GetInstance().
Referenced by QmitkProgressBar().
|
protectedvirtualslot |
Definition at line 83 of file QmitkProgressBar.cpp.
References mitk::RenderingManager::ExecutePendingRequests(), and mitk::RenderingManager::GetInstance().
Referenced by QmitkProgressBar().
|
protectedvirtualslot |
Definition at line 118 of file QmitkProgressBar.cpp.
Referenced by QmitkProgressBar().