23 #ifndef __qMRMLTableView_h 24 #define __qMRMLTableView_h 30 #include "qMRMLWidgetsExport.h" 32 class QSortFilterProxyModel;
33 class qMRMLTableViewPrivate;
45 Q_PROPERTY(
bool transposed READ transposed WRITE setTransposed)
46 Q_PROPERTY(
bool firstRowLocked READ firstRowLocked WRITE setFirstRowLocked)
47 Q_PROPERTY(
bool firstColumnLocked READ firstColumnLocked WRITE setFirstColumnLocked)
61 Q_INVOKABLE QSortFilterProxyModel* sortFilterProxyModel()const;
63 bool transposed()const;
64 bool firstRowLocked()const;
65 bool firstColumnLocked()const;
67 QList<
int> selectedMRMLTableColumnIndices()const;
85 void setTransposed(
bool transposed);
87 void setFirstRowLocked(
bool locked);
88 void setFirstColumnLocked(
bool locked);
91 void pasteSelection();
108 void selectionChanged();
111 virtual
void keyPressEvent(QKeyEvent* event);
113 QScopedPointer<qMRMLTableViewPrivate> d_ptr;
115 virtual
void selectionChanged(const QItemSelection & selected, const QItemSelection & deselected);
A set of MRML Nodes that supports serialization and undo/redo.
MRML node to represent table view parameters.
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.