Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to get a signal after a non-active sub-window is closed?
NotNypical last edited by
When the active window in QMdiArea is changed, subWindowActivated is emitted and the app gets a menu update.
But how to get a signal to update the menu after a non-active sub-window is closed?
To emit a signal in closeEvent() doesn't help. It's send before the window is closed.
JonB last edited by
I don't understand whose
closeEvent()you are talking about, or what the issue is.
Anyway see https://stackoverflow.com/questions/8818297/qt-how-to-know-when-a-qmdisubwindow-is-closed, which discusses various possibilities include