Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
Helper class to connect Qt-based navigators to instances of Stepper. More...
#include <QmitkStepperAdapter.h>
Classes | |
class | ItkEventListener |
Signals | |
void | signal_dummy () |
void | Refetch () |
void | SendStepper (mitk::Stepper *) |
Public Member Functions | |
QmitkStepperAdapter (QObject *navigator, mitk::Stepper *stepper, const char *name) | |
virtual | ~QmitkStepperAdapter () |
void | SetStepper (mitk::Stepper *stepper) |
Protected Attributes | |
mitk::Stepper::Pointer | m_Stepper |
long | m_ObserverTag |
ItkEventListener::Pointer | m_ItkEventListener |
Helper class to connect Qt-based navigators to instances of Stepper.
The constructor has to be provided with the Navigator that wants to use the Stepper. The Navigator has to define the slots Refetch() and SetStepper(mitk::Stepper *). SetStepper will be called only once to pass the Stepper to the Navigator. When the values of the Stepper changes, Refetch() will be called. The Navigator can than ask the Stepper for its new values.
Definition at line 38 of file QmitkStepperAdapter.h.
QmitkStepperAdapter::QmitkStepperAdapter | ( | QObject * | navigator, |
mitk::Stepper * | stepper, | ||
const char * | name | ||
) |
Definition at line 19 of file QmitkStepperAdapter.cpp.
References m_ItkEventListener, m_ObserverTag, m_Stepper, Refetch(), SendStepper(), and SetStepper().
|
virtual |
Definition at line 32 of file QmitkStepperAdapter.cpp.
References m_ItkEventListener, m_ObserverTag, and m_Stepper.
|
signal |
Referenced by QmitkStepperAdapter().
|
signal |
Referenced by QmitkStepperAdapter().
|
inline |
Definition at line 45 of file QmitkStepperAdapter.h.
Referenced by QmitkStepperAdapter().
|
signal |
|
protected |
Definition at line 75 of file QmitkStepperAdapter.h.
Referenced by QmitkStepperAdapter(), and ~QmitkStepperAdapter().
|
protected |
Definition at line 72 of file QmitkStepperAdapter.h.
Referenced by QmitkStepperAdapter(), and ~QmitkStepperAdapter().
|
protected |
Definition at line 71 of file QmitkStepperAdapter.h.
Referenced by QmitkStepperAdapter(), and ~QmitkStepperAdapter().