Slicer 5.9
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Loading...
Searching...
No Matches
qSlicerTablesModuleWidget.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 qSlicerTablesModuleWidget_h
24#define qSlicerTablesModuleWidget_h
25
26// Slicer includes
28
29// Transforms includes
30#include "qSlicerTablesModuleExport.h"
31
32class vtkMatrix4x4;
33class vtkMRMLNode;
34class qSlicerTablesModuleWidgetPrivate;
35
36class Q_SLICER_QTMODULES_TABLES_EXPORT qSlicerTablesModuleWidget : public qSlicerAbstractModuleWidget
37{
38 Q_OBJECT
39
40public:
42 qSlicerTablesModuleWidget(QWidget* parent = nullptr);
44
45 bool setEditedNode(vtkMRMLNode* node, QString role = QString(), QString context = QString()) override;
46
47public slots:
50
51protected:
52 void setup() override;
53
54protected slots:
55
56 void onMRMLTableNodeModified(vtkObject* caller);
59
60protected:
63 // int coordinateReference() const;
64
65protected:
66 QScopedPointer<qSlicerTablesModuleWidgetPrivate> d_ptr;
67
68private:
69 Q_DECLARE_PRIVATE(qSlicerTablesModuleWidget);
70 Q_DISABLE_COPY(qSlicerTablesModuleWidget);
71};
72
73#endif
qSlicerAbstractModuleWidget(QWidget *parent=nullptr)
QScopedPointer< qSlicerTablesModuleWidgetPrivate > d_ptr
Convenient method to return the coordinate system currently selected.
bool setEditedNode(vtkMRMLNode *node, QString role=QString(), QString context=QString()) override
Node editing.
void setCurrentTableNode(vtkMRMLNode *)
Select the specified node as the current node in the user interface.
qSlicerTablesModuleWidget(QWidget *parent=nullptr)
void onNodeSelected(vtkMRMLNode *node)
qSlicerAbstractModuleWidget Superclass
void onMRMLTableNodeModified(vtkObject *caller)
~qSlicerTablesModuleWidget() override
Abstract Superclass for all specific types of MRML nodes.