Medical Imaging Interaction Toolkit
2024.12.00
Medical Imaging Interaction Toolkit
Home
Manual
API Reference
Groups
Namespace List
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
z
Variables
e
f
i
l
m
n
p
r
s
t
Typedefs
a
b
c
d
f
g
i
l
m
n
o
p
q
r
s
t
v
x
Enumerations
Enumerator
a
b
c
d
e
g
h
i
k
l
n
o
p
r
s
t
v
w
z
Class List
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerations
a
b
c
d
e
f
h
i
l
m
n
o
p
r
s
t
u
v
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Properties
c
m
o
r
s
t
Related Functions
File List
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
m
o
p
q
r
s
t
u
v
Functions
_
e
h
m
o
q
s
u
Variables
Typedefs
Enumerations
Enumerator
Macros
_
a
b
c
d
e
g
i
m
o
p
q
r
s
u
v
Examples
Download
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
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
21
//##Documentation
22
//## @brief Helper class to connect Qt-based navigators to instances of Stepper
23
//##
24
//## The constructor has to be provided with the navigation widget
25
//## that wants to use the Stepper. The navigation widget has to define the
26
//## slots \a Refetch() and \a SetStepper(mitk::Stepper *). \a SetStepper will be
27
//## called only once to pass the Stepper to the navigation widget. When the values of
28
//## the Stepper changes, \a Refetch() will be called. The navigation widget can then
29
//## ask the \a Stepper for its new values.
30
//## \warning The navigation widget has to be aware that it might have caused the changes
31
//## of the \a Stepper itself. So take care that no infinite recursion is created!
32
class
MITKQTWIDGETS_EXPORT
QmitkStepperAdapter
:
public
QObject
33
{
34
Q_OBJECT
35
36
public
:
37
38
QmitkStepperAdapter
(QObject* navigationWidget,
mitk::Stepper
* stepper);
39
~
QmitkStepperAdapter
()
override
;
40
41
void
SetStepper(
mitk::Stepper
* stepper);
42
43
signals:
44
45
void
Refetch();
46
void
SendStepper(
mitk::Stepper
*);
47
48
protected
:
49
50
mitk::Stepper::Pointer
m_Stepper
;
51
long
m_ObserverTag
;
52
53
};
54
55
#endif
MITKQTWIDGETS_EXPORT
#define MITKQTWIDGETS_EXPORT
Definition:
MitkQtWidgetsExports.h:15
QmitkStepperAdapter
Helper class to connect Qt-based navigators to instances of Stepper.
Definition:
QmitkStepperAdapter.h:32
QmitkStepperAdapter::m_Stepper
mitk::Stepper::Pointer m_Stepper
Definition:
QmitkStepperAdapter.h:50
itk::SmartPointer< Self >
mitk::Stepper
Helper class to step through a list.
Definition:
mitkStepper.h:47
MitkQtWidgetsExports.h
QmitkStepperAdapter::m_ObserverTag
long m_ObserverTag
Definition:
QmitkStepperAdapter.h:51
mitkStepper.h
src
MITK
Modules
QtWidgets
include
QmitkStepperAdapter.h
Generated on Tue Dec 10 2024 10:35:11 for Medical Imaging Interaction Toolkit by
1.8.17