[Qgis-user] Shortcut letter for pan up/down/left/right
Richard Duivenvoorde
rdmailings at duif.net
Sun Apr 11 23:41:17 PDT 2021
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
More information about the Qgis-user
mailing list