Slicer  4.8
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 // SlicerQt 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 #ifdef Slicer_HAVE_QT5
39  Q_PLUGIN_METADATA(IID "org.slicer.modules.loadable.qSlicerLoadableModule/1.0");
40 #endif
41  Q_INTERFACES(qSlicerLoadableModule);
42 
43 public:
44 
46  explicit qSlicerTerminologiesModule(QObject *parent=0);
47  virtual ~qSlicerTerminologiesModule();
48 
49  qSlicerGetTitleMacro(QTMODULE_TITLE);
50 
52  virtual QString helpText()const;
53 
55  virtual QString acknowledgementText()const;
56 
58  virtual QStringList contributors()const;
59 
61  virtual QStringList categories()const;
62 
64  virtual QStringList dependencies()const;
65 
66 protected:
67 
69  virtual void setup();
70 
73 
76 
77 protected:
78  QScopedPointer<qSlicerTerminologiesModulePrivate> d_ptr;
79 
80 private:
81  Q_DECLARE_PRIVATE(qSlicerTerminologiesModule);
82  Q_DISABLE_COPY(qSlicerTerminologiesModule);
83 };
84 
85 #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)
virtual void setup()
All initialization code should be done in the setup.
QScopedPointer< qSlicerTerminologiesModulePrivate > d_ptr
virtual vtkMRMLAbstractLogic * createLogic()=0
virtual QString helpText() const
Return help/acknowledgement text.
virtual QString acknowledgementText() const
virtual QStringList dependencies() const
virtual QStringList categories() const