21 #ifndef __qSlicerTableColumnPropertiesWidget_h 22 #define __qSlicerTableColumnPropertiesWidget_h 30 #include "qSlicerTablesModuleWidgetsExport.h" 31 #include "ui_qSlicerTableColumnPropertiesWidget.h" 34 class qSlicerTableColumnPropertiesWidgetPrivate;
39 class Q_SLICER_MODULE_TABLES_WIDGETS_EXPORT
43 Q_PROPERTY(
bool columnNameVisible READ columnNameVisible WRITE setColumnNameVisible)
44 Q_PROPERTY(
bool confirmTypeChange READ confirmTypeChange WRITE setConfirmTypeChange)
54 Q_INVOKABLE QStringList mrmlTableColumnNames();
57 Q_INVOKABLE
void setSelectionFromMRMLTableView(
qMRMLTableView* tableView);
59 Q_INVOKABLE
bool columnNameVisible() const;
60 Q_INVOKABLE
bool confirmTypeChange() const;
62 Q_INVOKABLE
void setColumnProperty(QString propertyName, QString propertyValue);
63 Q_INVOKABLE QString columnProperty(QString propertyName) const;
73 void setMRMLTableColumnName(const QString& selectedColumn);
74 void setMRMLTableColumnNames(const QStringList& selectedColumns);
77 void setColumnNameVisible(
bool);
81 void setConfirmTypeChange(
bool);
86 void tableViewSelectionChanged();
88 void onDataTypeChanged(const QString&);
90 void onPropertyChanged(const QString&);
92 void onApplyTypeChange();
93 void onCancelTypeChange();
102 void updateFinished();
105 QScopedPointer<qSlicerTableColumnPropertiesWidgetPrivate> d_ptr;
107 virtual
void setup();
110 Q_DECLARE_PRIVATE(qSlicerTableColumnPropertiesWidget);
111 Q_DISABLE_COPY(qSlicerTableColumnPropertiesWidget);
A set of MRML Nodes that supports serialization and undo/redo.
Spreadsheet view for table nodes. Allow view/edit of a vtkMRMLTableNode.
MRML node to represent a table object.
Abstract Superclass for all specific types of MRML nodes.