Slicer 5.9
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
qSlicerTableColumnPropertiesWidget Class Reference

#include <Modules/Loadable/Tables/Widgets/qSlicerTableColumnPropertiesWidget.h>

Inheritance diagram for qSlicerTableColumnPropertiesWidget:
Collaboration diagram for qSlicerTableColumnPropertiesWidget:

Public Types

typedef qSlicerWidget Superclass
 

Properties

bool columnNameVisible
 
bool confirmTypeChange
 

Public Slots

void setColumnNameVisible (bool)
 Show table name row.
 
void setConfirmTypeChange (bool)
 
void setMRMLScene (vtkMRMLScene *scene) override
 
void setMRMLTableColumnName (const QString &selectedColumn)
 
void setMRMLTableColumnNames (const QStringList &selectedColumns)
 
void setMRMLTableNode (vtkMRMLNode *tableNode)
 Utility function to simply connect signals/slots with Qt Designer.
 
void setMRMLTableNode (vtkMRMLTableNode *tableNode)
 
- Public Slots inherited from qSlicerWidget
void setMRMLScene (vtkMRMLScene *scene) override
 

Signals

void updateFinished ()
 
- Signals inherited from qSlicerWidget
void mrmlSceneChanged (vtkMRMLScene *)
 

Public Member Functions

Q_INVOKABLE bool columnNameVisible () const
 
Q_INVOKABLE QString columnProperty (QString propertyName) const
 
Q_INVOKABLE bool confirmTypeChange () const
 
Q_INVOKABLE QStringList mrmlTableColumnNames ()
 
Q_INVOKABLE vtkMRMLTableNodemrmlTableNode () const
 Get the table node the columns are edited of.
 
 qSlicerTableColumnPropertiesWidget (QWidget *parent=nullptr)
 
Q_INVOKABLE void setColumnProperty (QString propertyName, QString propertyValue)
 
Q_INVOKABLE void setSelectionFromMRMLTableView (qMRMLTableView *tableView)
 Get the selected table node and column from the specified tableView widget.
 
 ~qSlicerTableColumnPropertiesWidget () override
 
- Public Member Functions inherited from qSlicerWidget
vtkSlicerApplicationLogicappLogic () const
 
vtkMRMLAbstractLogicmoduleLogic (const QString &moduleName) const
 
 qSlicerWidget (QWidget *parent=nullptr, Qt::WindowFlags f=Qt::WindowFlags())
 
 ~qSlicerWidget () override
 
- Public Member Functions inherited from qSlicerObject
vtkMRMLScenemrmlScene () const
 Return a pointer on the MRML scene.
 
 qSlicerObject ()
 
virtual void setMRMLScene (vtkMRMLScene *)
 Set the current MRML scene to the widget.
 
virtual ~qSlicerObject ()
 

Protected Slots

void onApplyTypeChange ()
 
void onCancelTypeChange ()
 
void onDataTypeChanged (const QString &)
 
void onPropertyChanged (const QString &)
 
void tableViewSelectionChanged ()
 Called when selection is changed in the associated table view.
 
void updateWidget ()
 Update the GUI to reflect the currently selected table node.
 

Protected Member Functions

virtual void setup ()
 

Protected Attributes

QScopedPointer< qSlicerTableColumnPropertiesWidgetPrivate > d_ptr
 
- Protected Attributes inherited from qSlicerWidget
QScopedPointer< qSlicerWidgetPrivate > d_ptr
 
- Protected Attributes inherited from qSlicerObject
QScopedPointer< qSlicerObjectPrivate > d_ptr
 

Detailed Description

Definition at line 36 of file qSlicerTableColumnPropertiesWidget.h.

Member Typedef Documentation

◆ Superclass

Property Documentation

◆ columnNameVisible

bool qSlicerTableColumnPropertiesWidget::columnNameVisible
readwrite

Definition at line 40 of file qSlicerTableColumnPropertiesWidget.h.

◆ confirmTypeChange

bool qSlicerTableColumnPropertiesWidget::confirmTypeChange
readwrite

Definition at line 41 of file qSlicerTableColumnPropertiesWidget.h.

Constructor & Destructor Documentation

◆ qSlicerTableColumnPropertiesWidget()

qSlicerTableColumnPropertiesWidget::qSlicerTableColumnPropertiesWidget ( QWidget * parent = nullptr)

◆ ~qSlicerTableColumnPropertiesWidget()

qSlicerTableColumnPropertiesWidget::~qSlicerTableColumnPropertiesWidget ( )
override

Member Function Documentation

◆ columnNameVisible()

Q_INVOKABLE bool qSlicerTableColumnPropertiesWidget::columnNameVisible ( ) const

◆ columnProperty()

Q_INVOKABLE QString qSlicerTableColumnPropertiesWidget::columnProperty ( QString propertyName) const

◆ confirmTypeChange()

Q_INVOKABLE bool qSlicerTableColumnPropertiesWidget::confirmTypeChange ( ) const

◆ mrmlTableColumnNames()

Q_INVOKABLE QStringList qSlicerTableColumnPropertiesWidget::mrmlTableColumnNames ( )

◆ mrmlTableNode()

Q_INVOKABLE vtkMRMLTableNode * qSlicerTableColumnPropertiesWidget::mrmlTableNode ( ) const

Get the table node the columns are edited of.

◆ onApplyTypeChange

void qSlicerTableColumnPropertiesWidget::onApplyTypeChange ( )
protectedslot

◆ onCancelTypeChange

void qSlicerTableColumnPropertiesWidget::onCancelTypeChange ( )
protectedslot

◆ onDataTypeChanged

void qSlicerTableColumnPropertiesWidget::onDataTypeChanged ( const QString & )
protectedslot

◆ onPropertyChanged

void qSlicerTableColumnPropertiesWidget::onPropertyChanged ( const QString & )
protectedslot

◆ setColumnNameVisible

void qSlicerTableColumnPropertiesWidget::setColumnNameVisible ( bool )
slot

Show table name row.

◆ setColumnProperty()

Q_INVOKABLE void qSlicerTableColumnPropertiesWidget::setColumnProperty ( QString propertyName,
QString propertyValue )

◆ setConfirmTypeChange

void qSlicerTableColumnPropertiesWidget::setConfirmTypeChange ( bool )
slot

If enabled then column type change is not performed immediately but user must to confirm it by pressing "Convert" button.

◆ setMRMLScene

void qSlicerTableColumnPropertiesWidget::setMRMLScene ( vtkMRMLScene * scene)
overrideslot

◆ setMRMLTableColumnName

void qSlicerTableColumnPropertiesWidget::setMRMLTableColumnName ( const QString & selectedColumn)
slot

◆ setMRMLTableColumnNames

void qSlicerTableColumnPropertiesWidget::setMRMLTableColumnNames ( const QStringList & selectedColumns)
slot

◆ setMRMLTableNode [1/2]

void qSlicerTableColumnPropertiesWidget::setMRMLTableNode ( vtkMRMLNode * tableNode)
slot

Utility function to simply connect signals/slots with Qt Designer.

◆ setMRMLTableNode [2/2]

void qSlicerTableColumnPropertiesWidget::setMRMLTableNode ( vtkMRMLTableNode * tableNode)
slot

◆ setSelectionFromMRMLTableView()

Q_INVOKABLE void qSlicerTableColumnPropertiesWidget::setSelectionFromMRMLTableView ( qMRMLTableView * tableView)

Get the selected table node and column from the specified tableView widget.

◆ setup()

virtual void qSlicerTableColumnPropertiesWidget::setup ( )
protectedvirtual

◆ tableViewSelectionChanged

void qSlicerTableColumnPropertiesWidget::tableViewSelectionChanged ( )
protectedslot

Called when selection is changed in the associated table view.

◆ updateFinished

void qSlicerTableColumnPropertiesWidget::updateFinished ( )
signal

This signal is emitted if updates to the widget have finished. It is called after fiducials are changed (added, position modified, etc).

◆ updateWidget

void qSlicerTableColumnPropertiesWidget::updateWidget ( )
protectedslot

Update the GUI to reflect the currently selected table node.

Member Data Documentation

◆ d_ptr

QScopedPointer<qSlicerTableColumnPropertiesWidgetPrivate> qSlicerTableColumnPropertiesWidget::d_ptr
protected

Definition at line 102 of file qSlicerTableColumnPropertiesWidget.h.


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