Slicer
5.0
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
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
// Qt includes
27
#include <QtUiPlugin/QDesignerCustomWidgetCollectionInterface>
28
29
// SubjectHierarchy includes
30
#include "
qMRMLSubjectHierarchyTreeViewPlugin.h
"
31
#include "
qMRMLSubjectHierarchyComboBoxPlugin.h
"
32
33
// \class Group the plugins in one library
34
class
Q_SLICER_MODULE_SUBJECTHIERARCHY_WIDGETS_PLUGINS_EXPORT
qSlicerSubjectHierarchyModuleWidgetsPlugin
35
:
public
QObject
36
,
public
QDesignerCustomWidgetCollectionInterface
37
{
38
Q_OBJECT
39
Q_PLUGIN_METADATA(IID
"org.qt-project.Qt.QDesignerCustomWidgetCollectionInterface"
)
40
Q_INTERFACES(QDesignerCustomWidgetCollectionInterface);
41
42
public
:
43
QList<QDesignerCustomWidgetInterface*>
customWidgets
()
const override
44
{
45
QList<QDesignerCustomWidgetInterface *>
plugins;
46
plugins <<
new
qMRMLSubjectHierarchyTreeViewPlugin
;
47
plugins <<
new
qMRMLSubjectHierarchyComboBoxPlugin
;
48
return
plugins;
49
}
50
};
51
52
#endif
qMRMLSubjectHierarchyComboBoxPlugin.h
qSlicerSubjectHierarchyModuleWidgetsPlugin
Definition:
qSlicerSubjectHierarchyModuleWidgetsPlugin.h:34
qMRMLSubjectHierarchyComboBoxPlugin
Definition:
qMRMLSubjectHierarchyComboBoxPlugin.h:28
qMRMLSubjectHierarchyTreeViewPlugin.h
qSlicerSubjectHierarchyModuleWidgetsPlugin::customWidgets
QList< QDesignerCustomWidgetInterface * > customWidgets() const override
Definition:
qSlicerSubjectHierarchyModuleWidgetsPlugin.h:43
qMRMLSubjectHierarchyTreeViewPlugin
Definition:
qMRMLSubjectHierarchyTreeViewPlugin.h:28
QList
Definition:
qSlicerQListQVariantMapMetaType.h:8
Generated on Fri Jul 8 2022 05:39:17 for Slicer by
1.8.14