Is there a way to detect the selection of the edit menu?  I have a eventFilter 
on the map canvas that works great with a rectangle.  It detects the left mouse 
press to get the start point and as the mouse is moved, it calculates the area 
of the rectangle and if within a certain range will complete the polygons shape 
and save to the layer when the user right clicks on the map canvas.

I want the user to be able to draw other shapes allowed such as multisided 
polygons, circles, etc, so I want to be able to calculate the area of those 
shapes.  In order to do that I nee to detect what the user selected in the edit 
menu.
_______________________________________________
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] QG... Catania, Luke A ERDC-RDE-GRL-VA CIV via QGIS-Developer
    • [QGIS-Develope... Catania, Luke A ERDC-RDE-GRL-VA CIV via QGIS-Developer
      • Re: [QGIS-... Nyall Dawson via QGIS-Developer
        • Re: [Q... Giulio Fattori via QGIS-Developer
          • Re... Etienne Trimaille via QGIS-Developer
          • Re... Catania, Luke A ERDC-RDE-GRL-VA CIV via QGIS-Developer
            • ... Giulio Fattori via QGIS-Developer

Reply via email to