Subgroup: other

Class: QgsTrackedVectorLayerTools

class qgis.core.QgsTrackedVectorLayerTools

Bases: qgis._core.QgsVectorLayerTools

Constructor for QgsTrackedVectorLayerTools.

Methods

addFeature
childEvent
connectNotify
copyMoveFeatures
customEvent
disconnectNotify
isSignalConnected
receivers
rollback Delete all features which have been added via this object.
saveEdits
sender
senderSignalIndex
setVectorLayerTools Set the vector layer tools that will be used to interact with the data
startEditing
stopEditing
timerEvent

Signals

Attributes

addFeature(self, layer: QgsVectorLayer, defaultValues: Dict[int, Any], defaultGeometry: QgsGeometry, feature: QgsFeature) → bool
childEvent()
connectNotify()
copyMoveFeatures(self, layer: QgsVectorLayer, request: QgsFeatureRequest, dx: float = 0, dy: float = 0, errorMsg: str = '') → bool
customEvent()
disconnectNotify()
isSignalConnected()
receivers()
rollback(self)

Delete all features which have been added via this object.

saveEdits(self, layer: QgsVectorLayer) → bool
sender()
senderSignalIndex()
setVectorLayerTools(self, tools: QgsVectorLayerTools)

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

startEditing(self, layer: QgsVectorLayer) → bool
stopEditing(self, layer: QgsVectorLayer, allowCancel: bool) → bool
timerEvent()