Base class for the Qisis main windows.
MainWindow(QString title, QWidget *parent=0, Qt::WindowFlags flags=Qt::WindowFlags())
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.
virtual ~MainWindow()
Free allocated memory by from this instance.
virtual void readSettings(QSize defaultSize=QSize())
This method ensure that the settings get written even if the Main window was only hidden,...
virtual void writeSettings() const
This method is called when the Main window is closed or hidden to write the size and location setting...