Class: QgsVectorLayerUndoPassthroughCommandAddFeatures¶
-
class
qgis.core.
QgsVectorLayerUndoPassthroughCommandAddFeatures
(buffer: QgsVectorLayerEditBuffer, features: object)¶ Bases:
QgsVectorLayerUndoPassthroughCommand
Constructor for QgsVectorLayerUndoPassthroughCommandAddFeatures
- Parameters
buffer (QgsVectorLayerEditBuffer) – associated edit buffer
features (object) – features to add to layer
Undo command for adding a feature to a vector layer in transaction group mode.
Methods
List of features (added feaures can be modified by default values from database)
-
errorMessage
()¶
-
features
(self) → object¶ List of features (added feaures can be modified by default values from database)
- Return type
object
-
redo
(self)¶
-
rollBackToSavePoint
()¶
-
setError
()¶
-
setErrorMessage
()¶
-
setSavePoint
()¶
-
undo
(self)¶