23 #ifndef __qSlicerSubjectHierarchyModelsPlugin_h 24 #define __qSlicerSubjectHierarchyModelsPlugin_h 29 #include "qSlicerModelsSubjectHierarchyPluginsExport.h" 31 class qSlicerSubjectHierarchyModelsPluginPrivate;
70 QIcon
icon(vtkIdType itemID)
override;
76 QString
tooltip(vtkIdType itemID)
const override;
96 QScopedPointer<qSlicerSubjectHierarchyModelsPluginPrivate>
d_ptr;
virtual QIcon icon(vtkIdType itemID)
virtual Q_INVOKABLE const QString roleForPlugin() const
static const vtkIdType INVALID_ITEM_ID
virtual double canAddNodeToSubjectHierarchy(vtkMRMLNode *node, vtkIdType parentItemID=vtkMRMLSubjectHierarchyNode::INVALID_ITEM_ID) const
virtual Q_INVOKABLE QString tooltip(vtkIdType itemID) const
Generate tooltip for a owned subject hierarchy item.
qSlicerSubjectHierarchyAbstractPlugin Superclass
Abstract plugin for handling Subject Hierarchy items.
virtual Q_INVOKABLE QColor getDisplayColor(vtkIdType itemID, QMap< int, QVariant > &terminologyMetaData) const
virtual Q_INVOKABLE void setDisplayColor(vtkIdType itemID, QColor color, QMap< int, QVariant > terminologyMetaData)
virtual Q_INVOKABLE QIcon visibilityIcon(int visible)
Get visibility icon for a visibility state.
Abstract Superclass for all specific types of MRML nodes.
QScopedPointer< qSlicerSubjectHierarchyModelsPluginPrivate > d_ptr
virtual Q_INVOKABLE double canOwnSubjectHierarchyItem(vtkIdType itemID) const