Class: QgsVectorLayerUndoCommandRenameAttribute¶
-
class
qgis.core.
QgsVectorLayerUndoCommandRenameAttribute
(buffer: QgsVectorLayerEditBuffer, fieldIndex: int, newName: str)¶ Bases:
qgis._core.QgsVectorLayerUndoCommand
Constructor for QgsVectorLayerUndoCommandRenameAttribute
- Parameters
buffer – associated edit buffer
fieldIndex – index of field to rename
newName – new name for field
Undo command for renaming an existing attribute of a vector layer.
-
redo
(self)¶
-
undo
(self)¶