Class: QgsCreateAnnotationItemMapToolInterface¶
- class qgis.gui.QgsCreateAnnotationItemMapToolInterface¶
Bases:
sip.wrapper
An interface for map tools which create annotation items.
Clients should connect to the map tool’s
itemCreated()
signal, and call thetakeCreatedItem()
implementation to take ownership of the newly created item whenever this signal is emitted.New in version 3.22:
Methods
Returns the handler object for the map tool.
Returns a reference to the associated map tool.
- handler(self) QgsCreateAnnotationItemMapToolHandler ¶
Returns the handler object for the map tool.
- Return type:
- mapTool(self) QgsMapTool ¶
Returns a reference to the associated map tool.
- Return type: