Class: QgsVectorLayerUndoCommandDeleteFeature

class qgis.core.QgsVectorLayerUndoCommandDeleteFeature(buffer: QgsVectorLayerEditBuffer, fid: int)

Bases: qgis._core.QgsVectorLayerUndoCommand

Constructor for QgsVectorLayerUndoCommandDeleteFeature

Parameters:
  • buffer – associated edit buffer
  • fid – feature ID of feature to delete from layer

Undo command for deleting a feature from a vector layer.

Enums

Methods

redo
undo

Signals

Attributes

redo(self)
undo(self)