I have a cut/copy/paste menu in my QMainWindow, and I've set the standard shortcuts. I have a number of child windows of different types.
When, for example, Ctrl+C is pressed in one of the child windows, I would like the keyPressEvent to be called first in that child window. But that's not what happens... instead the main window takes over.
My workaround so far has been for the main window to figure out who has the focus and then pass the event back down - but I don't want to do that any more.
What's the right way to handle this? Any suggestions?
Bookmarks