Re: [QGIS-Developer] Temporarily disable map canvas right click showing Copy Coordinates

2023-04-13 Thread Jacky Volpes via QGIS-Developer
: [QGIS-Developer] Temporarily disable map canvas right click showing Copy Coordinates I am not using QgsMapTool. T o capute mouse events, I declared my class as class AoiSizeValidator(QWidget): And added def eventFilter(self, source, event): with code that captures mouse click events. I tried

Re: [QGIS-Developer] Temporarily disable map canvas right click showing Copy Coordinates

2023-04-13 Thread Catania, Luke A ERDC-RDE-GRL-VA CIV via QGIS-Developer
Dawson Cc: qgis-developer@lists.osgeo.org Subject: Re: [QGIS-Developer] Temporarily disable map canvas right click showing Copy Coordinates I am not using QgsMapTool. T o capute mouse events, I declared my class as class AoiSizeValidator(QWidget): And added def eventFilter(self, source, event

Re: [QGIS-Developer] Temporarily disable map canvas right click showing Copy Coordinates

2023-04-12 Thread Catania, Luke A ERDC-RDE-GRL-VA CIV via QGIS-Developer
right click event happens to end the edit session. -Original Message- From: Nyall Dawson Sent: Wednesday, April 12, 2023 9:09 PM To: Catania, Luke A ERDC-RDE-GRL-VA CIV Cc: qgis-developer@lists.osgeo.org Subject: Re: [QGIS-Developer] Temporarily disable map canvas right click showing

Re: [QGIS-Developer] Temporarily disable map canvas right click showing Copy Coordinates

2023-04-12 Thread Nyall Dawson via QGIS-Developer
On Thu, 13 Apr 2023 at 10:47, Catania, Luke A ERDC-RDE-GRL-VA CIV via QGIS-Developer wrote: > > I have an event filter on the map canvas that performs a commit during > feature editing when right clicking on the canvas. While this performs the > commit, it then pops up Copy Coordinates. I

[QGIS-Developer] Temporarily disable map canvas right click showing Copy Coordinates

2023-04-12 Thread Catania, Luke A ERDC-RDE-GRL-VA CIV via QGIS-Developer
I have an event filter on the map canvas that performs a commit during feature editing when right clicking on the canvas. While this performs the commit, it then pops up Copy Coordinates. I don't want the user to see this. I want my mouse click event to be recognized and not have QGIS use it