Slicer
4.8
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Main Page
Modules
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
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
i
l
m
n
o
p
q
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 Functions
a
e
f
i
m
o
r
s
t
+
Namespaces
Namespace List
+
Namespace Members
+
All
a
c
e
f
g
i
j
k
l
m
n
r
s
t
w
+
Functions
a
c
e
f
g
r
t
w
Variables
+
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
z
+
Functions
a
c
e
i
l
n
p
q
r
s
t
u
v
z
Variables
+
Typedefs
a
d
g
i
l
m
p
q
r
s
t
v
Enumerations
Enumerator
+
Macros
b
c
d
e
f
g
h
i
m
n
o
p
s
t
u
v
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Modules
Loadable
SubjectHierarchy
Widgets
DesignerPlugins
qSlicerSubjectHierarchyModuleWidgetsPlugin.h
Go to the documentation of this file.
1
/*==============================================================================
2
3
Program: 3D Slicer
4
5
Copyright (c) Laboratory for Percutaneous Surgery (PerkLab)
6
Queen's University, Kingston, ON, Canada. All Rights Reserved.
7
8
See COPYRIGHT.txt
9
or http://www.slicer.org/copyright/copyright.txt for details.
10
11
Unless required by applicable law or agreed to in writing, software
12
distributed under the License is distributed on an "AS IS" BASIS,
13
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
See the License for the specific language governing permissions and
15
limitations under the License.
16
17
This file was originally developed by Csaba Pinter, PerkLab, Queen's University
18
and was supported through the Applied Cancer Research Unit program of Cancer Care
19
Ontario with funds provided by the Ontario Ministry of Health and Long-Term Care
20
21
==============================================================================*/
22
23
#ifndef __qSlicerSubjectHierarchyModuleWidgetsPlugin_h
24
#define __qSlicerSubjectHierarchyModuleWidgetsPlugin_h
25
26
#include "vtkSlicerConfigure.h"
// For Slicer_HAVE_QT5
27
28
// Qt includes
29
#ifdef Slicer_HAVE_QT5
30
#include <QtUiPlugin/QDesignerCustomWidgetCollectionInterface>
31
#else
32
#include <QDesignerCustomWidgetCollectionInterface>
33
#endif
34
35
// SubjectHierarchy includes
36
#include "
qMRMLSubjectHierarchyTreeViewPlugin.h
"
37
#include "
qMRMLSubjectHierarchyComboBoxPlugin.h
"
38
39
// \class Group the plugins in one library
40
class
Q_SLICER_MODULE_SUBJECTHIERARCHY_WIDGETS_PLUGINS_EXPORT
qSlicerSubjectHierarchyModuleWidgetsPlugin
41
:
public
QObject
42
,
public
QDesignerCustomWidgetCollectionInterface
43
{
44
Q_OBJECT
45
#ifdef Slicer_HAVE_QT5
46
Q_PLUGIN_METADATA(IID
"org.qt-project.Qt.QDesignerCustomWidgetCollectionInterface"
)
47
#endif
48
Q_INTERFACES(QDesignerCustomWidgetCollectionInterface);
49
50
public
:
51
QList<QDesignerCustomWidgetInterface*>
customWidgets
()
const
52
{
53
QList<QDesignerCustomWidgetInterface *>
plugins;
54
plugins <<
new
qMRMLSubjectHierarchyTreeViewPlugin
;
55
plugins <<
new
qMRMLSubjectHierarchyComboBoxPlugin
;
56
return
plugins;
57
}
58
};
59
60
#endif
qMRMLSubjectHierarchyComboBoxPlugin.h
qSlicerSubjectHierarchyModuleWidgetsPlugin
Definition:
qSlicerSubjectHierarchyModuleWidgetsPlugin.h:40
qMRMLSubjectHierarchyComboBoxPlugin
Definition:
qMRMLSubjectHierarchyComboBoxPlugin.h:28
qSlicerSubjectHierarchyModuleWidgetsPlugin::customWidgets
QList< QDesignerCustomWidgetInterface * > customWidgets() const
Definition:
qSlicerSubjectHierarchyModuleWidgetsPlugin.h:51
qMRMLSubjectHierarchyTreeViewPlugin.h
qMRMLSubjectHierarchyTreeViewPlugin
Definition:
qMRMLSubjectHierarchyTreeViewPlugin.h:28
QList
Definition:
qSlicerQListQVariantMapMetaType.h:8
Generated on Wed Dec 20 2017 04:49:09 for Slicer by
1.8.13