In questa pagina

FilterBase QML Type

Tipo di base astratto che fornisce funzionalità comuni ai filtri. Maggiori informazioni...

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

QtObject

Inherited By:

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

Status: Technology preview

Questo tipo è in anteprima tecnologica ed è soggetto a modifiche.

Proprietà

Descrizione dettagliata

FilterBase fornisce un insieme di proprietà comuni a tutti i filtri da cui derivano.

Documentazione delle proprietà

column : int

Questa proprietà specifica su quale colonna del modello deve essere applicato il filtro. Se il valore è -1, il filtro verrà applicato a tutte le colonne del modello.

Il valore predefinito è -1.

enabled : bool

Questa proprietà consente a SortFilterProxyModel di tenere conto di questo filtro durante il filtraggio dei dati del modello.

Il valore predefinito è true.

inverted : bool

Questa proprietà inverte il filtro, facendo sì che vengano visualizzati proprio quei dati che normalmente verrebbero esclusi.

Il valore predefinito è 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.