Slicer  4.8
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
qMRMLPlotViewInformationWidget.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 __qMRMLPlotViewInformationWidget_h
21 #define __qMRMLPlotViewInformationWidget_h
22 
23 // Qt includes
24 #include <QWidget>
25 
26 // CTK includes
27 #include <ctkPimpl.h>
28 
29 // qMRMLWidget includes
30 #include "qMRMLWidget.h"
31 
32 #include "qMRMLWidgetsExport.h"
33 
34 class qMRMLPlotViewInformationWidgetPrivate;
35 class vtkMRMLNode;
37 
38 class vtkMRMLPlotViewLogic;
39 
40 class QMRML_WIDGETS_EXPORT qMRMLPlotViewInformationWidget : public qMRMLWidget
41 {
42  Q_OBJECT
43 public:
46 
48  explicit qMRMLPlotViewInformationWidget(QWidget* parent = 0);
50 
52  vtkMRMLPlotViewNode* mrmlPlotViewNode()const;
53 
54 public slots:
55 
57  void setMRMLPlotViewNode(vtkMRMLNode* newNode);
58 
60  void setMRMLPlotViewNode(vtkMRMLPlotViewNode* newPlotViewNode);
61 
63  void setViewGroup(int viewGroup);
64 
65 protected:
66  QScopedPointer<qMRMLPlotViewInformationWidgetPrivate> d_ptr;
67 
68 private:
69  Q_DECLARE_PRIVATE(qMRMLPlotViewInformationWidget);
70  Q_DISABLE_COPY(qMRMLPlotViewInformationWidget);
71 };
72 
73 #endif
MRML node to represent Plot view parameters.
QScopedPointer< qMRMLPlotViewInformationWidgetPrivate > d_ptr
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:135
qMRMLWidget Superclass
Superclass typedef.