TreeViewDecoration
Properties | |
color | decorationHighlightColor |
int | index |
bool | kDescendantExpandable |
bool | kDescendantExpanded |
var | kDescendantHasSiblings |
int | kDescendantLevel |
KDescendantsProxyModel | model |
T2ItemDelegate | parentDelegate |
Detailed Description
The tree expander decorator for item views.
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 recommanded to directly use RoundedTreeDelegate instead of this component.
Definition at line 9 of file styles/org.kde.desktop/TreeViewDecoration.qml.
Property Documentation
◆ decorationHighlightColor
|
read |
This property holds the color of the decoration highlight.
Definition at line 35 of file TreeViewDecoration.qml.
◆ index
|
read |
This property holds the index of the item.
Provided by the model/ListView
Definition at line 12 of file styles/org.kde.desktop/TreeViewDecoration.qml.
◆ kDescendantExpandable
|
read |
This property holds whether the item is expandable.
Provided by the model/ListView
Definition at line 18 of file styles/org.kde.desktop/TreeViewDecoration.qml.
◆ kDescendantExpanded
|
read |
This property holds whether the item is expanded.
Provided by the model/ListView
Definition at line 20 of file styles/org.kde.desktop/TreeViewDecoration.qml.
◆ kDescendantHasSiblings
|
read |
This property holds whether this item has siblings.
Provided by the model/ListView
Definition at line 16 of file styles/org.kde.desktop/TreeViewDecoration.qml.
◆ kDescendantLevel
|
read |
This property holds the descendant level of the item.
Provided by the model/ListView
Definition at line 14 of file styles/org.kde.desktop/TreeViewDecoration.qml.
◆ model
|
read |
This property holds the KDescendantsProxyModel the view is showing.
It needs to be assigned explicitly by the developer.
Definition at line 24 of file styles/org.kde.desktop/TreeViewDecoration.qml.
◆ parentDelegate
|
read |
This property holds the delegate there this decoration will live in.
It needs to be assigned explicitly by the developer.
Definition at line 22 of file styles/org.kde.desktop/TreeViewDecoration.qml.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:03:50 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.