Class: QgsSettingsTreeProxyModel

A proxy model which allows filtering the settings tree.

Added in version 3.32.

Class Hierarchy

Inheritance diagram of qgis.gui.QgsSettingsTreeProxyModel

Base classes

QSortFilterProxyModel

QAbstractProxyModel

QAbstractItemModel

QObject

Methods

applyChanges

Apply pending changes in the model to the corresponding settings

setFilterText

Sets the filter text

class qgis.gui.QgsSettingsTreeProxyModel[source]

Bases: QSortFilterProxyModel

__init__(rootNode: QgsSettingsTreeNode | None = None, parent: QObject | None = None)

Constructor

Parameters:
applyChanges(self)[source]

Apply pending changes in the model to the corresponding settings

setFilterText(self, filterText: str | None = '')[source]

Sets the filter text

Parameters:

filterText (Optional[str] = '')