Class: QgsVectorLayerUndoPassthroughCommandChangeAttribute

Undo command for changing attr value from a vector layer in a transaction group.

Class Hierarchy

Inheritance diagram of qgis.core.QgsVectorLayerUndoPassthroughCommandChangeAttribute

Base classes

QgsVectorLayerUndoPassthroughCommand

Undo command for vector layer in a transaction group mode.

QgsVectorLayerUndoCommand

Base class for undo commands within a QgsVectorLayerEditBuffer.

QUndoCommand

class qgis.core.QgsVectorLayerUndoPassthroughCommandChangeAttribute[source]

Bases: QgsVectorLayerUndoPassthroughCommand

__init__(buffer: QgsVectorLayerEditBuffer | None, fid: int, field: int, newValue: Any)

Constructor for QgsVectorLayerUndoPassthroughCommandChangeAttribute

Parameters:
  • buffer (Optional[QgsVectorLayerEditBuffer]) – associated edit buffer

  • fid (int) – feature ID of feature

  • field (int)

  • newValue (Any)