Open igordmn opened 3 years ago
Hi, are there any updates on this issue? Is my understanding correct that the only way to create a global shortcut right now is to use the mentioned library? By global I mean when window is out of focus, e.g. minimized
For api reference, see QShortcut and QKeyReference https://doc.qt.io/qt-5/qshortcut.html QKeyReference has a constructor that can take between 1-4 keys, so no need for vector or set.
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.
Here we implemented shortcuts for Window Menu.
Currently we support only mainstream shortcuts [Ctrl]+[Shift]+[Alt]+[Meta]+Key
Investigate how we can support arbitrary shortcuts that works even if we press some key outside of the our application:
To do that, we need to:
class KeySet(private val keys: Set) : Set
KeyShortcut(Key.CtrlLeft + Key.C, Key.CtrlRight + Key.C)