Slicer  4.10
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 // SlicerQt 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 #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 qSlicerPlotsModule(QObject *parent=0);
47  virtual ~qSlicerPlotsModule();
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<qSlicerPlotsModulePrivate> d_ptr;
74 
75 private:
76  Q_DECLARE_PRIVATE(qSlicerPlotsModule);
77  Q_DISABLE_COPY(qSlicerPlotsModule);
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.
qSlicerLoadableModule Superclass
#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
QScopedPointer< qSlicerPlotsModulePrivate > d_ptr