Spreadsheet view for table nodes. Allow view/edit of a vtkMRMLTableNode.
More...
#include <Libs/MRML/Widgets/qMRMLTableView.h>
|
QScopedPointer< qMRMLTableViewPrivate > | d_ptr |
|
Spreadsheet view for table nodes. Allow view/edit of a vtkMRMLTableNode.
Definition at line 42 of file qMRMLTableView.h.
◆ firstColumnLocked
bool qMRMLTableView::firstColumnLocked |
|
readwrite |
◆ firstRowLocked
bool qMRMLTableView::firstRowLocked |
|
readwrite |
◆ transposed
bool qMRMLTableView::transposed |
|
readwrite |
◆ qMRMLTableView()
qMRMLTableView::qMRMLTableView |
( |
QWidget * |
parent = 0 | ) |
|
◆ ~qMRMLTableView()
virtual qMRMLTableView::~qMRMLTableView |
( |
| ) |
|
|
virtual |
◆ copySelection
void qMRMLTableView::copySelection |
( |
| ) |
|
|
slot |
◆ deleteColumn
void qMRMLTableView::deleteColumn |
( |
| ) |
|
|
slot |
◆ deleteRow
void qMRMLTableView::deleteRow |
( |
| ) |
|
|
slot |
◆ firstColumnLocked()
bool qMRMLTableView::firstColumnLocked |
( |
| ) |
const |
◆ firstRowLocked()
bool qMRMLTableView::firstRowLocked |
( |
| ) |
const |
◆ insertColumn
void qMRMLTableView::insertColumn |
( |
| ) |
|
|
slot |
◆ insertRow
void qMRMLTableView::insertRow |
( |
| ) |
|
|
slot |
◆ keyPressEvent()
virtual void qMRMLTableView::keyPressEvent |
( |
QKeyEvent * |
event | ) |
|
|
protectedvirtual |
◆ mrmlScene()
Q_INVOKABLE vtkMRMLScene* qMRMLTableView::mrmlScene |
( |
| ) |
const |
Return a pointer on the current MRML scene.
◆ mrmlSceneChanged
When designing custom qMRMLWidget in the designer, you can connect the mrmlSceneChanged signal directly to the aggregated MRML widgets that have a setMRMLScene slot.
◆ mrmlTableNode()
◆ mrmlTableViewNode()
Get the TableView node observed by view.
◆ pasteSelection
void qMRMLTableView::pasteSelection |
( |
| ) |
|
|
slot |
◆ plotSelection
void qMRMLTableView::plotSelection |
( |
| ) |
|
|
slot |
◆ selectedMRMLTableColumnIndices()
QList<int> qMRMLTableView::selectedMRMLTableColumnIndices |
( |
| ) |
const |
◆ selectionChanged [1/2]
void qMRMLTableView::selectionChanged |
( |
| ) |
|
|
signal |
Emitted when a different table node is selected or different cells are selected.
◆ selectionChanged() [2/2]
virtual void qMRMLTableView::selectionChanged |
( |
const QItemSelection & |
selected, |
|
|
const QItemSelection & |
deselected |
|
) |
| |
|
protectedvirtual |
◆ setFirstColumnLocked
void qMRMLTableView::setFirstColumnLocked |
( |
bool |
locked | ) |
|
|
slot |
◆ setFirstRowLocked
void qMRMLTableView::setFirstRowLocked |
( |
bool |
locked | ) |
|
|
slot |
◆ setMRMLScene
void qMRMLTableView::setMRMLScene |
( |
vtkMRMLScene * |
newScene | ) |
|
|
slot |
Set the MRML scene that should be listened for events. If scene is set then MRMLTableViewNode has to be set, too. If scene is set then scene has to be set before MRMLTableNode is set.
◆ setMRMLTableNode [1/2]
◆ setMRMLTableNode [2/2]
void qMRMLTableView::setMRMLTableNode |
( |
vtkMRMLNode * |
tableNode | ) |
|
|
slot |
Utility function to simply connect signals/slots with Qt Designer.
◆ setMRMLTableViewNode
Set the current viewNode to observe. If NULL then view properties are not stored in the scene.
◆ setTransposed
void qMRMLTableView::setTransposed |
( |
bool |
transposed | ) |
|
|
slot |
Set transposed flag. If transposed is true then columns of the MRML table are added as rows in the model. This affects only this particular view, the settings is not stored in MRML.
◆ sortFilterProxyModel()
Q_INVOKABLE QSortFilterProxyModel* qMRMLTableView::sortFilterProxyModel |
( |
| ) |
const |
◆ tableModel()
◆ transposed()
bool qMRMLTableView::transposed |
( |
| ) |
const |
◆ d_ptr
QScopedPointer<qMRMLTableViewPrivate> qMRMLTableView::d_ptr |
|
protected |
The documentation for this class was generated from the following file: