Class: QgsVectorLayerUndoPassthroughCommandDeleteAttribute

class qgis.core.QgsVectorLayerUndoPassthroughCommandDeleteAttribute(buffer: QgsVectorLayerEditBuffer, attr: int)

Bases: qgis._core.QgsVectorLayerUndoPassthroughCommand

Constructor for QgsVectorLayerUndoCommandDeleteAttribute

Parameters:
  • buffer – associated edit buffer
  • attr

Undo command for deleting attri of a vector layer in transaction group.

New in version 3.0: Methods

errorMessage
redo
rollBackToSavePoint
setError
setErrorMessage
setSavePoint
undo

Signals

Attributes

errorMessage()
redo(self)
rollBackToSavePoint()
setError()
setErrorMessage()
setSavePoint()
undo(self)