AFAIK when using Qt you need to specify those shortcuts by hand with
'&' char - pass addMenu("&File") to make a menu item with F as
shortcut.
Maybe you do quite the same in your code when create top-level menu?2019-09-20 17:59 GMT+03:00, Edward K. Ream <[email protected]>: > On Fri, Sep 20, 2019 at 9:47 AM gar <[email protected]> wrote: > >> I'd love to use those hotkeys as commands shortcut but they are busy with >> some never-used functions like menu actions. >> How can I reassign them to something i really need? >> > > The never-used functions are placeholders. This is an operating system > "feature". > > --trace=keys shows that Leo never receives Alt keys related to menus. > Depending on your OS it may be possible to override this behavior. > > This behavior is similar to Shift-Ctrl-0. There are, supposedly, ways to > override such keys on Windows, but I have never found a workaround that > survives a reboot. > > Edward > > -- > You received this message because you are subscribed to the Google Groups > "leo-editor" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/leo-editor/CAMF8tS3i3LV2eiQETsrc1Wc5Fq8R_T4%3DEBkBxoULCwa%3DtbknrQ%40mail.gmail.com. > -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/CAC%2B8SVykepKXVZSnHQTwcDrbASJKKxPOgR4O4USTSXYcrMhrRA%40mail.gmail.com.
