このページでは

Sorter QML Type

ソーターに共通する機能を提供する抽象的な基本型。詳細...

Import Statement: import QtQml.Models
Since: Qt 6.10
Inherits:

QtObject

Inherited By:

FunctionSorter, RoleSorter, and StringSorter

Status: Preliminary

この型は開発中であり、変更される可能性があります。

プロパティ

詳細説明

ソーターは、継承するすべてのソーターに共通のプロパティを提供します。

プロパティの説明

column : int

このプロパティは、このソータが適用されるカラムを保持します。

デフォルト値は0 です。

enabled : bool

このプロパティは、SortFilterProxyModel 、モデルデータのソート中にこのソータを考慮することを可能にする。

デフォルト値はtrue です。

priority : int

このプロパティは、他のソーターと比較してこのソーターに与えられる優先順位を保持する。値が小さいほど優先度は高くなり、値が大きいほど優先度は低くなります。

デフォルト値は-1 です。

sortOrder : Qt::SortOrder

このプロパティは、SortFilterProxyModel がモデルデータをソートする際に使用する順序を保持する。

デフォルト値はQt::AscendingOrder です。

© 2026 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.