Class: QgsTrackedVectorLayerTools

class qgis.core.QgsTrackedVectorLayerTools

Bases: QgsVectorLayerTools

Constructor for QgsTrackedVectorLayerTools.

Methods

addFeature

param layer

childEvent

connectNotify

copyMoveFeatures

param layer

customEvent

disconnectNotify

isSignalConnected

receivers

rollback

Delete all features which have been added via this object.

saveEdits

param layer

sender

senderSignalIndex

setVectorLayerTools

Set the vector layer tools that will be used to interact with the data

startEditing

param layer

stopEditing

param layer

timerEvent

addFeature(self, layer: QgsVectorLayer, defaultValues: Dict[int, Any], defaultGeometry: QgsGeometry, feature: QgsFeature) → bool
Parameters
Return type

bool

childEvent()
connectNotify()
copyMoveFeatures(self, layer: QgsVectorLayer, request: QgsFeatureRequest, dx: float = 0, dy: float = 0, errorMsg: str = '', topologicalEditing: bool = False, topologicalLayer: QgsVectorLayer = None) → bool
Parameters
Return type

bool

customEvent()
disconnectNotify()
isSignalConnected()
receivers()
rollback(self)

Delete all features which have been added via this object.

saveEdits(self, layer: QgsVectorLayer) → bool
Parameters

layer (QgsVectorLayer) –

Return type

bool

sender()
senderSignalIndex()
setVectorLayerTools(self, tools: QgsVectorLayerTools)

Set the vector layer tools that will be used to interact with the data

Parameters

tools (QgsVectorLayerTools) –

startEditing(self, layer: QgsVectorLayer) → bool
Parameters

layer (QgsVectorLayer) –

Return type

bool

stopEditing(self, layer: QgsVectorLayer, allowCancel: bool) → bool
Parameters
Return type

bool

timerEvent()