QGIS API Documentation 3.28.0-Firenze (ed3ad0430f)
|
Annotation item edit operation consisting of adding a node. More...
#include <qgsannotationitemeditoperation.h>
Public Member Functions | |
QgsAnnotationItemEditOperationAddNode (const QString &itemId, const QgsPoint &point) | |
Constructor for QgsAnnotationItemEditOperationAddNode at the specified point. More... | |
QgsPoint | point () const |
Returns the node position (in layer coordinates). More... | |
Type | type () const override |
Returns the operation type. More... | |
Public Member Functions inherited from QgsAbstractAnnotationItemEditOperation | |
QgsAbstractAnnotationItemEditOperation (const QString &itemId) | |
Constructor for QgsAbstractAnnotationItemEditOperation, for the specified item id. More... | |
virtual | ~QgsAbstractAnnotationItemEditOperation () |
QString | itemId () const |
Returns the associated item ID. More... | |
virtual Type | type () const =0 |
Returns the operation type. More... | |
Additional Inherited Members | |
Public Types inherited from QgsAbstractAnnotationItemEditOperation | |
enum class | Type : int { MoveNode , DeleteNode , AddNode , TranslateItem } |
Operation type. More... | |
Protected Attributes inherited from QgsAbstractAnnotationItemEditOperation | |
QString | mItemId |
Annotation item edit operation consisting of adding a node.
Definition at line 154 of file qgsannotationitemeditoperation.h.
QgsAnnotationItemEditOperationAddNode::QgsAnnotationItemEditOperationAddNode | ( | const QString & | itemId, |
const QgsPoint & | point | ||
) |
Constructor for QgsAnnotationItemEditOperationAddNode at the specified point.
Definition at line 88 of file qgsannotationitemeditoperation.cpp.
|
inline |
Returns the node position (in layer coordinates).
Definition at line 168 of file qgsannotationitemeditoperation.h.
|
overridevirtual |
Returns the operation type.
Implements QgsAbstractAnnotationItemEditOperation.
Definition at line 95 of file qgsannotationitemeditoperation.cpp.