|
QGIS API Documentation 4.3.0-Master (550e9e0643d)
|
Annotation item edit operation consisting of setting the bounds of an item. More...
#include <qgsannotationitemeditoperation.h>

Public Member Functions | |
| QgsAnnotationItemEditOperationSetItemBounds (const QString &itemId, const QgsRectangle &bounds) | |
| Constructor for QgsAnnotationItemEditOperationSetItemBounds, setting the item with the specified itemId to the given bounds (in the annotation layer's CRS). | |
| QgsRectangle | bounds () const |
| Returns the new item bounds (in the annotation layer's CRS). | |
| Type | type () const override |
| Returns the operation type. | |
| Public Member Functions inherited from QgsAbstractAnnotationItemEditOperation | |
| QgsAbstractAnnotationItemEditOperation (const QString &itemId) | |
| Constructor for QgsAbstractAnnotationItemEditOperation, for the specified item id. | |
| virtual | ~QgsAbstractAnnotationItemEditOperation () |
| QString | itemId () const |
| Returns the associated item ID. | |
Additional Inherited Members | |
| Public Types inherited from QgsAbstractAnnotationItemEditOperation | |
| enum class | Type : int { MoveNode , DeleteNode , AddNode , TranslateItem , RotateItem , SetItemBounds } |
| Operation type. More... | |
| Protected Attributes inherited from QgsAbstractAnnotationItemEditOperation | |
| QString | mItemId |
Annotation item edit operation consisting of setting the bounds of an item.
Definition at line 325 of file qgsannotationitemeditoperation.h.
| QgsAnnotationItemEditOperationSetItemBounds::QgsAnnotationItemEditOperationSetItemBounds | ( | const QString & | itemId, |
| const QgsRectangle & | bounds ) |
Constructor for QgsAnnotationItemEditOperationSetItemBounds, setting the item with the specified itemId to the given bounds (in the annotation layer's CRS).
Definition at line 126 of file qgsannotationitemeditoperation.cpp.
|
inline |
Returns the new item bounds (in the annotation layer's CRS).
Definition at line 339 of file qgsannotationitemeditoperation.h.
|
overridevirtual |
Returns the operation type.
Implements QgsAbstractAnnotationItemEditOperation.
Definition at line 131 of file qgsannotationitemeditoperation.cpp.