Class: QgsVectorLayerUndoPassthroughCommandChangeAttributes¶
-
class
qgis.core.
QgsVectorLayerUndoPassthroughCommandChangeAttributes
(buffer: QgsVectorLayerEditBuffer, fid: int, newValues: Dict[int, Any], oldValues: Dict[int, Any] = {})¶ Bases:
QgsVectorLayerUndoPassthroughCommand
Constructor for QgsVectorLayerUndoPassthroughCommandChangeAttributes
- Parameters
buffer (QgsVectorLayerEditBuffer) – associated edit buffer
fid (int) – feature ID of feature
newValues (Dict[int) – New values for attributes
oldValues (Dict[int) – Old values for attributes
Undo command for changing attributes’ values from a vector layer in transaction group.
-
errorMessage
()¶
-
redo
(self)¶
-
rollBackToSavePoint
()¶
-
setError
()¶
-
setErrorMessage
()¶
-
setSavePoint
()¶
-
undo
(self)¶