TreeViewDecoration QML Type

The tree expander decorator for item views. More...

Import Statement: import org.kde.kirigamiaddons.treeview
Inherits:

RowLayout

Properties

Detailed Description

It will have a > v expander button graphics, and will have indentation on the left depending on the level of the tree the item is in.

It is recommended to use RoundedTreeDelegate directly instead of this component.

Property Documentation

decorationHighlightColor : color

This property holds the color of the decoration highlight.


index : int [required]

This property holds the index of the item.

Provided by the model/ListView.


kDescendantExpandable : bool [required]

This property holds whether the item is expandable.

Provided by the model/ListView.


kDescendantExpanded : bool [required]

This property holds whether the item is expanded.

Provided by the model/ListView.


kDescendantHasSiblings : var [required]

This property holds whether this item has siblings.

Provided by the model/ListView.


kDescendantLevel : int [required]

This property holds the descendant level of the item.

Provided by the model/ListView.


model : KDescendantsProxyModel [required]

This property holds the KDescendantsProxyModel the view is showing.

It needs to be assigned explicitly by the developer.


parentDelegate : ItemDelegate [required]

This property holds the delegate there this decoration will live in.

It needs to be assigned explicitly by the developer.