Hi,
How can I call a destructor when I close the Main Window?
Hi,
How can I call a destructor when I close the Main Window?
Use the setAttribute method to set Qt::WA_DeleteOnClose to true.
The destructor should then be automatically called when the MainWindow is closed.
sabeesh (6th August 2007)
Bookmarks