[Development] QKeySequenceEdit questions

Laszlo Papp lpapp at kde.org
Wed May 11 16:02:21 CEST 2022


1. I would like QKeySequenceEdit to block the processing of hotkeys while
recording, so that the new hotkey being recorded is not getting handled
(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. But in my case, I am not using a model dialog.

Here is a testbed where you can reproduce the issue:

2. Is it possible to configure QKeySequenceEdit not to support multiple
keypresses as a shortcut for an action? It seems to be the default
behaviour and it feels a bit odd at first. At least, not how we would like
to use this. I am referring to the "A, B, C" setup that is possible. If
not, is this something that should be configurable?


Kind regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20220511/d598c280/attachment.htm>

More information about the Development mailing list