Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to have QWidget grab key events before shortcut handler?
kitfox last edited by
I have a widget that needs to specially handle some key events that the main application is currently using shortcuts to interpret. I was hoping to grab the events before the shortcut handler did by overriding the event() method of my widget, but I'm still not getting them first. How do I do this?
Can you explain a bit more what you want to do exactly ?