Filter QML Type

フィルタに共通する機能を提供する抽象基底型。詳細...

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

QtObject

Inherited By:

FunctionFilter and RoleFilter

Status: Preliminary

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

プロパティ

詳細説明

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

プロパティの説明

column : int

このプロパティは、モデル内のどの列にフィルタを適用するかを指定します。値が-1 の場合、フィルタはモデル内のすべての列に適用されます。

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


enabled : bool

このプロパティは、SortFilterProxyModel がモデル・データをフィルタリングする際に、このフィルタを考慮することを可能にします。

デフォルト値はtrue です。


invert : bool

このプロパティはフィルタを反転させ、通常はフィルタリングされないデータを代わりに表示します。

デフォルト値はfalse です。


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