[Qgis-developer] before current layer change signal

francescoboccacci at libero.it francescoboccacci at libero.it
Sun Jan 3 06:57:55 PST 2016


Hi all,
Is there a event beforeChangeCurrentLayer in qgis api? i'm using qgis 2.8.5 version.
I would like to trigger Toggle Editing (if current layer is in editing mode) before change current layer.

Another question:
How can I "customize" Add Feature QMapTool (subclassing)  to add custom behaviour for click mouse event (for example print the coordinate of the first point) and leave the base behaviour as it is?

 

Thanks

Francesco 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20160103/d9baa15c/attachment.html>


More information about the Qgis-developer mailing list