23#ifndef __qMRMLTableView_h
24#define __qMRMLTableView_h
30#include "qMRMLWidgetsExport.h"
32class QSortFilterProxyModel;
33class qMRMLTableViewPrivate;
113 QScopedPointer<qMRMLTableViewPrivate>
d_ptr;
115 void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) override;
void setFirstRowLocked(bool locked)
void selectionChanged()
Emitted when a different table node is selected or different cells are selected.
qMRMLTableView(QWidget *parent=nullptr)
Q_INVOKABLE vtkMRMLTableNode * mrmlTableNode() const
QList< int > selectedMRMLTableColumnIndices() const
Q_INVOKABLE qMRMLTableModel * tableModel() const
void mrmlSceneChanged(vtkMRMLScene *)
void keyPressEvent(QKeyEvent *event) override
void setMRMLScene(vtkMRMLScene *newScene)
Q_INVOKABLE vtkMRMLScene * mrmlScene() const
Return a pointer on the current MRML scene.
void setMRMLTableViewNode(vtkMRMLTableViewNode *newTableViewNode)
Set the current viewNode to observe. If nullptr then view properties are not stored in the scene.
void setMRMLTableNode(vtkMRMLTableNode *tableNode)
Q_INVOKABLE vtkMRMLTableViewNode * mrmlTableViewNode() const
Get the TableView node observed by view.
QScopedPointer< qMRMLTableViewPrivate > d_ptr
void setTransposed(bool transposed)
Q_INVOKABLE QSortFilterProxyModel * sortFilterProxyModel() const
void setFirstColumnLocked(bool locked)
Abstract Superclass for all specific types of MRML nodes.
A set of MRML Nodes that supports serialization and undo/redo.
MRML node to represent a table object.
MRML node to represent table view parameters.