Class: QgsVectorLayerUndoPassthroughCommandChangeAttribute

class qgis.core.QgsVectorLayerUndoPassthroughCommandChangeAttribute(buffer: QgsVectorLayerEditBuffer, fid: int, field: int, newValue: Any)

Bases: qgis._core.QgsVectorLayerUndoPassthroughCommand

Constructor for QgsVectorLayerUndoPassthroughCommandChangeAttribute

Parameters
  • buffer – associated edit buffer

  • fid – feature ID of feature

  • field

  • newValue

Undo command for changing attr value 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)