QgsVectorLayerUndoCommandDeleteAttribute class

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

Base classes

class QgsVectorLayerUndoCommand
Base class for undo commands within a QgsVectorLayerEditBuffer.

Constructors, destructors, conversion operators

QgsVectorLayerUndoCommandDeleteAttribute(QgsVectorLayerEditBuffer* buffer, int fieldIndex)
Constructor for QgsVectorLayerUndoCommandDeleteAttribute.

Function documentation

QgsVectorLayerUndoCommandDeleteAttribute::QgsVectorLayerUndoCommandDeleteAttribute(QgsVectorLayerEditBuffer* buffer, int fieldIndex)

Constructor for QgsVectorLayerUndoCommandDeleteAttribute.

Parameters
buffer associated edit buffer
fieldIndex index of field to delete