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

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

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

Public Types

typedef qSlicerWidget Superclass
 

Properties

bool columnNameVisible
 
bool confirmTypeChange
 

Public Slots

void setColumnNameVisible (bool)
 Show table name row. More...
 
void setConfirmTypeChange (bool)
 
void setMRMLScene (vtkMRMLScene *scene) override
 
void setMRMLTableColumnName (const QString &selectedColumn)
 
void setMRMLTableColumnNames (const QStringList &selectedColumns)
 
void setMRMLTableNode (vtkMRMLTableNode *tableNode)
 
void setMRMLTableNode (vtkMRMLNode *tableNode)
 Utility function to simply connect signals/slots with Qt Designer. More...
 
- 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. More...
 
 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. More...
 
 ~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. More...
 
 qSlicerObject ()
 
virtual void setMRMLScene (vtkMRMLScene *)
 Set the current MRML scene to the widget. More...
 
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. More...
 
void updateWidget ()
 Update the GUI to reflect the currently selected table node. More...
 

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 39 of file qSlicerTableColumnPropertiesWidget.h.

Member Typedef Documentation

◆ Superclass

Definition at line 47 of file qSlicerTableColumnPropertiesWidget.h.

Property Documentation

◆ columnNameVisible

bool qSlicerTableColumnPropertiesWidget::columnNameVisible
readwrite

Definition at line 43 of file qSlicerTableColumnPropertiesWidget.h.

◆ confirmTypeChange

bool qSlicerTableColumnPropertiesWidget::confirmTypeChange
readwrite

Definition at line 44 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 confirmit 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 ( vtkMRMLTableNode tableNode)
slot

◆ setMRMLTableNode [2/2]

void qSlicerTableColumnPropertiesWidget::setMRMLTableNode ( vtkMRMLNode tableNode)
slot

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

◆ 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 105 of file qSlicerTableColumnPropertiesWidget.h.


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