Class: QgsExpressionItemSearchProxy

Search proxy used to filter the QgsExpressionBuilderWidget tree.

The default search for a tree model only searches top level this will handle one level down.

Class Hierarchy

Inheritance diagram of qgis.gui.QgsExpressionItemSearchProxy

Base classes

QSortFilterProxyModel

QAbstractProxyModel

QAbstractItemModel

QObject

class qgis.gui.QgsExpressionItemSearchProxy[source]

Bases: QSortFilterProxyModel

setFilterString(self, string: str | None)[source]

Sets the search filter string.

Added in version 3.22.

Parameters:

string (Optional[str])