Isis Developer Reference
|
Base class for the Qisis main windows. More...
#include <MainWindow.h>
Public Member Functions | |
MainWindow (QString title, QWidget *parent=0, Qt::WindowFlags flags=Qt::WindowFlags()) | |
Mainwindow constructor. | |
virtual | ~MainWindow () |
Free allocated memory by from this instance. | |
Static Public Member Functions | |
static QString | settingsFileName (QString objectTitle) |
Protected Member Functions | |
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 void | readSettings (QSize defaultSize=QSize()) |
This method ensure that the settings get written even if the Main window was only hidden, not closed. | |
QString | settingsFileName () const |
Base class for the Qisis main windows.
Isis::MainWindow::MainWindow | ( | QString | title, |
QWidget * | parent = 0, | ||
Qt::WindowFlags | flags = Qt::WindowFlags() ) |
Mainwindow constructor.
title | |
parent | |
flags |
|
virtual |
Free allocated memory by from this instance.
|
protectedvirtual |
This method is overridden so that we can be sure to write the current settings of the Main window.
event |
Reimplemented in Isis::TableMainWindow, and Isis::ViewportMainWindow.
Referenced by Isis::TableMainWindow::closeEvent(), and Isis::ViewportMainWindow::closeEvent().
|
protectedvirtual |
This method ensure that the settings get written even if the Main window was only hidden, not closed.
event | This method is called from the constructor so that when the Main window is created, it know's it's size and location. |
References settingsFileName().
Referenced by Isis::PlotWindow::PlotWindow(), Isis::TableMainWindow::TableMainWindow(), and Isis::ViewportMainWindow::ViewportMainWindow().
|
protected |
|
static |
References _FILEINFO_, and Isis::IException::Programmer.