QGIS API Documentation 3.34.0-Prizren (ffbdd678812)
|
An interface for map tools which create annotation items. More...
#include <qgscreateannotationitemmaptool.h>
Public Member Functions | |
virtual | ~QgsCreateAnnotationItemMapToolInterface ()=default |
virtual QgsCreateAnnotationItemMapToolHandler * | handler ()=0 |
Returns the handler object for the map tool. | |
virtual QgsMapTool * | mapTool ()=0 |
Returns a reference to the associated map tool. | |
An interface for map tools which create annotation items.
Clients should connect to the map tool's itemCreated() signal, and call the takeCreatedItem() implementation to take ownership of the newly created item whenever this signal is emitted.
Definition at line 102 of file qgscreateannotationitemmaptool.h.
|
virtualdefault |
|
pure virtual |
Returns the handler object for the map tool.
|
pure virtual |
Returns a reference to the associated map tool.