Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QGraphicsRectItem keyPressEvent problem
c.savur last edited by
I have a QGraphicsItem and it has child QGraphicsRectItems. I want to handle keyPressedEvent in the child items, but I am not able to catch keyboard input from child item.
When I set itemIsFocusable for parent item and reimplement keyPressedEvent() it works well for parent. But When I do the same thing some child it does not work.