Subgroup: Vector

Class: QgsVectorLayerUndoPassthroughCommandAddAttribute

class qgis.core.QgsVectorLayerUndoPassthroughCommandAddAttribute

Bases: qgis._core.QgsVectorLayerUndoPassthroughCommand

Undo command for adding attri to a vector layer in transaction group.

New in version 3.0: Methods

actionText
child
childCount
errorMessage
hasError Returns error status
id
isObsolete
layer Returns the layer associated with the undo command
mergeWith
redo
rollBackToSavePoint
setError
setErrorMessage
setObsolete
setSavePoint
setText
text
undo

Attributes

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