Slicer  4.8
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
qSlicerTablesModule.h
Go to the documentation of this file.
1 /*==============================================================================
2 
3  Program: 3D Slicer
4 
5  Portions (c) Copyright 2015 Brigham and Women's Hospital (BWH) All Rights Reserved.
6 
7  See COPYRIGHT.txt
8  or http://www.slicer.org/copyright/copyright.txt for details.
9 
10  Unless required by applicable law or agreed to in writing, software
11  distributed under the License is distributed on an "AS IS" BASIS,
12  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  See the License for the specific language governing permissions and
14  limitations under the License.
15 
16  This file was originally developed by Andras Lasso (PerkLab, Queen's
17  University) and Kevin Wang (Princess Margaret Hospital, Toronto) and was
18  supported through OCAIRO and the Applied Cancer Research Unit program of
19  Cancer Care Ontario.
20 
21 ==============================================================================*/
22 
23 #ifndef __qSlicerTablesModule_h
24 #define __qSlicerTablesModule_h
25 
26 // SlicerQt includes
27 #include "qSlicerLoadableModule.h"
28 
29 #include "qSlicerTablesModuleExport.h"
30 
31 class qSlicerTablesModulePrivate;
32 
34 class Q_SLICER_QTMODULES_TABLES_EXPORT qSlicerTablesModule :
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 qSlicerTablesModule(QObject *parent=0);
47  virtual ~qSlicerTablesModule();
48 
49  qSlicerGetTitleMacro(QTMODULE_TITLE);
50 
51  virtual QIcon icon()const;
52  virtual QString helpText()const;
53  virtual QString acknowledgementText()const;
54  virtual QStringList contributors()const;
55 
56  virtual QStringList categories()const;
57  virtual QStringList dependencies()const;
58 
59  virtual QStringList associatedNodeTypes()const;
60 
61 protected:
62 
64  virtual void setup();
65 
68 
71 
72 protected:
73  QScopedPointer<qSlicerTablesModulePrivate> d_ptr;
74 
75 private:
76  Q_DECLARE_PRIVATE(qSlicerTablesModule);
77  Q_DISABLE_COPY(qSlicerTablesModule);
78 
79 };
80 
81 #endif
virtual QStringList contributors() const
Return the contributors of the module.
Superclass for MRML logic classes.
virtual QIcon icon() const
virtual qSlicerAbstractModuleRepresentation * createWidgetRepresentation()=0
Create and return a widget representation for the module.
QScopedPointer< qSlicerTablesModulePrivate > d_ptr
#define qSlicerGetTitleMacro(_TITLE)
virtual void setup()
All initialization code should be done in the setup.
virtual vtkMRMLAbstractLogic * createLogic()=0
virtual QString helpText() const
Return help/acknowledgement text.
virtual QStringList associatedNodeTypes() const
Return node types associated with this module (e.g., node types this module can edit) ...
virtual QString acknowledgementText() const
virtual QStringList dependencies() const
virtual QStringList categories() const
qSlicerLoadableModule Superclass