keyPressEvent() is not received in GraphicsItem/GraphicsScene
Hello,
I am facing a strange behavior in my application. I have set Japanese as input language and Hiragana as input method. I have reimplemented keyPressEvent in MyGraphicsItem (inherited from QGraphicsTextItem) and MyCustomScene ( inherited from QGraphicsScene). The keyPressEvent is not delivered for characters and numbers, while it is delivered for other keys (Ctrl, Alt, Backspace, Enter, etc).
Is there anything needs to be done for Japanese language? Any help will be appreciated.
Thanks in advance.
Sandip
Re: keyPressEvent() is not received in GraphicsItem/GraphicsScene
I have tested it with sample QWidget and found that it is also not receiving keyPressEvent if we will change input method to "Hiragana".