Class: QgsSettingsTreeModel

QgsSettingsTreeModel is a tree model for the settings tree.

Added in version 3.32.

Class Hierarchy

Inheritance diagram of qgis.gui.QgsSettingsTreeModel

Base classes

QAbstractItemModel

QObject

Enums

Column

Columns

Methods

applyChanges

Apply pending changes in the model to the corresponding settings

class qgis.gui.QgsSettingsTreeModel[source]

Bases: QAbstractItemModel

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

Constructor

Parameters:
class Column(*values)

Bases: IntEnum

Columns

  • Name: Name

  • Value: Value

  • Description: Description

Description = 2
Name = 0
Value = 1
applyChanges(self)[source]

Apply pending changes in the model to the corresponding settings