Slicer 5.9
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
qSlicerSubjectHierarchyModule.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 __qSlicerSubjectHierarchyModule_h
24#define __qSlicerSubjectHierarchyModule_h
25
26// CTK includes
27#include "ctkVTKObject.h"
28
29// Slicer includes
31
32#include "qSlicerSubjectHierarchyModuleExport.h"
33
34class vtkObject;
35class qSlicerSubjectHierarchyModulePrivate;
36
37class Q_SLICER_QTMODULES_SUBJECTHIERARCHY_EXPORT qSlicerSubjectHierarchyModule :
39{
40 Q_OBJECT
41 Q_PLUGIN_METADATA(IID "org.slicer.modules.loadable.qSlicerLoadableModule/1.0");
42 Q_INTERFACES(qSlicerLoadableModule);
43 QVTK_OBJECT
44
45public:
47 explicit qSlicerSubjectHierarchyModule(QObject *parent=nullptr);
49
50 qSlicerGetTitleMacro(tr("Subject Hierarchy"));
51
53 QString helpText()const override;
54
56 QString acknowledgementText()const override;
57
59 QStringList contributors()const override;
60
62 QIcon icon()const override;
63
65 QStringList categories()const override;
66
68 bool isHidden()const override { return true; };
69
70protected:
72 void setup() override;
73
76
79
80protected slots:
84
85protected:
86 QScopedPointer<qSlicerSubjectHierarchyModulePrivate> d_ptr;
87
88private:
89 Q_DECLARE_PRIVATE(qSlicerSubjectHierarchyModule);
90 Q_DISABLE_COPY(qSlicerSubjectHierarchyModule);
91};
92
93#endif
qSlicerLoadableModule(QObject *parent=nullptr)
bool isHidden() const override
Make this module hidden.
qSlicerSubjectHierarchyModule(QObject *parent=nullptr)
QIcon icon() const override
Return a custom icon for the module.
QString acknowledgementText() const override
Return acknowledgments.
QScopedPointer< qSlicerSubjectHierarchyModulePrivate > d_ptr
QStringList contributors() const override
Return the authors of the module.
~qSlicerSubjectHierarchyModule() override
vtkMRMLAbstractLogic * createLogic() override
Create and return the logic associated to this module.
QString helpText() const override
Help to use the module.
qSlicerGetTitleMacro(tr("Subject Hierarchy"))
void setup() override
Initialize the module. Register the volumes reader/writer.
qSlicerAbstractModuleRepresentation * createWidgetRepresentation() override
Create and return the widget representation associated to this module.
QStringList categories() const override
Return the categories for the module.
Superclass for MRML logic classes.