QgsVectorLayerUndoPassthroughCommandChangeAttributes class

Undo command for changing attributes' values from a vector layer in transaction group.

Base classes

class QgsVectorLayerUndoPassthroughCommand
Undo command for vector layer in transaction group mode.

Constructors, destructors, conversion operators

QgsVectorLayerUndoPassthroughCommandChangeAttributes(QgsVectorLayerEditBuffer* buffer, QgsFeatureId fid, const QgsAttributeMap& newValues, const QgsAttributeMap& oldValues = QgsAttributeMap())
Constructor for QgsVectorLayerUndoPassthroughCommandChangeAttributes.

Function documentation

QgsVectorLayerUndoPassthroughCommandChangeAttributes::QgsVectorLayerUndoPassthroughCommandChangeAttributes(QgsVectorLayerEditBuffer* buffer, QgsFeatureId fid, const QgsAttributeMap& newValues, const QgsAttributeMap& oldValues = QgsAttributeMap())

Constructor for QgsVectorLayerUndoPassthroughCommandChangeAttributes.

Parameters
buffer associated edit buffer
fid feature ID of feature
newValues New values for attributes
oldValues Old values for attributes