Slicer
4.11
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Libs
MRML
Widgets
qMRMLNodeAttributeTableWidget.h
Go to the documentation of this file.
1
/*==============================================================================
2
3
Program: 3D Slicer
4
5
Copyright (c) Kitware Inc.
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 Csaba Pinter, PerkLab, Queen's University
17
and was supported through the Applied Cancer Research Unit program of Cancer Care
18
Ontario with funds provided by the Ontario Ministry of Health and Long-Term Care
19
20
==============================================================================*/
21
22
#ifndef __qMRMLNodeAttributeTableWidget_h
23
#define __qMRMLNodeAttributeTableWidget_h
24
25
// Qt includes
26
#include <QWidget>
27
28
// MRMLWidgets includes
29
#include "qMRMLWidgetsExport.h"
30
31
// CTK includes
32
#include <ctkPimpl.h>
33
#include <ctkVTKObject.h>
34
35
class
vtkMRMLNode
;
36
class
qMRMLNodeAttributeTableWidgetPrivate;
37
class
qMRMLNodeAttributeTableView
;
38
39
class
QMRML_WIDGETS_EXPORT
qMRMLNodeAttributeTableWidget
:
public
QWidget
40
{
41
Q_OBJECT
42
QVTK_OBJECT
43
44
public
:
46
explicit
qMRMLNodeAttributeTableWidget
(QWidget* parent =
nullptr
);
47
~
qMRMLNodeAttributeTableWidget
()
override
;
48
50
qMRMLNodeAttributeTableView
* tableView();
51
53
vtkMRMLNode
* mrmlNode()
const
;
54
55
public
slots:
57
void
setMRMLNode(
vtkMRMLNode
* node);
58
60
void
updateWidgetFromMRML();
61
62
protected
:
63
void
showEvent(QShowEvent *)
override
;
64
65
QScopedPointer<qMRMLNodeAttributeTableWidgetPrivate>
d_ptr
;
66
67
private
:
68
Q_DECLARE_PRIVATE(
qMRMLNodeAttributeTableWidget
);
69
Q_DISABLE_COPY(
qMRMLNodeAttributeTableWidget
);
70
};
71
72
#endif
qMRMLNodeAttributeTableWidget::d_ptr
QScopedPointer< qMRMLNodeAttributeTableWidgetPrivate > d_ptr
Definition:
qMRMLNodeAttributeTableWidget.h:65
qMRMLNodeAttributeTableWidget
Definition:
qMRMLNodeAttributeTableWidget.h:39
vtkMRMLNode
Abstract Superclass for all specific types of MRML nodes.
Definition:
vtkMRMLNode.h:167
qMRMLNodeAttributeTableView
Definition:
qMRMLNodeAttributeTableView.h:40
Generated on Mon May 2 2022 16:14:13 for Slicer by
1.8.14