16 #ifndef QGSVECTORLAYERUNDOPASSTHROUGHCOMMAND_H
17 #define QGSVECTORLAYERUNDOPASSTHROUGHCOMMAND_H
57 bool rollBackToSavePoint();
65 bool setSavePoint(
const QString &savePointId = QString() );
77 void setErrorMessage(
const QString &errorMessage );
84 QString errorMessage()
const;
90 bool mRecreateSavePoint;
111 void undo()
override;
112 void redo()
override;
143 void undo()
override;
144 void redo()
override;
169 void undo()
override;
170 void redo()
override;
198 void undo()
override;
199 void redo()
override;
204 const QVariant mNewValue;
205 const QVariant mOldValue;
228 void undo()
override;
229 void redo()
override;
255 void undo()
override;
256 void redo()
override;
280 void undo()
override;
281 void redo()
override;
306 void undo()
override;
307 void redo()
override;
311 const QString mNewName;
312 const QString mOldName;
335 void undo()
override;
336 void redo()
override;
341 bool mUndone =
false;
Encapsulate a field in an attribute table or data source.
A geometry is the spatial representation of a feature.
This class allows including a set of layers in a database-side transaction, provided the layer data p...
Base class for undo commands within a QgsVectorLayerEditBuffer.
Undo command for adding attri to a vector layer in transaction group.
Undo command for adding a feature to a vector layer in transaction group mode.
QgsFeatureList features() const
List of features (added feaures can be modified by default values from database)
Undo command for changing attr value from a vector layer in transaction group.
Undo command for changing attributes' values from a vector layer in transaction group.
Undo command for changing feature geometry from a vector layer in transaction group.
Undo command for deleting attri of a vector layer in transaction group.
Undo command for deleting features from a vector layer in transaction group.
Undo command for deleting attri of a vector layer in transaction group.
Undo command for running a specific sql query in transaction group.
Undo command for vector layer in transaction group mode.
bool hasError() const
Returns error status.
QMap< int, QVariant > QgsAttributeMap
QList< QgsFeature > QgsFeatureList
QSet< QgsFeatureId > QgsFeatureIds
qint64 QgsFeatureId
64 bit feature ids negative numbers are used for uncommitted/newly added features