Class: QgsVectorLayerUndoCommandDeleteAttribute¶
Undo command for removing an existing attribute from a vector layer.
Class Hierarchy¶
Base classes¶
Base class for undo commands within a   | 
|
- class qgis.core.QgsVectorLayerUndoCommandDeleteAttribute[source]¶
 Bases:
QgsVectorLayerUndoCommand- __init__(buffer: QgsVectorLayerEditBuffer | None, fieldIndex: int)
 Constructor for QgsVectorLayerUndoCommandDeleteAttribute
- Parameters:
 buffer (Optional[QgsVectorLayerEditBuffer]) – associated edit buffer
fieldIndex (int) – index of field to delete