Class: QgsVectorLayerUndoPassthroughCommandRenameAttribute

class qgis.core.QgsVectorLayerUndoPassthroughCommandRenameAttribute(buffer: QgsVectorLayerEditBuffer, attr: int, newName: str)

Bases: qgis._core.QgsVectorLayerUndoPassthroughCommand

Constructor for QgsVectorLayerUndoCommandRenameAttribute

Parameters:
  • buffer – associated edit buffer
  • attr
  • newName

Undo command for deleting attri of 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)