このページでは

FilterBase QML Type

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

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

QtObject

Inherited By:

AllOfFilter, AnyOfFilter, FunctionFilter, RangeFilter, RegExpFilter, RoleFilter, and ValueFilter

Status: Technology preview

この型はテクノロジープレビュー段階にあり、変更される可能性があります。

プロパティ

詳細な説明

FilterBaseは、それらが継承するすべてのフィルターに共通する一連のプロパティを提供します。

プロパティのドキュメント

column : int

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

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

enabled : bool

このプロパティを有効にすると、SortFilterProxyModel はモデルデータのフィルタリングを行う際に、このフィルタを考慮するようになります。

デフォルト値は `true` です。

inverted : bool

このプロパティはフィルタを反転させ、通常はフィルタによって除外されるデータが表示されるようにします。

デフォルト値はfalse です。

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