QgsVectorLayerUndoCommand class
Base class for undo commands within a QgsVectorLayerEditBuffer.
Contents
Derived classes
- class QgsVectorLayerUndoCommandAddAttribute
- Undo command for adding a new attribute to a vector layer.
- class QgsVectorLayerUndoCommandAddFeature
- Undo command for adding a feature to a vector layer.
- class QgsVectorLayerUndoCommandChangeAttribute
- Undo command for modifying an attribute of a feature from a vector layer.
- class QgsVectorLayerUndoCommandChangeGeometry
- Undo command for modifying the geometry of a feature from a vector layer.
- class QgsVectorLayerUndoCommandDeleteAttribute
- Undo command for removing an existing attribute from a vector layer.
- class QgsVectorLayerUndoCommandDeleteFeature
- Undo command for deleting a feature from a vector layer.
- class QgsVectorLayerUndoCommandRenameAttribute
- Undo command for renaming an existing attribute of a vector layer.
- class QgsVectorLayerUndoPassthroughCommand
- Undo command for vector layer in transaction group mode.
Constructors, destructors, conversion operators
- QgsVectorLayerUndoCommand(QgsVectorLayerEditBuffer* buffer)
- Constructor for QgsVectorLayerUndoCommand.
Public functions
- auto layer() -> QgsVectorLayer*
- Returns the layer associated with the undo command.
Protected variables
- QgsVectorLayerEditBuffer* mBuffer
- Associated edit buffer.
Function documentation
QgsVectorLayerUndoCommand:: QgsVectorLayerUndoCommand(QgsVectorLayerEditBuffer* buffer)
Constructor for QgsVectorLayerUndoCommand.
| Parameters | |
|---|---|
| buffer | associated edit buffer |