QGIS API Documentation
3.14.0-Pi (9f7028fd23)
|
Go to the documentation of this file.
16 #ifndef QGSVECTORLAYERUNDOCOMMAND_H
17 #define QGSVECTORLAYERUNDOCOMMAND_H
19 #include "qgis_core.h"
21 #include <QUndoCommand>
55 int id()
const override {
return -1; }
56 bool mergeWith(
const QUndoCommand * )
override {
return false; }
106 void undo()
override;
107 void redo()
override;
132 void undo()
override;
133 void redo()
override;
134 int id()
const override;
135 bool mergeWith(
const QUndoCommand * )
override;
163 void undo()
override;
164 void redo()
override;
191 void undo()
override;
192 void redo()
override;
216 void undo()
override;
217 void redo()
override;
225 QVariantMap mOldEditorWidgetConfig;
227 QMap<QgsFeatureId, QVariant> mDeletedValues;
251 void undo()
override;
252 void redo()
override;
Undo command for renaming an existing attribute of a vector layer.
Undo command for adding a new attribute to a vector layer.
Undo command for adding a feature to a vector layer.
QgsVectorLayerUndoCommand(QgsVectorLayerEditBuffer *buffer)
Constructor for QgsVectorLayerUndoCommand.
QgsVectorLayer * layer()
Returns the layer associated with the undo command.
Undo command for modifying the geometry of a feature from a vector layer.
Undo command for removing an existing attribute from a vector layer.
Base class for undo commands within a QgsVectorLayerEditBuffer.
Undo command for deleting a feature from a vector layer.
bool mergeWith(const QUndoCommand *) override
Undo command for modifying an attribute of a feature from a vector layer.