Class: QgsSettingsTree¶
Holds the tree structure for the settings in QGIS core.
See also
Added in version 3.30.
Methods
Returns the tree node at the given key |
Static Methods
Creates a settings tree node for the given pluginName |
|
Returns the tree root node for the settings tree |
|
Unregisters the tree node for the given plugin |
- class qgis.core.QgsSettingsTree[source]¶
Bases:
object
- static createPluginTreeNode(pluginName: str | None) QgsSettingsTreeNode | None [source]¶
Creates a settings tree node for the given
pluginName
- Parameters:
pluginName (Optional[str])
- Return type:
Optional[QgsSettingsTreeNode]
- node(key: str | None) QgsSettingsTreeNode | None [source]¶
Returns the tree node at the given
key
Note
For Plugins, use
createPluginTreeNode()
to create nodes for plugin settings.- Parameters:
key (Optional[str])
- Return type:
Optional[QgsSettingsTreeNode]
- static treeRoot() QgsSettingsTreeNode | None [source]¶
Returns the tree root node for the settings tree
- Return type:
Optional[QgsSettingsTreeNode]