Slicer  5.3
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
qSlicerTerminologiesModule.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 __qSlicerTerminologiesModule_h
24 #define __qSlicerTerminologiesModule_h
25 
26 // Slicer includes
27 #include "qSlicerLoadableModule.h"
28 
29 #include "qSlicerTerminologiesModuleExport.h"
30 
31 class qSlicerTerminologiesModulePrivate;
32 
34 class Q_SLICER_QTMODULES_TERMINOLOGIES_EXPORT qSlicerTerminologiesModule :
36 {
37  Q_OBJECT
38  Q_PLUGIN_METADATA(IID "org.slicer.modules.loadable.qSlicerLoadableModule/1.0");
39  Q_INTERFACES(qSlicerLoadableModule);
40 
41 public:
42 
44  explicit qSlicerTerminologiesModule(QObject *parent=nullptr);
45  ~qSlicerTerminologiesModule() override;
46 
47  qSlicerGetTitleMacro(QTMODULE_TITLE);
48 
50  QString helpText()const override;
51 
53  QString acknowledgementText()const override;
54 
56  QStringList contributors()const override;
57 
59  QStringList categories()const override;
60 
62  QStringList dependencies()const override;
63 
64 protected:
65 
67  void setup() override;
68 
71 
74 
75 protected:
76  QScopedPointer<qSlicerTerminologiesModulePrivate> d_ptr;
77 
78 private:
79  Q_DECLARE_PRIVATE(qSlicerTerminologiesModule);
80  Q_DISABLE_COPY(qSlicerTerminologiesModule);
81 };
82 
83 #endif
virtual QStringList contributors() const
Return the contributors of the module.
Superclass for MRML logic classes.
virtual qSlicerAbstractModuleRepresentation * createWidgetRepresentation()=0
Create and return a widget representation for the module.
#define qSlicerGetTitleMacro(_TITLE)
QScopedPointer< qSlicerTerminologiesModulePrivate > d_ptr
QString acknowledgementText() const override
virtual vtkMRMLAbstractLogic * createLogic()=0
void setup() override
All initialization code should be done in the setup.
virtual QStringList dependencies() const
QString helpText() const override
Return help/acknowledgement text.
virtual QStringList categories() const