Slicer 5.9
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Loading...
Searching...
No Matches
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 : public qSlicerLoadableModule
38{
39 Q_OBJECT
40 Q_PLUGIN_METADATA(IID "org.slicer.modules.loadable.qSlicerLoadableModule/1.0");
41 Q_INTERFACES(qSlicerLoadableModule);
42 QVTK_OBJECT
43
44public:
46 explicit qSlicerSubjectHierarchyModule(QObject* parent = nullptr);
48
49 qSlicerGetTitleMacro(tr("Subject Hierarchy"));
50
52 QString helpText() const override;
53
55 QString acknowledgementText() const override;
56
58 QStringList contributors() const override;
59
61 QIcon icon() const override;
62
64 QStringList categories() const override;
65
67 bool isHidden() const override { return true; };
68
69protected:
71 void setup() override;
72
75
78
79protected slots:
83
84protected:
85 QScopedPointer<qSlicerSubjectHierarchyModulePrivate> d_ptr;
86
87private:
88 Q_DECLARE_PRIVATE(qSlicerSubjectHierarchyModule);
89 Q_DISABLE_COPY(qSlicerSubjectHierarchyModule);
90};
91
92#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.