Class: QgsVectorLayerUndoCommand¶
-
class
qgis.core.
QgsVectorLayerUndoCommand
(buffer: QgsVectorLayerEditBuffer)¶ Bases:
PyQt5.QtWidgets.QUndoCommand
Constructor for QgsVectorLayerUndoCommand
- Parameters
buffer – associated edit buffer
Base class for undo commands within a QgsVectorLayerEditBuffer.
-
id
(self) → int¶
-
layer
(self) → QgsVectorLayer¶ Returns the layer associated with the undo command
-
mergeWith
(self, QUndoCommand) → bool¶