21 #ifndef __qMRMLSceneDisplayableModel_h 22 #define __qMRMLSceneDisplayableModel_h 26 class qMRMLSceneDisplayableModelPrivate;
38 Q_PROPERTY (
int colorColumn READ colorColumn WRITE setColorColumn)
41 Q_PROPERTY (
int opacityColumn READ opacityColumn WRITE setOpacityColumn)
49 int colorColumn()
const;
50 void setColorColumn(
int column);
52 int opacityColumn()
const;
53 void setOpacityColumn(
int column);
65 QObject *parent=
nullptr);
bool canBeAChild(vtkMRMLNode *node) const override
fast function that only check the type of the node to know if it can be a child.
void updateNodeFromItemData(vtkMRMLNode *node, QStandardItem *item) override
Reimplemented to add expandColumn support.
qMRMLSceneHierarchyModel Superclass
int maxColumnId() const override
Must be reimplemented in subclasses that add new column types.
bool canBeAParent(vtkMRMLNode *node) const override
fast function that only check the type of the node to know if it can be a parent. ...
The Visibility icon is in the same column than the name by default.
void updateItemDataFromNode(QStandardItem *item, vtkMRMLNode *node, int column) override
Reimplemented to add expandColumn support.
void observeNode(vtkMRMLNode *node) override
vtkMRMLNode * parentNode(vtkMRMLNode *node) const override
Abstract Superclass for all specific types of MRML nodes.
QFlags< Qt::ItemFlag > nodeFlags(vtkMRMLNode *node, int column) const override