virtual void readSettings(QSize defaultSize=QSize())
This method ensure that the settings get written even if the Main window was only hidden...
MainWindow(QString title, QWidget *parent=0, Qt::WindowFlags flags=0)
Mainwindow constructor.
virtual void closeEvent(QCloseEvent *event)
This method is overridden so that we can be sure to write the current settings of the Main window...
Base class for the Qisis main windows.
virtual void writeSettings() const
This method is called when the Main window is closed or hidden to write the size and location setting...
virtual ~MainWindow()
Free allocated memory by from this instance.