Slicer  4.11
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 Slots
qMRMLTableViewControllerWidget Class Reference

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

Inheritance diagram for qMRMLTableViewControllerWidget:
Inheritance graph
Collaboration diagram for qMRMLTableViewControllerWidget:
Collaboration graph

Public Types

typedef qMRMLViewControllerBar Superclass
 Superclass typedef. More...
- Public Types inherited from qMRMLViewControllerBar
enum  LayoutBehavior { Popup =0, Panel }
typedef qMRMLWidget Superclass
 Superclass typedef. More...
- Public Types inherited from qMRMLWidget
typedef QWidget Superclass

Public Slots

void setMRMLScene (vtkMRMLScene *newScene) override
 Set the scene. More...
void setMRMLTableViewNode (vtkMRMLTableViewNode *tableViewNode)
void setTableView (qMRMLTableView *TableView)
 Set the TableView with which this controller interacts. More...
- Public Slots inherited from qMRMLWidget
virtual void setMRMLScene (vtkMRMLScene *newScene)
 Set the MRML scene associated with the widget. More...

Public Member Functions

 qMRMLTableViewControllerWidget (QWidget *parent=nullptr)
 Constructors. More...
void setViewLabel (const QString &newViewLabel)
QString viewLabel () const
 Get the label for the view (abbreviation for the view name) More...
 ~qMRMLTableViewControllerWidget () override
- Public Member Functions inherited from qMRMLViewControllerBar
Q_INVOKABLE QLayout * barLayout ()
Q_INVOKABLE QWidget * barWidget ()
Q_INVOKABLE QToolButton * pinButton ()
 Push-pin icon that shows additional options when clicked. More...
 qMRMLViewControllerBar (QWidget *parent=nullptr)
 Constructors. More...
Q_INVOKABLE void setLayoutBehavior (LayoutBehavior behavior)
Q_INVOKABLE QLabel * viewLabel ()
 Label that displays the view's name. More...
 ~qMRMLViewControllerBar () 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=nullptr)
 ~qMRMLWidget () override

Protected Slots

void updateWidgetFromMRML ()

Additional Inherited Members

- Signals inherited from qMRMLWidget
void mrmlSceneChanged (vtkMRMLScene *)
- Static Public Member Functions inherited from qMRMLWidget
static Q_INVOKABLE void postInitializeApplication ()
 Initialization that needs to be performed after application object is created. More...
static Q_INVOKABLE void preInitializeApplication ()
- Protected Member Functions inherited from qMRMLViewControllerBar
 qMRMLViewControllerBar (qMRMLViewControllerBarPrivate *pimpl, QWidget *parent=nullptr)
- Protected Attributes inherited from qMRMLViewControllerBar
QScopedPointer< qMRMLViewControllerBarPrivate > d_ptr
- Protected Attributes inherited from qMRMLWidget
QScopedPointer< qMRMLWidgetPrivate > d_ptr

Detailed Description

qMRMLTableViewControllerWidget offers controls to a table view (vtkMRMLTableViewNode and vtkMRMLTableNode). This controller allows for the content (data) and style (properties) of a table to be defined.

Definition at line 42 of file qMRMLTableViewControllerWidget.h.

Member Typedef Documentation

◆ Superclass

Superclass typedef.

Definition at line 50 of file qMRMLTableViewControllerWidget.h.

Constructor & Destructor Documentation

◆ qMRMLTableViewControllerWidget()

qMRMLTableViewControllerWidget::qMRMLTableViewControllerWidget ( QWidget *  parent = nullptr)


◆ ~qMRMLTableViewControllerWidget()

qMRMLTableViewControllerWidget::~qMRMLTableViewControllerWidget ( )

Member Function Documentation

◆ setMRMLScene

void qMRMLTableViewControllerWidget::setMRMLScene ( vtkMRMLScene newScene)

Set the scene.

◆ setMRMLTableViewNode

void qMRMLTableViewControllerWidget::setMRMLTableViewNode ( vtkMRMLTableViewNode tableViewNode)

Set the TableViewNode associated with this TableViewController. TableViewNodes are 1-to-1 with TableViews

◆ setTableView

void qMRMLTableViewControllerWidget::setTableView ( qMRMLTableView TableView)

Set the TableView with which this controller interacts.

◆ setViewLabel()

void qMRMLTableViewControllerWidget::setViewLabel ( const QString &  newViewLabel)

Set the label for the table view (abbreviation for the view name)

◆ updateWidgetFromMRML

void qMRMLTableViewControllerWidget::updateWidgetFromMRML ( )

◆ viewLabel()

QString qMRMLTableViewControllerWidget::viewLabel ( ) const

Get the label for the view (abbreviation for the view name)

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