QGIS API Documentation 3.32.0-Lima (311a8cb8a6)
|
Undo command for modifying the geometry of a feature from a vector layer. More...
#include <qgsvectorlayerundocommand.h>
Public Member Functions | |
QgsVectorLayerUndoCommandChangeGeometry (QgsVectorLayerEditBuffer *buffer, QgsFeatureId fid, const QgsGeometry &newGeom) | |
Constructor for QgsVectorLayerUndoCommandChangeGeometry. More... | |
int | id () const override |
bool | mergeWith (const QUndoCommand *other) override |
void | redo () override |
void | undo () override |
![]() | |
QgsVectorLayerUndoCommand (QgsVectorLayerEditBuffer *buffer) | |
Constructor for QgsVectorLayerUndoCommand. More... | |
int | id () const override |
QgsVectorLayer * | layer () |
Returns the layer associated with the undo command. More... | |
bool | mergeWith (const QUndoCommand *) override |
Additional Inherited Members | |
![]() | |
QgsVectorLayerEditBuffer * | mBuffer = nullptr |
Associated edit buffer. More... | |
Undo command for modifying the geometry of a feature from a vector layer.
Definition at line 120 of file qgsvectorlayerundocommand.h.
QgsVectorLayerUndoCommandChangeGeometry::QgsVectorLayerUndoCommandChangeGeometry | ( | QgsVectorLayerEditBuffer * | buffer, |
QgsFeatureId | fid, | ||
const QgsGeometry & | newGeom | ||
) |
Constructor for QgsVectorLayerUndoCommandChangeGeometry.
buffer | associated edit buffer |
fid | feature ID of feature to modify geometry of |
newGeom | new geometry for feature |
Definition at line 108 of file qgsvectorlayerundocommand.cpp.
|
inlineoverride |
Definition at line 134 of file qgsvectorlayerundocommand.h.
|
override |
Definition at line 127 of file qgsvectorlayerundocommand.cpp.
|
override |
Definition at line 179 of file qgsvectorlayerundocommand.cpp.
|
override |
Definition at line 145 of file qgsvectorlayerundocommand.cpp.