Class: QgsVectorLayerUndoPassthroughCommandDeleteFeatures

class qgis.core.QgsVectorLayerUndoPassthroughCommandDeleteFeatures(buffer: QgsVectorLayerEditBuffer, fids: object)

Bases: qgis._core.QgsVectorLayerUndoPassthroughCommand

Constructor for QgsVectorLayerUndoPassthroughCommandDeleteFeatures

Parameters:
  • buffer – associated edit buffer
  • fids – feature IDs of features to delete from layer

Undo command for deleting features from a vector layer in transaction group.

New in version 3.0: Methods

errorMessage
redo
rollBackToSavePoint
setError
setErrorMessage
setSavePoint
undo

Signals

Attributes

errorMessage()
redo(self)
rollBackToSavePoint()
setError()
setErrorMessage()
setSavePoint()
undo(self)