Sorter QML Type
ソーターに共通する機能を提供する抽象的な基本型。詳細...
Import Statement: | import QtQml.Models |
Since: | Qt 6.10 |
Inherits: | |
Inherited By: | |
Status: | Preliminary |
この型は開発中であり、変更される可能性があります。
プロパティ
詳細説明
ソーターは、継承するすべてのソーターに共通のプロパティを提供します。
プロパティの説明
column : int |
このプロパティは、このソーターが適用される列を保持します。
デフォルト値は0
です。
enabled : bool |
このプロパティを使用すると、SortFilterProxyModel 、モデルデータをソートする際にこのソーターを考慮することができます。
デフォルト値はtrue
です。
priority : int |
このプロパティは、他のソーターと比較してこのソーターに与えられる優先順位を保持します。値が小さいほど優先度が高く、値が大きいほど優先度が低くなります。
デフォルト値は-1
です。
sortOrder : Qt::SortOrder |
このプロパティは、SortFilterProxyModel がモデル・データをソートする際に使用する順序を保持します。
デフォルト値はQt::AscendingOrder
です。
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.