Class: QgsVectorLayerUndoCommandAddAttribute

Undo command for adding a new attribute to a vector layer.

Class Hierarchy

Inheritance diagram of qgis.core.QgsVectorLayerUndoCommandAddAttribute

Base classes

QgsVectorLayerUndoCommand

Base class for undo commands within a QgsVectorLayerEditBuffer.

QUndoCommand

class qgis.core.QgsVectorLayerUndoCommandAddAttribute[source]

Bases: QgsVectorLayerUndoCommand

__init__(buffer: QgsVectorLayerEditBuffer | None, field: QgsField)

Constructor for QgsVectorLayerUndoCommandAddAttribute

Parameters: