Class: QgsVectorLayerUndoPassthroughCommandDeleteFeatures

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

Class Hierarchy

Inheritance diagram of qgis.core.QgsVectorLayerUndoPassthroughCommandDeleteFeatures

Base classes

QgsVectorLayerUndoPassthroughCommand

Undo command for vector layer in a transaction group mode.

QgsVectorLayerUndoCommand

Base class for undo commands within a QgsVectorLayerEditBuffer.

QUndoCommand

class qgis.core.QgsVectorLayerUndoPassthroughCommandDeleteFeatures[source]

Bases: QgsVectorLayerUndoPassthroughCommand

__init__(buffer: QgsVectorLayerEditBuffer | None, fids: Any)

Constructor for QgsVectorLayerUndoPassthroughCommandDeleteFeatures

Parameters:
  • buffer (Optional[QgsVectorLayerEditBuffer]) – associated edit buffer

  • fids (Any) – feature IDs of features to delete from layer