Medical Imaging Interaction Toolkit
2024.12.99-d991a09f
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
x
Functions
_
e
h
m
o
q
s
u
Variables
Typedefs
Enumerations
Enumerator
Macros
_
a
b
c
d
e
f
g
i
m
o
p
q
r
s
u
v
x
Examples
Download
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
QmitkLineEditLevelWindowWidget.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 QmitkLineEditLevelWindowWidget_h
14
#define QmitkLineEditLevelWindowWidget_h
15
16
#include <
MitkQtWidgetsExports.h
>
17
18
// mitk core
19
#include <
mitkLevelWindowManager.h
>
20
21
// qt
22
#include <QWidget>
23
24
class
QmitkLevelWindowWidgetContextMenu
;
25
class
QLineEdit;
26
33
class
MITKQTWIDGETS_EXPORT
QmitkLineEditLevelWindowWidget
:
public
QWidget
34
{
35
Q_OBJECT
36
37
public
:
39
QmitkLineEditLevelWindowWidget
(QWidget *parent =
nullptr
, Qt::WindowFlags f = {});
40
42
~
QmitkLineEditLevelWindowWidget
()
override
;
43
45
QLineEdit *
m_LevelInput
;
46
48
QLineEdit *
m_WindowInput
;
49
54
mitk::LevelWindow
m_LevelWindow
;
55
57
mitk::LevelWindowManager::Pointer
m_Manager
;
58
60
void
SetLevelWindowManager(
mitk::LevelWindowManager
*levelWindowManager);
61
63
void
SetDataStorage(
mitk::DataStorage
*ds);
64
66
mitk::LevelWindowManager
*GetManager();
67
68
private
:
70
void
contextMenuEvent(QContextMenuEvent *)
override
;
71
73
void
OnPropertyModified(
const
itk::EventObject &e);
74
75
public
Q_SLOTS:
76
80
void
SetLevelValue();
84
void
SetWindowValue();
85
86
protected
:
87
unsigned
long
m_ObserverTag
;
88
bool
m_IsObserverTagSet
;
89
90
QmitkLevelWindowWidgetContextMenu
*
m_Contextmenu
;
91
};
92
93
#endif
QmitkLineEditLevelWindowWidget::m_LevelInput
QLineEdit * m_LevelInput
inputfield for level value
Definition:
QmitkLineEditLevelWindowWidget.h:45
MITKQTWIDGETS_EXPORT
#define MITKQTWIDGETS_EXPORT
Definition:
MitkQtWidgetsExports.h:15
QmitkLineEditLevelWindowWidget
Provides a widget with two lineedit fields, one to change the window value of the current image and o...
Definition:
QmitkLineEditLevelWindowWidget.h:33
itk::SmartPointer< Self >
QmitkLineEditLevelWindowWidget::m_LevelWindow
mitk::LevelWindow m_LevelWindow
Definition:
QmitkLineEditLevelWindowWidget.h:54
mitk::LevelWindowManager
Provides access to the LevelWindowProperty object and LevelWindow of the "current" image.
Definition:
mitkLevelWindowManager.h:51
mitk::LevelWindow
The LevelWindow class Class to store level/window values.
Definition:
mitkLevelWindow.h:45
QmitkLevelWindowWidgetContextMenu
Provides a contextmenu for Level/Window functionality.
Definition:
QmitkLevelWindowWidgetContextMenu.h:30
QmitkLineEditLevelWindowWidget::m_ObserverTag
unsigned long m_ObserverTag
Definition:
QmitkLineEditLevelWindowWidget.h:87
QmitkLineEditLevelWindowWidget::m_WindowInput
QLineEdit * m_WindowInput
inputfield for window value
Definition:
QmitkLineEditLevelWindowWidget.h:48
MitkQtWidgetsExports.h
mitk::DataStorage
Data management class that handles 'was created by' relations.
Definition:
mitkDataStorage.h:43
QmitkLineEditLevelWindowWidget::m_Manager
mitk::LevelWindowManager::Pointer m_Manager
manager who is responsible to collect and deliver changes on Level/Window
Definition:
QmitkLineEditLevelWindowWidget.h:57
QmitkLineEditLevelWindowWidget::m_IsObserverTagSet
bool m_IsObserverTagSet
Definition:
QmitkLineEditLevelWindowWidget.h:88
mitkLevelWindowManager.h
QmitkLineEditLevelWindowWidget::m_Contextmenu
QmitkLevelWindowWidgetContextMenu * m_Contextmenu
Definition:
QmitkLineEditLevelWindowWidget.h:90
src
MITK
Modules
QtWidgets
include
QmitkLineEditLevelWindowWidget.h
Generated on Sat Mar 22 2025 02:15:06 for Medical Imaging Interaction Toolkit by
1.8.17