Class: QgsVectorLayerUndoPassthroughCommandAddFeatures

class qgis.core.QgsVectorLayerUndoPassthroughCommandAddFeatures(buffer: QgsVectorLayerEditBuffer, features: object)

Bases: qgis._core.QgsVectorLayerUndoPassthroughCommand

Constructor for QgsVectorLayerUndoPassthroughCommandAddFeatures

Parameters:
  • buffer – associated edit buffer
  • features – features to add to layer

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

New in version 3.0: Enums

Methods

errorMessage
features List of features (added feaures can be modified by default values from database)
redo
rollBackToSavePoint
setError
setErrorMessage
setSavePoint
undo

Signals

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)