[Development] QKeySequenceEdit: Unable to assign tab

Laszlo Papp lpapp at kde.org
Fri Jun 24 18:03:43 CEST 2022


The things I have also tried:

1. bool eventFilter(QObject *, QEvent *) override { return false; } in the
QKeySequenceEdit class directly -> does not seem to make a difference.
2. Check if keyPressEvent handle is called. It is hit for any other keys
than the tab.
3. setFocusPolicy(Qt::NoFocus); on both widget instances -> does not make a
difference.

It seems that someone had the same issue in the past without getting down
to the root cause of the issue:
https://forum.qt.io/topic/67784/propagate-tab-key-from-delegate-to-custom-editor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20220624/0c91e16e/attachment.htm>


More information about the Development mailing list