Filter QML Type

Base type for the SortFilterProxyModel filters More...

Import Statement: import .
Inherited By:

AllOf, AnyOf, ExpressionFilter, IndexFilter, and RoleFilter


Detailed Description

The Filter type cannot be used directly in a QML file. It exists to provide a set of common properties and methods, available across all the other filter types that inherit from it. Attempting to use the Filter type directly will result in an error.

Property Documentation

enabled : bool

This property holds whether the filter is enabled. A disabled filter will accept every rows unconditionally (even if it's inverted).

By default, filters are enabled.

inverted : bool

This property holds whether the filter is inverted. When a filter is inverted, a row normally accepted would be rejected, and vice-versa.

By default, filters are not inverted.