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
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.
lemos (15th October 2007), steg90 (25th September 2007), WinchellChung (18th March 2008)
Bookmarks