Class: QgsVectorLayerUndoPassthroughCommandChangeAttributes¶
Undo command for changing attributes’ values from a vector layer in a transaction group.
Class Hierarchy¶
Base classes¶
Undo command for vector layer in a transaction group mode. |
|
Base class for undo commands within a |
|
- class qgis.core.QgsVectorLayerUndoPassthroughCommandChangeAttributes[source]¶
Bases:
QgsVectorLayerUndoPassthroughCommand
- __init__(buffer: QgsVectorLayerEditBuffer | None, fid: int, newValues: Dict[int, Any], oldValues: Dict[int, Any] = {})
Constructor for QgsVectorLayerUndoPassthroughCommandChangeAttributes
- Parameters:
buffer (Optional[QgsVectorLayerEditBuffer]) – associated edit buffer
fid (int) – feature ID of feature
newValues (Dict[int, Any]) – New values for attributes
oldValues (Dict[int, Any] = {}) – Old values for attributes