Subgroup: Vector

Class: QgsVectorLayerUndoPassthroughCommandAddFeatures

class qgis.core.QgsVectorLayerUndoPassthroughCommandAddFeatures

Bases: qgis._core.QgsVectorLayerUndoPassthroughCommand

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

New in version 3.0: Methods

actionText
child
childCount
errorMessage
features List of features (added feaures can be modified by default values from database)
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()
features(self) → object

List of features (added feaures can be modified by default values from database)

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