Slicer  4.11
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
qMRMLPlotSeriesPropertiesWidget.h
Go to the documentation of this file.
1 /*==============================================================================
2 
3  Copyright (c) Kapteyn Astronomical Institute
4  University of Groningen, Groningen, Netherlands. All Rights Reserved.
5 
6  See COPYRIGHT.txt
7  or http://www.slicer.org/copyright/copyright.txt for details.
8 
9  Unless required by applicable law or agreed to in writing, software
10  distributed under the License is distributed on an "AS IS" BASIS,
11  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  See the License for the specific language governing permissions and
13  limitations under the License.
14 
15  This file was originally developed by Davide Punzo, Kapteyn Astronomical Institute,
16  and was supported through the European Research Council grant nr. 291531.
17 
18 ==============================================================================*/
19 
20 #ifndef __qMRMLPlotSeriesPropertiesWidget_h
21 #define __qMRMLPlotSeriesPropertiesWidget_h
22 
23 // Qt includes
24 #include <QWidget>
25 
26 // CTK includes
27 #include <ctkPimpl.h>
28 
29 // Plots Widgets includes
30 #include "qSlicerPlotsModuleWidgetsExport.h"
31 #include "ui_qMRMLPlotSeriesPropertiesWidget.h"
32 
33 class qMRMLPlotSeriesPropertiesWidgetPrivate;
34 class vtkMRMLNode;
36 
37 class vtkMRMLPlotViewLogic;
38 
39 class Q_SLICER_MODULE_PLOTS_WIDGETS_EXPORT qMRMLPlotSeriesPropertiesWidget : public qMRMLWidget
40 {
41  Q_OBJECT
42 public:
45 
47  explicit qMRMLPlotSeriesPropertiesWidget(QWidget* parent = nullptr);
49 
51  vtkMRMLPlotSeriesNode* mrmlPlotSeriesNode()const;
52 
53 public slots:
54 
56  void setMRMLPlotSeriesNode(vtkMRMLNode* node);
57 
59  void setMRMLPlotSeriesNode(vtkMRMLPlotSeriesNode* plotSeriesNode);
60 
61 protected:
62  QScopedPointer<qMRMLPlotSeriesPropertiesWidgetPrivate> d_ptr;
63 
64 private:
65  Q_DECLARE_PRIVATE(qMRMLPlotSeriesPropertiesWidget);
66  Q_DISABLE_COPY(qMRMLPlotSeriesPropertiesWidget);
67 };
68 
69 #endif
QScopedPointer< qMRMLPlotSeriesPropertiesWidgetPrivate > d_ptr
qMRMLWidget Superclass
Superclass typedef.
MRML node to represent a vtkPlot object.
Base class for any widget that requires a MRML Scene.
Definition: qMRMLWidget.h:35
Abstract Superclass for all specific types of MRML nodes.
Definition: vtkMRMLNode.h:167