Class: QgsTrackedVectorLayerTools¶
-
class
qgis.core.
QgsTrackedVectorLayerTools
¶ Bases:
QgsVectorLayerTools
Constructor for QgsTrackedVectorLayerTools.
Methods
- param layer
- param layer
Delete all features which have been added via this object.
- param layer
Set the vector layer tools that will be used to interact with the data
- param layer
- param layer
-
addFeature
(self, layer: QgsVectorLayer, defaultValues: Dict[int, Any], defaultGeometry: QgsGeometry, feature: QgsFeature) → bool¶ - Parameters
layer (QgsVectorLayer) –
defaultValues (Dict[int) –
defaultGeometry (QgsGeometry) –
feature (QgsFeature) –
- Return type
bool
-
childEvent
(self, QChildEvent)¶
-
connectNotify
(self, QMetaMethod)¶
-
copyMoveFeatures
(self, layer: QgsVectorLayer, request: QgsFeatureRequest, dx: float = 0, dy: float = 0, errorMsg: str = '', topologicalEditing: bool = False, topologicalLayer: QgsVectorLayer = None) → bool¶ - Parameters
layer (QgsVectorLayer) –
request (QgsFeatureRequest) –
dx (float = 0) –
dy (float = 0) –
errorMsg (str = '') –
topologicalEditing (bool = False) –
topologicalLayer (
QgsVectorLayer
= None) –
- Return type
bool
-
customEvent
(self, QEvent)¶
-
disconnectNotify
(self, QMetaMethod)¶
-
isSignalConnected
(self, QMetaMethod) → bool¶
-
receivers
(self, PYQT_SIGNAL) → int¶
-
rollback
(self)¶ Delete all features which have been added via this object.
-
saveEdits
(self, layer: QgsVectorLayer) → bool¶ - Parameters
layer (QgsVectorLayer) –
- Return type
bool
-
sender
(self) → QObject¶
-
senderSignalIndex
(self) → int¶
-
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
layer (QgsVectorLayer) –
allowCancel (bool) –
- Return type
bool
-
timerEvent
(self, QTimerEvent)¶