Hi,
I have a MDI app and want to capture when the user clicks the close button on the main window ( x button ), is there a signal for this I can capture in my main app?
Thanks,
Steve
Printable View
Hi,
I have a MDI app and want to capture when the user clicks the close button on the main window ( x button ), is there a signal for this I can capture in my main app?
Thanks,
Steve
No, there is no such signal. You have to reimplement closeEvent() for the window. If you want to avoid subclassing, you can of course apply an event filter. If you ignore() the event, the window will not be closed.