Slicer
5.9
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Toggle main menu visibility
Main Page
Related Pages
Classes
Class Index
Class List
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
l
m
n
o
p
r
s
t
v
w
Enumerations
a
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
Enumerator
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
Related Symbols
a
e
f
i
m
o
p
r
s
w
Namespaces
Namespace List
Namespace Members
All
_
a
c
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
v
Functions
Variables
a
c
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
v
Files
File List
File Members
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Functions
a
c
e
i
l
n
p
q
r
s
t
v
Variables
Typedefs
a
d
g
i
l
m
n
p
q
r
s
t
v
Enumerations
Enumerator
Macros
b
c
d
e
f
g
i
m
o
p
s
t
u
v
w
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
Modules
Loadable
Colors
Widgets
qSlicerTerminologyEditorButton.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: 3D Slicer
4
5
Copyright (c) Seattle Children's Hospital d/b/a Seattle Children's Research Institute.
6
7
See COPYRIGHT.txt
8
or http://www.slicer.org/copyright/copyright.txt for details.
9
10
Unless required by applicable law or agreed to in writing, software
11
distributed under the License is distributed on an "AS IS" BASIS,
12
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
See the License for the specific language governing permissions and
14
limitations under the License.
15
16
This file was originally developed by Csaba Pinter, EBATINCA, S.L.
17
and was funded by by Murat Maga (Seattle Children's Research Institute).
18
19
=========================================================================*/
20
21
#ifndef __qSlicerTerminologyEditorButton_h
22
#define __qSlicerTerminologyEditorButton_h
23
24
// Qt includes
25
#include <QPushButton>
26
27
// Colors includes
28
#include "qSlicerColorsModuleWidgetsExport.h"
29
30
#include "
qSlicerTerminologyEditorWidget.h
"
31
32
// Terminologies includes
33
#include "
qSlicerTerminologyNavigatorWidget.h
"
34
#include "
vtkSlicerTerminologyEntry.h
"
35
36
class
qSlicerTerminologyEditorButtonPrivate;
37
39
class
Q_SLICER_MODULE_COLORS_WIDGETS_EXPORT
qSlicerTerminologyEditorButton
:
public
QPushButton
40
{
41
Q_OBJECT
42
43
public
:
44
explicit
qSlicerTerminologyEditorButton
(QWidget* parent=
nullptr
);
45
~qSlicerTerminologyEditorButton
()
override
;
46
47
#ifndef __VTK_WRAP__
49
void
terminologyInfo
(
qSlicerTerminologyNavigatorWidget::TerminologyInfoBundle
&
terminologyInfo
);
50
#endif
51
52
public
slots:
53
54
#ifndef __VTK_WRAP__
56
void
setTerminologyInfo
(
qSlicerTerminologyNavigatorWidget::TerminologyInfoBundle
&
terminologyInfo
);
57
#endif
58
60
void
changeTerminology
();
61
62
signals:
63
void
terminologyChanged
();
64
void
canceled
();
65
67
void
userSetCustomNameOrColor
();
68
69
protected
slots:
70
void
onToggled
(
bool
toggled=
true
);
71
72
protected
:
73
void
paintEvent
(QPaintEvent* event)
override
;
74
75
QScopedPointer<qSlicerTerminologyEditorButtonPrivate>
d_ptr
;
76
private :
77
Q_DECLARE_PRIVATE(
qSlicerTerminologyEditorButton
);
78
Q_DISABLE_COPY(
qSlicerTerminologyEditorButton
);
79
};
39
class
Q_SLICER_MODULE_COLORS_WIDGETS_EXPORT
qSlicerTerminologyEditorButton
:
public
QPushButton {
…
};
80
81
#endif
qSlicerTerminologyEditorButton::changeTerminology
void changeTerminology()
Opens a terminology dialog to select a new terminology.
qSlicerTerminologyEditorButton::setTerminologyInfo
void setTerminologyInfo(qSlicerTerminologyNavigatorWidget::TerminologyInfoBundle &terminologyInfo)
Set terminology and other metadata (name, color, auto-generated flags)
qSlicerTerminologyEditorButton::d_ptr
QScopedPointer< qSlicerTerminologyEditorButtonPrivate > d_ptr
Definition
qSlicerTerminologyEditorButton.h:75
qSlicerTerminologyEditorButton::terminologyInfo
void terminologyInfo(qSlicerTerminologyNavigatorWidget::TerminologyInfoBundle &terminologyInfo)
Get selected terminology and other metadata (name, color, auto-generated flags) into given info bundl...
qSlicerTerminologyEditorButton::canceled
void canceled()
qSlicerTerminologyEditorButton::~qSlicerTerminologyEditorButton
~qSlicerTerminologyEditorButton() override
qSlicerTerminologyEditorButton::onToggled
void onToggled(bool toggled=true)
qSlicerTerminologyEditorButton::terminologyChanged
void terminologyChanged()
qSlicerTerminologyEditorButton::qSlicerTerminologyEditorButton
qSlicerTerminologyEditorButton(QWidget *parent=nullptr)
qSlicerTerminologyEditorButton::userSetCustomNameOrColor
void userSetCustomNameOrColor()
Emitted when the user selects a custom name or color.
qSlicerTerminologyEditorButton::paintEvent
void paintEvent(QPaintEvent *event) override
qSlicerTerminologyNavigatorWidget::TerminologyInfoBundle
Definition
qSlicerTerminologyNavigatorWidget.h:77
qSlicerTerminologyEditorWidget.h
qSlicerTerminologyNavigatorWidget.h
vtkSlicerTerminologyEntry.h
Generated on Sun Mar 16 2025 03:15:11 for Slicer by
1.13.0