Class: QgsSettingsEntryGroup¶
Creates a group of setting which have a common definition of base key
Added in version 3.26.
Deprecated since version 3.30: Use QgsSettingsTreeNode instead.
Methods
Returns the base key for the given dynamicKeyPartList  | 
|
Returns if the group is valid (if settings share the same base key)  | 
|
Removes all the settings from this group The dynamicKeyPart argument specifies the dynamic part of the settings key.  | 
|
Removes all the settings at the base key for the given dynamicKeyPartList This means it might remove more settings than the ones registered in the group, use with caution  | 
|
Returns all the settings  | 
- class qgis.core.QgsSettingsEntryGroup[source]¶
 Bases:
object- __init__(settings: Iterable[QgsSettingsEntryBase])
 Constructor
- Parameters:
 settings (Iterable[QgsSettingsEntryBase])
- __init__(a0: QgsSettingsEntryGroup)
 - Parameters:
 
- baseKey(self, dynamicKeyPartList: Iterable[str | None] = []) str[source]¶
 Returns the base key for the given
dynamicKeyPartList- Parameters:
 dynamicKeyPartList (Iterable[Optional[str]] = [])
- Return type:
 str
- isValid(self) bool[source]¶
 Returns if the group is valid (if settings share the same base key)
- Return type:
 bool
- removeAllChildrenSettings(self, dynamicKeyPart: str | None = '')[source]¶
 Removes all the settings from this group The
dynamicKeyPartargument specifies the dynamic part of the settings key.- Parameters:
 dynamicKeyPart (Optional[str] = '')
- removeAllChildrenSettings(self, dynamicKeyPartList: Iterable[str | None])[source]
 Removes all the settings from this group The
dynamicKeyPartListargument specifies the dynamic part of the settings key.- Parameters:
 dynamicKeyPartList (Iterable[Optional[str]])
- removeAllSettingsAtBaseKey(self, dynamicKeyPartList: Iterable[str | None] = [])[source]¶
 Removes all the settings at the base key for the given
dynamicKeyPartListThis means it might remove more settings than the ones registered in the group, use with caution- Parameters:
 dynamicKeyPartList (Iterable[Optional[str]] = [])
- settings(self) List[QgsSettingsEntryBase]¶
 Returns all the settings
- Return type:
 List[QgsSettingsEntryBase]