Provides custom styling for TreeView 更多...
import 语句: | import QtQuick.Controls.Styles 1.4 |
Since: | Qt 5.5 |
继承: | ScrollViewStyle |
Activates items on single click.
Its default value is
false
.
The alternate background color.
The background color.
branchDelegate : Component |
This property defines a delegate to draw the branch indicator.
In the branch delegate you have access to the following special properties:
control : TreeView |
The TreeView this style is attached to.
headerDelegate : Component |
Delegate for header. This delegate is described in TreeView.headerDelegate .
The text highlight color, used within selections.
The amount each level is indented relatively to its parent level.
itemDelegate : Component |
Delegate for item. This delegate is described in TreeView.itemDelegate .
rowDelegate : Component |
Delegate for row. This delegate is described in TreeView.rowDelegate .
文本颜色。