[Qgis-user] Shortcut letter for pan up/down/left/right
Karl Magnus Jönsson
Karl-Magnus.Jonsson at kristianstad.se
Sun Apr 11 23:47:00 PDT 2021
Hi!
I often press space for panning while digitizing. Is that an option?
Karl-Magnus
-----Ursprungligt meddelande-----
Från: Qgis-user <qgis-user-bounces at lists.osgeo.org> För Richard Duivenvoorde
Skickat: den 12 april 2021 08:41
Till: qgis-user at lists.osgeo.org
Ämne: Re: [Qgis-user] Shortcut letter for pan up/down/left/right
On 4/11/21 9:24 PM, Lene Fischer wrote:
> Hi
>
> While digitizing I want to use keyboard arrow up/down. But the are on the right side of my keyboard.
>
> How can I assign WADS keys as up/down ect.
Hi Lene,
I think(!) these are hardcoded:
https://github.com/qgis/QGIS/blob/master/src/gui/qgsmapcanvas.cpp#L1723-L1745
so you cannot change them using 'Settings / Keyboard Shortcuts' (?).
Most actions using keyboard shortcuts are rea 'QActions' so attached to the real activating of an QAction. Your key-clicks are more 'helper' keys, calling mapCanvas.setCenter ...?
Maybe a dev can answer the question: IS it possible to put these kind of PressEvents in the list of Keyboard Shortcuts?
Else maybe something is possible on Operating System level, but that is probably too much...
Regards,
Richard Duivenvoorde
_______________________________________________
Qgis-user mailing list
Qgis-user at lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
More information about the Qgis-user
mailing list