Class: QgsVectorLayerUndoCommandAddFeature

class qgis.core.QgsVectorLayerUndoCommandAddFeature(buffer: QgsVectorLayerEditBuffer, f: QgsFeature)

Bases: qgis._core.QgsVectorLayerUndoCommand

Constructor for QgsVectorLayerUndoCommandAddFeature

Parameters:
  • buffer – associated edit buffer
  • f – feature to add to layer

Undo command for adding a feature to a vector layer.

Methods

redo
undo

Signals

Attributes

redo(self)
undo(self)