Class: QgsVectorLayerUndoPassthroughCommandAddFeatures

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

Class Hierarchy

Inheritance diagram of qgis.core.QgsVectorLayerUndoPassthroughCommandAddFeatures

Base classes

QgsVectorLayerUndoPassthroughCommand

Undo command for vector layer in a transaction group mode.

QgsVectorLayerUndoCommand

Base class for undo commands within a QgsVectorLayerEditBuffer.

QUndoCommand

Methods

features

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

class qgis.core.QgsVectorLayerUndoPassthroughCommandAddFeatures[source]

Bases: QgsVectorLayerUndoPassthroughCommand

__init__(buffer: QgsVectorLayerEditBuffer | None, features: Iterable[QgsFeature])

Constructor for QgsVectorLayerUndoPassthroughCommandAddFeatures

Parameters:
features(self) List[QgsFeature][source]

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

Return type:

List[QgsFeature]