Abstract base type providing functionality common to sorters. 更多...
| import 语句: |
import QtQml.Models
|
| Since: | Qt 6.10 |
| 继承: | |
| 继承者: | |
| 状态: | 预备 |
This type is under development and is subject to change.
Sorter provides a set of common properties for all the sorters that they inherit from.
|
column : int |
This property holds the column that this sorter is applied to.
默认值为
0
.
|
enabled : bool |
This property enables the SortFilterProxyModel to consider this sorter while sorting the model data.
默认值为
true
.
|
priority : int |
This property holds the priority that is given to this sorter compared to other sorters. The lesser value results in a higher priority and the higher value results in a lower priority.
默认值为
-1
.
|
sortOrder : Qt::SortOrder |
This property holds the order used by SortFilterProxyModel when sorting the model data.
默认值为
Qt::AscendingOrder
.