Provides custom styling for TreeView 更多...
导入语句: | 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 : 组件 |
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 : 组件 |
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 : 组件 |
Delegate for item. This delegate is described in TreeView.itemDelegate .
rowDelegate : 组件 |
Delegate for row. This delegate is described in TreeView.rowDelegate .
The text color.