Hey all,
I would like to execute a QDialog when the user close the main window of the application (by clicking on the cross at the top right of the window for most people). How could I do that?
thanx in advance
Pat
Hey all,
I would like to execute a QDialog when the user close the main window of the application (by clicking on the cross at the top right of the window for most people). How could I do that?
thanx in advance
Pat
Override mainwindow's closeEvent(), launch the dialog in there and possibly accept or ignore the event according to the dialog result.
J-P Nurmi
patcito (1st June 2006)
Bookmarks