Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
|
Helper class to connect Qt-based navigators to instances of Stepper. More...
#include <QmitkStepperAdapter.h>
Signals | |
void | Refetch () |
void | SendStepper (mitk::Stepper *) |
Public Member Functions | |
QmitkStepperAdapter (QObject *navigationWidget, mitk::Stepper *stepper) | |
~QmitkStepperAdapter () override | |
void | SetStepper (mitk::Stepper *stepper) |
Protected Attributes | |
mitk::Stepper::Pointer | m_Stepper |
long | m_ObserverTag |
Helper class to connect Qt-based navigators to instances of Stepper.
The constructor has to be provided with the navigation widget that wants to use the Stepper. The navigation widget has to define the slots Refetch() and SetStepper(mitk::Stepper *). SetStepper will be called only once to pass the Stepper to the navigation widget. When the values of the Stepper changes, Refetch() will be called. The navigation widget can then ask the Stepper for its new values.
Definition at line 32 of file QmitkStepperAdapter.h.
QmitkStepperAdapter::QmitkStepperAdapter | ( | QObject * | navigationWidget, |
mitk::Stepper * | stepper | ||
) |
|
override |
|
signal |
|
signal |
void QmitkStepperAdapter::SetStepper | ( | mitk::Stepper * | stepper | ) |
|
protected |
Definition at line 51 of file QmitkStepperAdapter.h.
|
protected |
Definition at line 50 of file QmitkStepperAdapter.h.