USGS

Isis 3.0 Developer's Reference (API)

Home

Isis::MosaicMainWindow Class Reference

#include <MosaicMainWindow.h>

Inherits Isis::MainWindow.

List of all members.

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 ()
QToolBarpermanentToolBar ()
QToolBaractiveToolBar ()
ToolPadtoolPad ()
QProgressBarprogressBar ()
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.

Detailed Description

Author:
????-??-?? Stacy Alley

Constructor & Destructor Documentation

Isis::MosaicMainWindow::MosaicMainWindow ( QString  title,
QWidget parent = 0 
)
Isis::MosaicMainWindow::~MosaicMainWindow (  )  [inline]

Member Function Documentation

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.

Parameters:
event 

Reimplemented in Isis::TableMainWindow, and Isis::ViewportMainWindow.

void Isis::MosaicMainWindow::closeMosaic (  )  [slot]
bool Isis::MosaicMainWindow::eventFilter ( QObject o,
QEvent *  e 
) [protected]

This event filter is installed in the constructor.

Parameters:
o 
e 
Returns:
bool

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  ) 
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.

Parameters:
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]
ToolPad* Isis::MosaicMainWindow::toolPad (  )  [inline]
QMenu* Isis::MosaicMainWindow::viewMenu (  )  const [inline]

Returns the View menu.

Returns:
QMenu*

The documentation for this class was generated from the following files: