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
qSlicerPlotsModuleWidget.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 qSlicerPlotsModuleWidget_h
24#define qSlicerPlotsModuleWidget_h
25
26// Slicer includes
28
29// Transforms includes
30#include "qSlicerPlotsModuleExport.h"
31
32class vtkMatrix4x4;
33class vtkMRMLNode;
34class qSlicerPlotsModuleWidgetPrivate;
35
36class Q_SLICER_QTMODULES_PLOTS_EXPORT qSlicerPlotsModuleWidget :
38{
39 Q_OBJECT
40
41public:
42
44 qSlicerPlotsModuleWidget(QWidget *parent=nullptr);
46
47 bool setEditedNode(vtkMRMLNode* node, QString role = QString(), QString context = QString()) override;
48
49public slots:
52
53protected:
54
55 void setup() override;
56
57protected slots:
58
59 void onMRMLPlotChartNodeModified(vtkObject* caller);
65
66protected:
69 //int coordinateReference()const;
70
71protected:
72 QScopedPointer<qSlicerPlotsModuleWidgetPrivate> d_ptr;
73
74private:
75 Q_DECLARE_PRIVATE(qSlicerPlotsModuleWidget);
76 Q_DISABLE_COPY(qSlicerPlotsModuleWidget);
77};
78
79#endif
qSlicerAbstractModuleWidget(QWidget *parent=nullptr)
qSlicerPlotsModuleWidget(QWidget *parent=nullptr)
bool setEditedNode(vtkMRMLNode *node, QString role=QString(), QString context=QString()) override
Node editing.
void setCurrentPlotNode(vtkMRMLNode *)
Select the specified node as the current node in the user interface.
qSlicerAbstractModuleWidget Superclass
QScopedPointer< qSlicerPlotsModuleWidgetPrivate > d_ptr
Convenient method to return the coordinate system currently selected.
void onMRMLPlotChartNodeModified(vtkObject *caller)
void onSeriesNodeAddedByUser(vtkMRMLNode *)
void setup() override
void onNodeSelected(vtkMRMLNode *node)
~qSlicerPlotsModuleWidget() override
Abstract Superclass for all specific types of MRML nodes.