Class: QgsVectorLayerUndoPassthroughCommandChangeAttributes

class qgis.core.QgsVectorLayerUndoPassthroughCommandChangeAttributes(buffer: QgsVectorLayerEditBuffer, fid: int, newValues: Dict[int, Any], oldValues: Dict[int, Any] = {})

Bases: qgis._core.QgsVectorLayerUndoPassthroughCommand

Constructor for QgsVectorLayerUndoPassthroughCommandChangeAttributes

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

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

New in version 3.0: Enums

Methods

errorMessage
redo
rollBackToSavePoint
setError
setErrorMessage
setSavePoint
undo

Signals

Attributes

errorMessage()
redo(self)
rollBackToSavePoint()
setError()
setErrorMessage()
setSavePoint()
undo(self)