Details
-
Technical task
-
Resolution: Fixed
-
P1: Critical
-
None
-
None
-
-
2996ca031efcd97ef9866186ae53e96ed75c9fbf
Description
As a user,
I would like QKeySequenceEdit to block the processing of hotkeys while recording,
so that the new hotkey being recorded is not getting handles (e.g. cmd+q does not close the Qt app in this mode).
Is this already possible to achieve? I think that modal dialogs work ok for example. Otherwise, my only idea is to register an event filter on my main window to swallow the key presses, hotkeys, etc, and then remove that on editingFinished. But QKeySequenceEdit (or QLineEdit for that matter) does not seem to offer a signal for "editing started".
How would you advise me to achieve my use case explained above? Thanks.