Base class for the Qisis main windows.
Definition MainWindow.h:24
virtual void closeEvent(QCloseEvent *event)
This method is overridden so that we can be sure to write the current settings of the Main window.
Definition MainWindow.cpp:37
virtual ~MainWindow()
Free allocated memory by from this instance.
Definition MainWindow.cpp:25
MainWindow(QString title, QWidget *parent=0, Qt::WindowFlags flags=0)
Mainwindow constructor.
Definition MainWindow.cpp:15
virtual void readSettings(QSize defaultSize=QSize())
This method ensure that the settings get written even if the Main window was only hidden,...
Definition MainWindow.cpp:80
QString settingsFileName() const
Definition MainWindow.cpp:96