How to make QKeySequenceEdit capture Tab?
-
I'd like my QKeySequenceEdit to be able to capture the Tab key for reasons of improved accessibility, but unfortunately that just makes the focus shift. Is this possible to do?
@Vadi2 That's just not supported out of the box. You can try to override the
keyPressEventto handle that particular case yourself.Out of curiosity - how is that suppose to improve accessibility? If the edit swallows tab key how do you navigate that ui with just keyboard? How do you move focus out of that QKeySequenceEdit ? Sounds like detrimental to accessibility actually.