Slicer 5.9
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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
28
29#include "qSlicerPlotsModuleExport.h"
30
31class qSlicerPlotsModulePrivate;
32
33class Q_SLICER_QTMODULES_PLOTS_EXPORT qSlicerPlotsModule :
35{
36 Q_OBJECT
37 Q_PLUGIN_METADATA(IID "org.slicer.modules.loadable.qSlicerLoadableModule/1.0");
38 Q_INTERFACES(qSlicerLoadableModule);
39
40public:
41
43 explicit qSlicerPlotsModule(QObject *parent=nullptr);
45
47
48 QIcon icon()const override;
49 QString helpText()const override;
50 QString acknowledgementText()const override;
51 QStringList contributors()const override;
52
53 QStringList categories()const override;
54 QStringList dependencies()const override;
55
56 QStringList associatedNodeTypes()const override;
57
58protected:
59
61 void setup() override;
62
65
68
69protected:
70 QScopedPointer<qSlicerPlotsModulePrivate> d_ptr;
71
72private:
73 Q_DECLARE_PRIVATE(qSlicerPlotsModule);
74 Q_DISABLE_COPY(qSlicerPlotsModule);
75
76};
77
78#endif
qSlicerLoadableModule(QObject *parent=nullptr)
QStringList dependencies() const override
void setup() override
Initialize the module. Register the volumes reader/writer.
QIcon icon() const override
qSlicerPlotsModule(QObject *parent=nullptr)
qSlicerAbstractModuleRepresentation * createWidgetRepresentation() override
Create and return the widget representation associated to this module.
QStringList contributors() const override
Return the contributors of the module.
QScopedPointer< qSlicerPlotsModulePrivate > d_ptr
~qSlicerPlotsModule() override
QStringList categories() const override
QString helpText() const override
Return help/acknowledgement text.
qSlicerGetTitleMacro(tr("Plots"))
qSlicerLoadableModule Superclass
vtkMRMLAbstractLogic * createLogic() override
Create and return the logic associated to this module.
QString acknowledgementText() const override
QStringList associatedNodeTypes() const override
Return node types associated with this module (e.g., node types this module can edit)
Superclass for MRML logic classes.