Hi,
I have a QWidget subclass (call it Foo) that holds a child GraphicsView and GraphicsScene. I've added Foo as the central widget to a MainWindow object and cannot capture the key press event for Key_Up. I have a feeling this has to do with focus handling as I see all other key strokes. I've sniffed all the events to the Foo widget and can see QEvent::ShortcutOverride when the Up arrow is depressed and KeyRelease when the key is released.
The keyPressEvent() works perfectly fine in the GraphicsView.
Any thoughts on how to enable this?
Bookmarks