QGIS API Documentation 3.41.0-Master (3440c17df1d)
|
Undo command for deleting a feature from a vector layer. More...
#include <qgsvectorlayerundocommand.h>
Public Member Functions | |
QgsVectorLayerUndoCommandDeleteFeature (QgsVectorLayerEditBuffer *buffer, QgsFeatureId fid) | |
Constructor for QgsVectorLayerUndoCommandDeleteFeature. | |
void | redo () override |
void | undo () override |
Public Member Functions inherited from QgsVectorLayerUndoCommand | |
QgsVectorLayerUndoCommand (QgsVectorLayerEditBuffer *buffer) | |
Constructor for QgsVectorLayerUndoCommand. | |
int | id () const override |
QgsVectorLayer * | layer () |
Returns the layer associated with the undo command. | |
bool | mergeWith (const QUndoCommand *) override |
Additional Inherited Members | |
Protected Attributes inherited from QgsVectorLayerUndoCommand | |
QgsVectorLayerEditBuffer * | mBuffer = nullptr |
Associated edit buffer. | |
Undo command for deleting a feature from a vector layer.
Definition at line 95 of file qgsvectorlayerundocommand.h.
QgsVectorLayerUndoCommandDeleteFeature::QgsVectorLayerUndoCommandDeleteFeature | ( | QgsVectorLayerEditBuffer * | buffer, |
QgsFeatureId | fid | ||
) |
Constructor for QgsVectorLayerUndoCommandDeleteFeature.
buffer | associated edit buffer |
fid | feature ID of feature to delete from layer |
Definition at line 65 of file qgsvectorlayerundocommand.cpp.
|
override |
Definition at line 92 of file qgsvectorlayerundocommand.cpp.
|
override |
Definition at line 78 of file qgsvectorlayerundocommand.cpp.