|
Isis 3.0 Developer's Reference (API) |
Home |
#include <MosaicMainWindow.h>
Inherits Isis::MainWindow.
Public Slots | |
| void | open () |
| Calles MosaicWidget's open method which opens a cube file and displays the footprint in the graphics view. | |
| void | openList () |
| Opens a list of cube files instead of one at a time. | |
| void | saveProject () |
| Called from the file menu to save a project file. | |
| void | saveProjectAs () |
| Allows the user to save a project file. | |
| void | loadProject () |
| Allows users to select a project which is then read in and displayed in the qmos window. | |
| void | closeMosaic () |
Public Member Functions | |
| MosaicMainWindow (QString title, QWidget *parent=0) | |
| ~MosaicMainWindow () | |
| QToolBar * | permanentToolBar () |
| QToolBar * | activeToolBar () |
| ToolPad * | toolPad () |
| QProgressBar * | progressBar () |
| QMenu * | viewMenu () const |
| Returns the View menu. | |
| void | saveSettings () |
| void | loadProject (QString filename) |
Static Public Member Functions | |
| static QString | settingsFileName (QString objectTitle) |
Protected Member Functions | |
| bool | eventFilter (QObject *o, QEvent *e) |
| This event filter is installed in the constructor. | |
| QString | settingsFileName () const |
| 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. | |
| Isis::MosaicMainWindow::MosaicMainWindow | ( | QString | title, | |
| QWidget * | parent = 0 | |||
| ) |
References Isis::TextFile::GetLine(), line, loadProject(), and Isis::IException::what().
| Isis::MosaicMainWindow::~MosaicMainWindow | ( | ) | [inline] |
| QToolBar* Isis::MosaicMainWindow::activeToolBar | ( | ) | [inline] |
| void Isis::MainWindow::closeEvent | ( | QCloseEvent * | event | ) | [protected, virtual, inherited] |
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.
| void Isis::MosaicMainWindow::closeMosaic | ( | ) | [slot] |
References Isis::MosaicController::saveSettings().
Referenced by eventFilter(), and loadProject().
| bool Isis::MosaicMainWindow::eventFilter | ( | QObject * | o, | |
| QEvent * | e | |||
| ) | [protected] |
This event filter is installed in the constructor.
| o | ||
| e |
References closeMosaic().
| void Isis::MosaicMainWindow::loadProject | ( | ) | [slot] |
Allows users to select a project which is then read in and displayed in the qmos window.
References closeMosaic().
Referenced by MosaicMainWindow().
| void Isis::MosaicMainWindow::loadProject | ( | QString | filename | ) |
References Isis::MosaicController::readProject().
| void Isis::MosaicMainWindow::open | ( | ) | [slot] |
Calles MosaicWidget's open method which opens a cube file and displays the footprint in the graphics view.
| void Isis::MosaicMainWindow::openList | ( | ) | [slot] |
Opens a list of cube files instead of one at a time.
References _FILEINFO_, Isis::TextFile::GetLine(), line, and Isis::IException::Unknown.
| QToolBar* Isis::MosaicMainWindow::permanentToolBar | ( | ) | [inline] |
| QProgressBar* Isis::MosaicMainWindow::progressBar | ( | ) | [inline] |
| void Isis::MainWindow::readSettings | ( | QSize | defaultSize = QSize() |
) | [protected, virtual, inherited] |
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 Isis::MainWindow::settingsFileName().
Referenced by Isis::PlotWindow::PlotWindow(), Isis::TableMainWindow::TableMainWindow(), and Isis::ViewportMainWindow::ViewportMainWindow().
| void Isis::MosaicMainWindow::saveProject | ( | ) | [slot] |
Called from the file menu to save a project file.
References Isis::MosaicController::saveProject(), and saveProjectAs().
| void Isis::MosaicMainWindow::saveProjectAs | ( | ) | [slot] |
Allows the user to save a project file.
References Isis::MosaicController::saveProject().
Referenced by saveProject().
| void Isis::MosaicMainWindow::saveSettings | ( | ) |
| QString Isis::MainWindow::settingsFileName | ( | ) | const [protected, inherited] |
| QString Isis::MainWindow::settingsFileName | ( | QString | objectTitle | ) | [static, inherited] |
References _FILEINFO_, and Isis::IException::Programmer.
| ToolPad* Isis::MosaicMainWindow::toolPad | ( | ) | [inline] |
| QMenu* Isis::MosaicMainWindow::viewMenu | ( | ) | const [inline] |
Returns the View menu.