23  , mMapCanvas( canvas )
 
   24  , mCadDockWidget( cadDockWidget )
 
   31  return mCreatedItem.release();
 
   46  mCreatedItem.reset( item );
 
Abstract base class for annotation items which are drawn with QgsAnnotationLayers.
 
Represents a map layer containing a set of georeferenced annotations, e.g.
 
Map canvas is a class for displaying all GIS data types on a canvas.
 
QgsMapLayer * currentLayer()
returns current layer (set by legend widget)
 
static QgsProject * instance()
Returns the QgsProject singleton instance.
 
QgsAnnotationLayer * mainAnnotationLayer()
Returns the main annotation layer associated with the project.