Slicer  5.3
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
qSlicerPlotsModule.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 __qSlicerPlotsModule_h
24 #define __qSlicerPlotsModule_h
25 
26 // Slicer includes
27 #include "qSlicerLoadableModule.h"
28 
29 #include "qSlicerPlotsModuleExport.h"
30 
31 class qSlicerPlotsModulePrivate;
32 
34 class Q_SLICER_QTMODULES_PLOTS_EXPORT qSlicerPlotsModule :
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 qSlicerPlotsModule(QObject *parent=nullptr);
45  ~qSlicerPlotsModule() override;
46 
47  qSlicerGetTitleMacro(QTMODULE_TITLE);
48 
49  QIcon icon()const override;
50  QString helpText()const override;
51  QString acknowledgementText()const override;
52  QStringList contributors()const override;
53 
54  QStringList categories()const override;
55  QStringList dependencies()const override;
56 
57  QStringList associatedNodeTypes()const override;
58 
59 protected:
60 
62  void setup() override;
63 
66 
69 
70 protected:
71  QScopedPointer<qSlicerPlotsModulePrivate> d_ptr;
72 
73 private:
74  Q_DECLARE_PRIVATE(qSlicerPlotsModule);
75  Q_DISABLE_COPY(qSlicerPlotsModule);
76 
77 };
78 
79 #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.
qSlicerLoadableModule Superclass
#define qSlicerGetTitleMacro(_TITLE)
QString acknowledgementText() const override
virtual vtkMRMLAbstractLogic * createLogic()=0
void setup() override
All initialization code should be done in the setup.
virtual QStringList associatedNodeTypes() const
Return node types associated with this module (e.g., node types this module can edit) ...
virtual QStringList dependencies() const
QString helpText() const override
Return help/acknowledgement text.
virtual QStringList categories() const
QScopedPointer< qSlicerPlotsModulePrivate > d_ptr