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;
Undo command for deleting attri of a vector layer in transaction group.
QSet< QgsFeatureId > QgsFeatureIds
Undo command for deleting attri of a vector layer in transaction group.
QList< QgsFeature > QgsFeatureList
Base class for undo commands within a QgsVectorLayerEditBuffer.
A geometry is the spatial representation of a feature.
Undo command for vector layer in transaction group mode.
Undo command for adding attri to a vector layer in transaction group.
Undo command for changing attr value from a vector layer in transaction group.
Undo command for changing feature geometry from a vector layer in transaction group.
QMap< int, QVariant > QgsAttributeMap
Undo command for running a specific sql query in transaction group.
Encapsulate a field in an attribute table or data source.
QgsFeatureList features() const
List of features (added feaures can be modified by default values from database)
Undo command for deleting features from a vector layer in transaction group.
Undo command for changing attributes' values from a vector layer in transaction group.
bool hasError() const
Returns error status.
This class allows including a set of layers in a database-side transaction, provided the layer data p...
Undo command for adding a feature to a vector layer in transaction group mode.