13 #ifndef QmitkPropertyItem_h
14 #define QmitkPropertyItem_h
87 QList<QVariant> m_Data;
88 QList<QmitkPropertyItem *> m_Children;
A tree item used by QmitkPropertyItemModel to represent a property row.
int GetRow()
Returns the row index of this item within its parent.
QmitkPropertyItem * GetChild(int row) const
Returns the child item at the given row.
int GetColumnCount() const
Returns the number of data columns.
void AppendChild(QmitkPropertyItem *child)
Appends a child item to this item.
QVariant GetData(int column) const
Returns the data for the given column.
QmitkPropertyItem(const QList< QVariant > &data)
Constructs a property item with the given column data.
QmitkPropertyItem * GetParent() const
Returns the parent item.
int GetChildCount() const
Returns the number of child items.