23 #ifndef __qSlicerSubjectHierarchyDefaultPlugin_h 24 #define __qSlicerSubjectHierarchyDefaultPlugin_h 32 #include "qSlicerSubjectHierarchyModuleWidgetsExport.h" 34 class qSlicerSubjectHierarchyDefaultPluginPrivate;
64 const QString
helpText()
const override;
68 QIcon
icon(vtkIdType itemID)
override;
83 void setDefaultVisibilityIcons(QIcon visibleIcon, QIcon hiddenIcon, QIcon partiallyVisibleIcon);
87 void toggleVisibility();
90 void showAllChildren();
93 void hideAllChildren();
96 QScopedPointer<qSlicerSubjectHierarchyDefaultPluginPrivate>
d_ptr;
virtual QIcon icon(vtkIdType itemID)
virtual Q_INVOKABLE const QString roleForPlugin() const
qSlicerSubjectHierarchyAbstractPlugin Superclass
Default Subject Hierarchy plugin to exercise features of the abstract plugin. This plugin must not be...
Abstract plugin for handling Subject Hierarchy items.
QScopedPointer< qSlicerSubjectHierarchyDefaultPluginPrivate > d_ptr
virtual Q_INVOKABLE QIcon visibilityIcon(int visible)
Get visibility icon for a visibility state.
virtual Q_INVOKABLE QList< QAction * > visibilityContextMenuActions() const
virtual const QString helpText() const
Get help text for plugin to be added in subject hierarchy module widget help box. ...
virtual Q_INVOKABLE void showVisibilityContextMenuActionsForItem(vtkIdType itemID)
virtual Q_INVOKABLE double canOwnSubjectHierarchyItem(vtkIdType itemID) const