21 #ifndef __qMRMLAnnotationTreeView_h 22 #define __qMRMLAnnotationTreeView_h 28 #include "qSlicerAnnotationsModuleWidgetsExport.h" 29 class qMRMLAnnotationTreeViewPrivate;
55 const char* firstSelectedNode();
61 void toggleLockForSelected();
63 void toggleVisibilityForSelected();
65 void deleteSelected();
67 void selectedAsCollection(vtkCollection* collection);
72 void onPropertyEditButtonClicked(QString
id);
75 void onClicked(
const QModelIndex& index);
78 QScopedPointer<qMRMLAnnotationTreeViewPrivate>
d_ptr;
80 void mouseMoveEvent(QMouseEvent* e)
override;
81 bool viewportEvent(QEvent* e)
override;
92 const QItemSelection & deselected)
override;
virtual void toggleVisibility(const QModelIndex &index)
QScopedPointer< qMRMLAnnotationTreeViewPrivate > d_ptr
A set of MRML Nodes that supports serialization and undo/redo.
void mousePressEvent(QMouseEvent *event) override
Abstract Superclass for all specific types of MRML nodes.
virtual void onSelectionChanged(const QItemSelection &selected, const QItemSelection &deselected)