QgsVectorLayerUndoCommandAddAttribute class

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

Base classes

class QgsVectorLayerUndoCommand
Base class for undo commands within a QgsVectorLayerEditBuffer.

Constructors, destructors, conversion operators

QgsVectorLayerUndoCommandAddAttribute(QgsVectorLayerEditBuffer* buffer, const QgsField& field)
Constructor for QgsVectorLayerUndoCommandAddAttribute.

Function documentation

QgsVectorLayerUndoCommandAddAttribute::QgsVectorLayerUndoCommandAddAttribute(QgsVectorLayerEditBuffer* buffer, const QgsField& field)

Constructor for QgsVectorLayerUndoCommandAddAttribute.

Parameters
buffer associated edit buffer
field definition of new field to add