Class: QgsVectorLayerUndoCommandDeleteAttribute

class qgis.core.QgsVectorLayerUndoCommandDeleteAttribute(buffer: QgsVectorLayerEditBuffer, fieldIndex: int)

Bases: qgis._core.QgsVectorLayerUndoCommand

Constructor for QgsVectorLayerUndoCommandDeleteAttribute

Parameters:
  • buffer – associated edit buffer
  • fieldIndex – index of field to delete

Undo command for removing an existing attribute from a vector layer.

Enums

Methods

redo
undo

Signals

Attributes

redo(self)
undo(self)