QGIS API Documentation 3.37.0-Master (fdefdf9c27f)
Public Member Functions | List of all members
QgsCreateAnnotationItemMapToolInterface Class Referenceabstract

An interface for map tools which create annotation items. More...

#include <qgscreateannotationitemmaptool.h>

Public Member Functions

virtual ~QgsCreateAnnotationItemMapToolInterface ()=default
 
virtual QgsCreateAnnotationItemMapToolHandlerhandler ()=0
 Returns the handler object for the map tool. More...
 
virtual QgsMapToolmapTool ()=0
 Returns a reference to the associated map tool. More...
 

Detailed Description

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.

Since
QGIS 3.22

Definition at line 102 of file qgscreateannotationitemmaptool.h.

Constructor & Destructor Documentation

◆ ~QgsCreateAnnotationItemMapToolInterface()

virtual QgsCreateAnnotationItemMapToolInterface::~QgsCreateAnnotationItemMapToolInterface ( )
virtualdefault

Member Function Documentation

◆ handler()

virtual QgsCreateAnnotationItemMapToolHandler * QgsCreateAnnotationItemMapToolInterface::handler ( )
pure virtual

Returns the handler object for the map tool.

◆ mapTool()

virtual QgsMapTool * QgsCreateAnnotationItemMapToolInterface::mapTool ( )
pure virtual

Returns a reference to the associated map tool.


The documentation for this class was generated from the following file: