![]() |
Slicer 5.9
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
qMRMLTableWidget is the top-level table widget that can be packed in a layout. More...
#include <Libs/MRML/Widgets/qMRMLTableWidget.h>
Public Types | |
typedef qMRMLAbstractViewWidget | Superclass |
Superclass typedef. | |
![]() | |
typedef qMRMLWidget | Superclass |
Superclass typedef. | |
![]() | |
typedef QWidget | Superclass |
Public Slots | |
void | setMRMLAbstractViewNode (vtkMRMLAbstractViewNode *newTableViewNode) override |
void | setMRMLTableViewNode (vtkMRMLTableViewNode *newTableViewNode) |
Set the current viewNode to observe. | |
![]() | |
virtual void | pauseRender () |
virtual void | resumeRender () |
virtual void | setMRMLAbstractViewNode (vtkMRMLAbstractViewNode *newViewNode)=0 |
Set the current viewNode to observe. | |
virtual void | setRenderPaused (bool pause) |
![]() | |
virtual void | setMRMLScene (vtkMRMLScene *newScene) |
Set the MRML scene associated with the widget. | |
Public Member Functions | |
Q_INVOKABLE qMRMLViewControllerBar * | controllerWidget () const override |
Get slice controller. | |
Q_INVOKABLE vtkMRMLAbstractViewNode * | mrmlAbstractViewNode () const override |
Get the View node observed by view. | |
Q_INVOKABLE vtkMRMLTableViewNode * | mrmlTableViewNode () const |
Get the table node observed by view. | |
qMRMLTableWidget (QWidget *parent=nullptr) | |
Constructors. | |
Q_INVOKABLE qMRMLTableViewControllerWidget * | tableController () const |
Get table view controller widget. | |
Q_INVOKABLE qMRMLTableView * | tableView () const |
Q_INVOKABLE QWidget * | viewWidget () const override |
~qMRMLTableWidget () override | |
![]() | |
virtual Q_INVOKABLE vtkMRMLAbstractLogic * | logic () const |
qMRMLAbstractViewWidget (QWidget *parent=nullptr) | |
Constructors. | |
virtual Q_INVOKABLE void | setViewColor (const QColor &newViewColor) |
virtual Q_INVOKABLE void | setViewLabel (const QString &newViewLabel) |
virtual Q_INVOKABLE QColor | viewColor () const |
virtual Q_INVOKABLE QString | viewLabel () const |
~qMRMLAbstractViewWidget () override=default | |
![]() | |
Q_INVOKABLE vtkMRMLScene * | mrmlScene () const |
Return a pointer on the current MRML scene. | |
qMRMLWidget (QWidget *parent=nullptr, Qt::WindowFlags f=Qt::WindowFlags()) | |
~qMRMLWidget () override | |
Protected Attributes | |
QScopedPointer< qMRMLTableWidgetPrivate > | d_ptr |
![]() | |
QScopedPointer< qMRMLWidgetPrivate > | d_ptr |
Additional Inherited Members | |
![]() | |
QColor | viewColor |
QString | viewLabel |
![]() | |
void | mrmlSceneChanged (vtkMRMLScene *) |
![]() | |
static Q_INVOKABLE QPixmap | pixmapFromIcon (const QIcon &icon) |
static Q_INVOKABLE void | postInitializeApplication () |
Initialization that needs to be performed after application object is created. | |
static Q_INVOKABLE void | preInitializeApplication () |
qMRMLTableWidget is the top-level table widget that can be packed in a layout.
qMRMLTableWidget provides tabling capabilities with a display canvas for the table and a controller widget to control the content and properties of the table.
Definition at line 46 of file qMRMLTableWidget.h.
Superclass typedef.
Definition at line 51 of file qMRMLTableWidget.h.
|
explicit |
Constructors.
|
override |
|
overridevirtual |
Get slice controller.
Implements qMRMLAbstractViewWidget.
|
overridevirtual |
Get the View node observed by view.
Implements qMRMLAbstractViewWidget.
Q_INVOKABLE vtkMRMLTableViewNode * qMRMLTableWidget::mrmlTableViewNode | ( | ) | const |
Get the table node observed by view.
|
overrideslot |
|
slot |
Set the current viewNode to observe.
Q_INVOKABLE qMRMLTableViewControllerWidget * qMRMLTableWidget::tableController | ( | ) | const |
Get table view controller widget.
Q_INVOKABLE qMRMLTableView * qMRMLTableWidget::tableView | ( | ) | const |
Get a reference to the underlying Table View Be careful if you change the TableView, you might unsynchronize the view from the nodes/logics.
|
overridevirtual |
Get a reference to the underlying view widget. Be careful if you change the viewWidget, you might unsynchronize the view from the nodes/logics.
Implements qMRMLAbstractViewWidget.
|
protected |
Definition at line 77 of file qMRMLTableWidget.h.