21 #ifndef __qMRMLSceneHierarchyModel_h 22 #define __qMRMLSceneHierarchyModel_h 26 class qMRMLSceneHierarchyModelPrivate;
38 Q_PROPERTY (
int expandColumn READ expandColumn WRITE setExpandColumn)
45 int expandColumn()
const;
46 void setExpandColumn(
int column);
virtual int nodeIndex(vtkMRMLNode *node) const
virtual vtkMRMLNode * parentNode(vtkMRMLNode *node) const
virtual bool reparent(vtkMRMLNode *node, vtkMRMLNode *newParent)
virtual void updateItemDataFromNode(QStandardItem *item, vtkMRMLNode *node, int column)
virtual Qt::DropActions supportedDropActions() const
virtual int maxColumnId() const
Must be reimplemented in subclasses that add new column types.
virtual bool canBeAChild(vtkMRMLNode *node) const
fast function that only check the type of the node to know if it can be a child.
virtual bool canBeAParent(vtkMRMLNode *node) const
virtual QFlags< Qt::ItemFlag > nodeFlags(vtkMRMLNode *node, int column) const
qMRMLSceneModel Superclass
Abstract Superclass for all specific types of MRML nodes.
virtual void observeNode(vtkMRMLNode *node)
virtual void updateNodeFromItemData(vtkMRMLNode *node, QStandardItem *item)