[Qgis-user] QgsMapCanvas mouseclick
Simone Melis
simone.melis at leonardo-si.it
Mon Apr 22 07:58:44 PDT 2024
Hi,
i'm Simone Melis.
I' m using QGis API 3.26 on Ubuntu 20.04, to create an application GUI
using Qt 5.15.2
I created a QgsMapCanvas *mapCanvas and I can show it inside a
QGraphicsScene in my Qt project.
Moving mouse cursor inside the mapCanvas I can read lat/long coordinate.
But I also need to manage mouse click/release event inside the
mapCanvas. I can't find any method to get this.
Can you suggest me a solution?
Thanks,
Simone Melis
--
--
Questa email è stata esaminata alla ricerca di virus dal software antivirus Avast.
www.avast.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20240422/bc027525/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FirmaPosta_MelisSimone.jpg
Type: image/jpeg
Size: 19509 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20240422/bc027525/attachment.jpg>
More information about the QGIS-User
mailing list