Filter QML Type

Abstract base type providing functionality common to filters. 更多...

import 語句: import QtQml.Models
Since: Qt 6.10
繼承:

QtObject

繼承者:

FunctionFilter and RoleFilter

狀態: 預備

This type is under development and is subject to change.

特性

詳細描述

Filter provides a set of common properties for all the filters that they inherit from.

特性文檔編製

column : int

This property specifies which column in the model the filter should be applied on. If the value is -1 , the filter will be applied to all the columns in the model.

默認值為 -1 .

enabled : bool

This property enables the SortFilterProxyModel to consider this filter while filtering the model data.

默認值為 true .

invert : bool

This property inverts the filter, causing the data that would normally be filtered out to be presented instead.

默認值為 false .