Class: QgsVectorLayerUndoPassthroughCommandChangeGeometry

class qgis.core.QgsVectorLayerUndoPassthroughCommandChangeGeometry(buffer: QgsVectorLayerEditBuffer, fid: int, geom: QgsGeometry)

Bases: qgis._core.QgsVectorLayerUndoPassthroughCommand

Constructor for QgsVectorLayerUndoPassthroughCommandChangeGeometry

Parameters:
  • buffer – associated edit buffer
  • fid – feature ID of feature to change
  • geom – new geometru

Undo command for changing feature geometry from a vector layer in transaction group.

New in version 3.0: Methods

errorMessage
redo
rollBackToSavePoint
setError
setErrorMessage
setSavePoint
undo

Signals

Attributes

errorMessage()
redo(self)
rollBackToSavePoint()
setError()
setErrorMessage()
setSavePoint()
undo(self)