Hi Luke,
If you have the vector layer object (say vlayer), you can listen to the
vlayer.editBuffer().geometryChanged() signal for example.
But it highly depends on the context.
Regards,
Jacky Volpes
Ingénieur SIG - Oslandia
Le 11/06/2024 à 01:48, Catania, Luke A ERDC-RDE-GRL-VA CIV via
QGIS-Developer a écrit :
Is there a signal emitted that I can have code execute after a feature
rotation is completed from the advanced digitizing toolbar?
I call the rotate tool via the code below and upon completing of the
rotate with a mouse click, I want to close the edit session.
def rotateFeature(self):
# Get all actions
actions = iface.mainWindow().findChildren(QAction)
# Check the action
action = [x for x in actions if
x.objectName()=='mActionRotateFeature'][0]
# Run the action
action.trigger()
Luke
_______________________________________________
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info:https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe:https://lists.osgeo.org/mailman/listinfo/qgis-developer
_______________________________________________
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer