Class: QgsAdvancedDigitizingToolsRegistry¶
Registry of available advanced digitizing tools.
QgsAdvancedDigitizingToolsRegistry is not usually directly
created, but rather accessed through
QgsGui.advancedDigitizingToolsRegistry().
Added in version 3.40.
List of all members, including inherited members
Methods
Adds the default tools shipped in QGIS |
|
Adds an advanced digitizing tool (take ownership) and return |
|
Removes the advanced digitizing tool matching the provided name and return |
|
Returns the advanced digitizing tool matching the provided name or |
|
Returns the list of registered tool names |
- class qgis.gui.QgsAdvancedDigitizingToolsRegistry[source]¶
Bases:
object- addTool(self, toolMetaData: QgsAdvancedDigitizingToolAbstractMetadata | None) bool[source]¶
Adds an advanced digitizing tool (take ownership) and return
Trueon success- Parameters:
toolMetaData (Optional[QgsAdvancedDigitizingToolAbstractMetadata])
- Return type:
bool
- removeTool(self, name: str | None) bool[source]¶
Removes the advanced digitizing tool matching the provided
nameand returnTrueon success- Parameters:
name (Optional[str])
- Return type:
bool
- toolMetadata(self, name: str | None) QgsAdvancedDigitizingToolAbstractMetadata | None[source]¶
Returns the advanced digitizing tool matching the provided
nameorNonewhen no match available- Parameters:
name (Optional[str])
- Return type: