Slicer  5.1
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
List of all members | Public Types | Public Slots | Public Member Functions | Protected Attributes
qMRMLTableWidget Class Reference

qMRMLTableWidget is the toplevel table widget that can be packed in a layout. More...

#include <Libs/MRML/Widgets/qMRMLTableWidget.h>

Inheritance diagram for qMRMLTableWidget:
Inheritance graph
[legend]
Collaboration diagram for qMRMLTableWidget:
Collaboration graph
[legend]

Public Types

typedef qMRMLWidget Superclass
 Superclass typedef. More...
 
- Public Types inherited from qMRMLWidget
typedef QWidget Superclass
 

Public Slots

void setMRMLTableViewNode (vtkMRMLTableViewNode *newTableViewNode)
 Set the current viewNode to observe. More...
 
- Public Slots inherited from qMRMLWidget
virtual void setMRMLScene (vtkMRMLScene *newScene)
 Set the MRML scene associated with the widget. More...
 

Public Member Functions

vtkMRMLTableViewNodemrmlTableViewNode () const
 Get the tabl node observed by view. More...
 
 qMRMLTableWidget (QWidget *parent=nullptr)
 Constructors. More...
 
void setViewLabel (const QString &newTableViewLabel)
 
Q_INVOKABLE qMRMLTableViewControllerWidgettableController () const
 Get table view controller widget. More...
 
Q_INVOKABLE qMRMLTableViewtableView () const
 
QString viewLabel () const
 
 ~qMRMLTableWidget () override
 
- Public Member Functions inherited from qMRMLWidget
Q_INVOKABLE vtkMRMLScenemrmlScene () const
 Return a pointer on the current MRML scene. More...
 
 qMRMLWidget (QWidget *parent=nullptr, Qt::WindowFlags f=Qt::WindowFlags())
 
 ~qMRMLWidget () override
 

Protected Attributes

QScopedPointer< qMRMLTableWidgetPrivate > d_ptr
 
- Protected Attributes inherited from qMRMLWidget
QScopedPointer< qMRMLWidgetPrivate > d_ptr
 

Additional Inherited Members

- Signals inherited from qMRMLWidget
void mrmlSceneChanged (vtkMRMLScene *)
 
- Static Public Member Functions inherited from qMRMLWidget
static Q_INVOKABLE QPixmap pixmapFromIcon (const QIcon &icon)
 
static Q_INVOKABLE void postInitializeApplication ()
 Initialization that needs to be performed after application object is created. More...
 
static Q_INVOKABLE void preInitializeApplication ()
 

Detailed Description

qMRMLTableWidget is the toplevel 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.

Member Typedef Documentation

◆ Superclass

Superclass typedef.

Definition at line 51 of file qMRMLTableWidget.h.

Constructor & Destructor Documentation

◆ qMRMLTableWidget()

qMRMLTableWidget::qMRMLTableWidget ( QWidget *  parent = nullptr)
explicit

Constructors.

◆ ~qMRMLTableWidget()

qMRMLTableWidget::~qMRMLTableWidget ( )
override

Member Function Documentation

◆ mrmlTableViewNode()

vtkMRMLTableViewNode* qMRMLTableWidget::mrmlTableViewNode ( ) const

Get the tabl node observed by view.

◆ setMRMLTableViewNode

void qMRMLTableWidget::setMRMLTableViewNode ( vtkMRMLTableViewNode newTableViewNode)
slot

Set the current viewNode to observe.

◆ setViewLabel()

void qMRMLTableWidget::setViewLabel ( const QString &  newTableViewLabel)

Set the view label for the table.

See also
qMRMLTableControllerWidget::tableViewLabel()
tableViewLabel()

◆ tableController()

Q_INVOKABLE qMRMLTableViewControllerWidget* qMRMLTableWidget::tableController ( ) const

Get table view controller widget.

◆ tableView()

Q_INVOKABLE qMRMLTableView* qMRMLTableWidget::tableView ( ) const

Get a reference to the underlying Table View Becareful if you change the TableView, you might unsynchronize the view from the nodes/logics.

◆ viewLabel()

QString qMRMLTableWidget::viewLabel ( ) const

Get the view label for the table.

See also
qMRMLTableControllerWidget::tableViewLabel()
setTableViewLabel()

Member Data Documentation

◆ d_ptr

QScopedPointer<qMRMLTableWidgetPrivate> qMRMLTableWidget::d_ptr
protected

Definition at line 83 of file qMRMLTableWidget.h.


The documentation for this class was generated from the following file: