QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
|
Go to the documentation of this file.
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 changing attributes' values from a vector layer in transaction group.
Undo command for changing feature geometry from a vector layer in transaction group.
QgsFeatureList features() const
List of features (added feaures can be modified by default values from database)
This class allows including a set of layers in a database-side transaction, provided the layer data p...
Undo command for vector layer in transaction group mode.
bool hasError() const
Returns error status.
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.
QList< QgsFeature > QgsFeatureList
QMap< int, QVariant > QgsAttributeMap
Undo command for deleting features from a vector layer in transaction group.
Undo command for deleting attri of a vector layer in transaction group.
QSet< QgsFeatureId > QgsFeatureIds
Base class for undo commands within a QgsVectorLayerEditBuffer.
A geometry is the spatial representation of a feature.
Undo command for running a specific sql query in transaction group.
Undo command for deleting attri of a vector layer in transaction group.
Undo command for changing attr value from a vector layer in transaction group.
qint64 QgsFeatureId
64 bit feature ids negative numbers are used for uncommitted/newly added features
Encapsulate a field in an attribute table or data source.