hi,
I have a QMainWindow hosting several subclassed QDockWidgets. I would now need to detect when one of the QDockWIdgets gets or looses focus.
There doesnt appear to be a signal for that, so i figured i have to catch the event somehow :
Qt Code:
{ Q_OBJECT public: .... //qt event handlers };To copy to clipboard, switch view to plain text mode
But the focusInEvent() never gets called. I am also worried that QDockWidget has or will have use for focusInEvent() itself, and i break its functionality.
How to do it properly?
Bookmarks