16 #ifndef QGSVECTORLAYERUNDOPASSTHROUGHCOMMAND_H 17 #define QGSVECTORLAYERUNDOPASSTHROUGHCOMMAND_H 55 bool rollBackToSavePoint();
63 bool setSavePoint(
const QString &savePointId = QString() );
75 void setErrorMessage(
const QString &errorMessage );
82 QString errorMessage()
const;
88 bool mRecreateSavePoint;
109 void undo()
override;
110 void redo()
override;
141 void undo()
override;
142 void redo()
override;
167 void undo()
override;
168 void redo()
override;
196 void undo()
override;
197 void redo()
override;
202 const QVariant mNewValue;
203 const QVariant mOldValue;
226 void undo()
override;
227 void redo()
override;
253 void undo()
override;
254 void redo()
override;
278 void undo()
override;
279 void redo()
override;
304 void undo()
override;
305 void redo()
override;
309 const QString mNewName;
310 const QString mOldName;
333 void undo()
override;
334 void redo()
override;
339 bool mUndone =
false;
Undo command for deleting attri of a vector layer in transaction group.
Undo command for deleting attri of a vector layer in transaction group.
QSet< QgsFeatureId > QgsFeatureIds
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.