[QGIS-Developer] keyPressEvent on QgsMapTool

Poltini Roberto Roberto.Poltini at gruppoiren.it
Wed Feb 21 06:54:36 PST 2018


Hi devs,
   I am using an object derived by QgsMapTool class (python, qgis 2.18 on window).
I need to use the keyPressEvent function of QgsMapTool.
I cannot receive any event if I press some keys for example “a”, “c”, “d”, “p”, “x”, “y” keys.
The other keys works fine.
Is there anybody who can help me ?

Thank you

Roberto Poltini
________________________________
Per essere informati sulle novità del Gruppo Iren, vi invitiamo a registrarvi alla nostra mailing list, all’indirizzo "http://www.gruppoiren.it/"<http://www.gruppoiren.it/> .

È possibile, inoltre, avanzare nuove idee e progetti per il territorio e seguire quelli già attivi nei Comitati Territoriali del Gruppo Iren, consultando "http://www.Irencollabora.it"<http://www.Irencollabora.it>

You can also suggest new ideas and initiatives for the territory and view those already active in the Iren Group Territorial Committees "http://www.Irencollabora.it"<http://www.Irencollabora.it>

Le informazioni contenute nella presente comunicazione e i relativi allegati possono essere riservate e sono, comunque, destinate esclusivamente alle persone o alla Società sopraindicati. La diffusione, distribuzione e/o copiatura del documento trasmesso da parte di qualsiasi soggetto diverso dal destinatario è proibita, sia ai sensi dell’art. 616 c.p. , che ai sensi del D.Lgs. n. 196/2003. Se avete ricevuto questo messaggio per errore, vi preghiamo di distruggerlo e di informare immediatamente il mittente.


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


More information about the QGIS-Developer mailing list