Slicer
4.10
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
#include <Modules/Loadable/Annotations/Widgets/qMRMLAnnotationTreeView.h>
Public Types | |
typedef qMRMLTreeView | Superclass |
Public Types inherited from qMRMLTreeView | |
typedef QTreeView | Superclass |
Signals | |
void | onPropertyEditButtonClicked (QString id) |
Signals inherited from qMRMLTreeView | |
void | currentNodeChanged (vtkMRMLNode *node) |
void | currentNodeDeleted (const QModelIndex &index) |
void | currentNodeRenamed (const QString &newName) |
void | decorationClicked (const QModelIndex &) |
void | editNodeRequested (vtkMRMLNode *node) |
Public Member Functions | |
qMRMLSceneAnnotationModel * | annotationModel () const |
void | deleteSelected () |
const char * | firstSelectedNode () |
void | hideScene () |
qMRMLAnnotationTreeView (QWidget *parent=0) | |
void | selectedAsCollection (vtkCollection *collection) |
void | setLogic (vtkSlicerAnnotationModuleLogic *logic) |
void | toggleLockForSelected () |
void | toggleVisibilityForSelected () |
virtual | ~qMRMLAnnotationTreeView () |
Public Member Functions inherited from qMRMLTreeView | |
void | appendNodeMenuAction (QAction *action) |
void | appendSceneMenuAction (QAction *action) |
virtual bool | clickDecoration (const QModelIndex &index) |
vtkMRMLNode * | currentNode () const |
virtual bool | eventFilter (QObject *object, QEvent *e) |
bool | fitSizeToVisibleIndexes () const |
bool | isDeleteMenuActionVisible () const |
bool | isEditMenuActionVisible () const |
bool | isRenameMenuActionVisible () const |
qMRMLSceneModel::NodeTypes | listenNodeModifiedEvent () const |
virtual QSize | minimumSizeHint () const |
QSize | minSizeHint () const |
vtkMRMLScene * | mrmlScene () const |
QStringList | nodeTypes () const |
void | prependNodeMenuAction (QAction *action) |
void | prependSceneMenuAction (QAction *action) |
qMRMLTreeView (QWidget *parent=0) | |
void | removeNodeMenuAction (QAction *action) |
Remove action from the "NodeMenu". More... | |
vtkMRMLNode * | rootNode () const |
Q_INVOKABLE qMRMLSceneModel * | sceneModel () const |
QString | sceneModelType () const |
void | setDeleteMenuActionVisible (bool show) |
void | setEditMenuActionVisible (bool show) |
void | setFitSizeToVisibleIndexes (bool) |
void | setListenNodeModifiedEvent (qMRMLSceneModel::NodeTypes listen) |
void | setMinSizeHint (QSize min) |
void | setNodeTypes (const QStringList &nodeTypes) |
void | setRenameMenuActionVisible (bool show) |
void | setSceneModel (qMRMLSceneModel *newSceneModel, const QString &modelType) |
Customize the model. More... | |
void | setShowHidden (bool) |
void | setShowRootNode (bool show) |
void | setShowScene (bool show) |
void | setSortFilterProxyModel (qMRMLSortFilterProxyModel *newFilterModel) |
Customize the filter model. More... | |
virtual void | showEvent (QShowEvent *show) |
bool | showHidden () const |
bool | showRootNode () const |
bool | showScene () const |
virtual QSize | sizeHint () const |
Q_INVOKABLE qMRMLSortFilterProxyModel * | sortFilterProxyModel () const |
virtual | ~qMRMLTreeView () |
Protected Slots | |
void | onClicked (const QModelIndex &index) |
Protected Slots inherited from qMRMLTreeView | |
void | loadTreeExpandState () |
void | onNumberOfVisibleIndexChanged () |
void | saveTreeExpandState () |
void | updateRootNode (vtkObject *modifiedRootNode) |
Protected Member Functions | |
void | mouseMoveEvent (QMouseEvent *e) |
virtual void | mousePressEvent (QMouseEvent *event) |
virtual void | onSelectionChanged (const QItemSelection &selected, const QItemSelection &deselected) |
virtual void | toggleVisibility (const QModelIndex &index) |
bool | viewportEvent (QEvent *e) |
Protected Member Functions inherited from qMRMLTreeView | |
virtual void | keyPressEvent (QKeyEvent *event) |
virtual void | mouseReleaseEvent (QMouseEvent *event) |
qMRMLTreeView (qMRMLTreeViewPrivate *pimpl, QWidget *parent=0) | |
virtual void | updateGeometries () |
Protected Attributes | |
QScopedPointer< qMRMLAnnotationTreeViewPrivate > | d_ptr |
Protected Attributes inherited from qMRMLTreeView | |
QScopedPointer< qMRMLTreeViewPrivate > | d_ptr |
Additional Inherited Members | |
Properties inherited from qMRMLTreeView | |
bool | deleteMenuActionVisible |
bool | editMenuActionVisible |
bool | fitSizeToVisibleIndexes |
qMRMLSceneModel::NodeTypes | listenNodeModifiedEvent |
QSize | minSizeHint |
QStringList | nodeTypes |
bool | renameMenuActionVisible |
QString | sceneModelType |
bool | showHidden |
bool | showRootNode |
bool | showScene |
Public Slots inherited from qMRMLTreeView | |
void | deleteCurrentNode () |
void | editCurrentNode () |
void | renameCurrentNode () |
void | scrollTo (const QString &displayName) |
void | scrollToNext () |
void | setCurrentNode (vtkMRMLNode *node) |
void | setDontHideAll (bool) |
void | setHideAll (bool) |
virtual void | setMRMLScene (vtkMRMLScene *scene) |
void | setRootNode (vtkMRMLNode *root) |
void | setSceneModelType (const QString &modelType) |
void | setShowAll (bool) |
Static Public Member Functions inherited from qMRMLTreeView | |
static QModelIndex | findAncestor (const QModelIndex &index, const QModelIndexList &potentialAncestors) |
static bool | isAncestor (const QModelIndex &index, const QModelIndex &potentialAncestor) |
static QModelIndexList | removeChildren (const QModelIndexList &indexes) |
Remove indexes that have at least one ancestor in the list. More... | |
Definition at line 43 of file qMRMLAnnotationTreeView.h.
Definition at line 49 of file qMRMLAnnotationTreeView.h.
qMRMLAnnotationTreeView::qMRMLAnnotationTreeView | ( | QWidget * | parent = 0 | ) |
|
virtual |
qMRMLSceneAnnotationModel* qMRMLAnnotationTreeView::annotationModel | ( | ) | const |
void qMRMLAnnotationTreeView::deleteSelected | ( | ) |
const char* qMRMLAnnotationTreeView::firstSelectedNode | ( | ) |
void qMRMLAnnotationTreeView::hideScene | ( | ) |
|
protected |
|
protectedvirtual |
Reimplemented from qMRMLTreeView.
|
protectedslot |
|
signal |
|
protectedvirtual |
Reimplemented to also set the active hierarchy node when the current index changes.
Reimplemented from qMRMLTreeView.
void qMRMLAnnotationTreeView::selectedAsCollection | ( | vtkCollection * | collection | ) |
void qMRMLAnnotationTreeView::setLogic | ( | vtkSlicerAnnotationModuleLogic * | logic | ) |
void qMRMLAnnotationTreeView::toggleLockForSelected | ( | ) |
|
protectedvirtual |
Reimplemented from qMRMLTreeView.
void qMRMLAnnotationTreeView::toggleVisibilityForSelected | ( | ) |
|
protected |
|
protected |
Definition at line 78 of file qMRMLAnnotationTreeView.h.