Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
QmitkStepperAdapter.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef QmitkStepperAdapter_h
14 #define QmitkStepperAdapter_h
15 
16 #include <MitkQtWidgetsExports.h>
17 #include <mitkStepper.h>
18 #include <QObject>
19 
20 
35 {
36  Q_OBJECT
37 
38 public:
39 
40  QmitkStepperAdapter(QObject* navigationWidget, mitk::Stepper* stepper);
42 
43  void SetStepper(mitk::Stepper* stepper);
44 
45 signals:
46 
47  void Refetch();
49 
50 protected:
51 
52  mitk::Stepper::Pointer m_Stepper;
54 
55 };
56 
57 #endif
#define MITKQTWIDGETS_EXPORT
Helper class to connect Qt-based navigators to instances of Stepper.
QmitkStepperAdapter(QObject *navigationWidget, mitk::Stepper *stepper)
mitk::Stepper::Pointer m_Stepper
void SetStepper(mitk::Stepper *stepper)
~QmitkStepperAdapter() override
void SendStepper(mitk::Stepper *)
Helper class to step through a list.
Definition: mitkStepper.h:48