QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
|
Go to the documentation of this file.
17 #ifndef QGSMAPTOOLMODIFYANNOTATION_H
18 #define QGSMAPTOOLMODIFYANNOTATION_H
31 class QgsAnnotationItemNodesSpatialIndex;
71 void selectionCleared();
74 void onCanvasRefreshed();
84 void clearHoveredItem();
85 void clearSelectedItem();
86 void createHoverBand();
87 void createHoveredNodeBand();
88 void createSelectedItemBand();
91 QgsAnnotationItem *annotationItemFromId(
const QString &layerId,
const QString &itemId );
101 Action mCurrentAction = Action::NoAction;
103 std::unique_ptr<QgsSnapIndicator> mSnapIndicator;
106 std::vector< QObjectUniquePtr<QgsRubberBand> > mHoveredItemNodeRubberBands;
109 QList< QgsAnnotationItemNode > mHoveredItemNodes;
116 QString mHoveredItemId;
117 QString mHoveredItemLayerId;
119 QString mSelectedItemId;
120 QString mSelectedItemLayerId;
122 std::unique_ptr< QgsAnnotationItemNodesSpatialIndex > mHoveredItemNodesSpatialIndex;
127 bool mRefreshSelectedItemAfterRedraw =
false;
133 #endif // QGSMAPTOOLMODIFYANNOTATION_H
A class for drawing transient features (e.g. digitizing lines) on the map.
Map canvas is a class for displaying all GIS data types on a canvas.
A rectangle specified with double values.
Class that shows snapping marker on map canvas for the current snapping match.
Contains information about a rendered annotation item.
A class to represent a 2D point.
A QgsMapMouseEvent is the result of a user interaction with the mouse on a QgsMapCanvas....
Contains information about a node used for editing an annotation item.
Represents a map layer containing a set of georeferenced annotations, e.g. markers,...
Abstract base class for annotation items which are drawn with QgsAnnotationLayers.