Isis 3 Programmer Reference
|
#include <MosaicMainWindow.h>
Public Slots | |
void | open () |
Calles MosaicWidget's open method which opens a cube file and displays the footprint in the graphics view. More... | |
void | openList () |
Opens a list of cube files instead of one at a time. More... | |
void | saveProject () |
Called from the file menu to save a project file. More... | |
void | saveProjectAs () |
Allows the user to save a project file. More... | |
void | loadProject () |
Allows users to select a project which is then read in and displayed in the qmos window. More... | |
void | closeMosaic () |
Public Member Functions | |
MosaicMainWindow (QString title, QWidget *parent=0) | |
QToolBar * | permanentToolBar () |
QToolBar * | activeToolBar () |
ToolPad * | toolPad () |
QProgressBar * | progressBar () |
QMenu * | viewMenu () const |
Returns the View menu. More... | |
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. More... | |
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. More... | |
Private Slots | |
void | enterWhatsThisMode () |
void | showHelp () |
void | updateMenuVisibility () |
Private Member Functions | |
void | readSettings (QSize defaultSize=QSize(800, 600)) |
This overriden method is called from the constructor so that when the Mosaicmainwindow is created, it know's it's size and location and the tool bar location. More... | |
void | setupMenus () |
Sets up the menus on the menu bar for the qmos window. More... | |
void | setupPvlToolBar () |
void | saveSettings2 () |
This overriden method is called when the MosaicMainWindow is closed or hidden to write the size and location settings (and tool bar location) to a config file in the user's home directory. More... | |
void | openFiles (QStringList cubeNames) |
bool | updateMenuVisibility (QMenu *menu) |
void | createController () |
void | displayController () |
virtual void | writeSettings () const |
This method is called when the Main window is closed or hidden to write the size and location settings to a config file in the user's home directory. More... | |
Private Attributes | |
bool | m_controllerVisible |
ToolPad * | m_toolpad |
Tool pad on this mainwindow. More... | |
QToolBar * | m_permToolbar |
Tool bar attached to mainwindow. More... | |
QToolBar * | m_activeToolbar |
The active toolbar. More... | |
QString | m_filename |
QProgressBar * | m_progressBar |
The mainwindow's progress bar. More... | |
QMenu * | m_viewMenu |
QMenu * | m_settingsMenu |
QMenu * | m_fileMenu |
QMenu * | m_exportMenu |
MosaicController * | m_mosaicController |
QList< QAction * > | m_actionsRequiringOpen |
QList< QAction * > | m_actionsRequiringClosed |
QList< Cube * > | m_openCubes |
QFileInfo | m_lastOpenedFile |
QSettings | m_settings |
QDockWidget * | m_fileListDock |
QDockWidget * | m_mosaicPreviewDock |
Definition at line 58 of file MosaicMainWindow.h.
|
protectedvirtualinherited |
This method is overridden so that we can be sure to write the current settings of the Main window.
event |
Reimplemented in Isis::ViewportMainWindow, and Isis::TableMainWindow.
Definition at line 37 of file MainWindow.cpp.
References Isis::MainWindow::writeSettings().
Referenced by Isis::TableMainWindow::closeEvent(), and Isis::ViewportMainWindow::closeEvent().
|
protected |
This event filter is installed in the constructor.
o | |
e |
Definition at line 153 of file MosaicMainWindow.cpp.
|
slot |
Allows users to select a project which is then read in and displayed in the qmos window.
Definition at line 713 of file MosaicMainWindow.cpp.
Referenced by setupMenus().
|
slot |
Calles MosaicWidget's open method which opens a cube file and displays the footprint in the graphics view.
Definition at line 275 of file MosaicMainWindow.cpp.
Referenced by setupMenus().
|
slot |
Opens a list of cube files instead of one at a time.
Definition at line 612 of file MosaicMainWindow.cpp.
References Isis::TextFile::GetLine(), and Isis::IException::Unknown.
Referenced by setupMenus().
|
privatevirtual |
This overriden method is called from the constructor so that when the Mosaicmainwindow is created, it know's it's size and location and the tool bar location.
Reimplemented from Isis::MainWindow.
Definition at line 651 of file MosaicMainWindow.cpp.
References Isis::MainWindow::readSettings().
|
slot |
Called from the file menu to save a project file.
Definition at line 698 of file MosaicMainWindow.cpp.
References saveProjectAs().
Referenced by setupMenus().
|
slot |
Allows the user to save a project file.
Definition at line 681 of file MosaicMainWindow.cpp.
Referenced by saveProject(), and setupMenus().
|
private |
This overriden method is called when the MosaicMainWindow is closed or hidden to write the size and location settings (and tool bar location) to a config file in the user's home directory.
Definition at line 674 of file MosaicMainWindow.cpp.
|
private |
Sets up the menus on the menu bar for the qmos window.
This should be the job of the widgets this application uses... inheritance off of something that says it has menu options probably. This should probably have open project, save project, close project, and exit. Projects need to be an accumulated file also, if we want them.
Definition at line 172 of file MosaicMainWindow.cpp.
References Isis::FileName::expanded(), loadProject(), open(), openList(), saveProject(), and saveProjectAs().
|
inline |
|
privatevirtualinherited |
This method is called when the Main window is closed or hidden to write the size and location settings to a config file in the user's home directory.
Definition at line 124 of file MainWindow.cpp.
Referenced by Isis::MainWindow::closeEvent().
|
private |
The active toolbar.
Definition at line 124 of file MosaicMainWindow.h.
|
private |
Tool bar attached to mainwindow.
Definition at line 123 of file MosaicMainWindow.h.
|
private |
The mainwindow's progress bar.
Definition at line 127 of file MosaicMainWindow.h.
|
private |
Tool pad on this mainwindow.
Definition at line 121 of file MosaicMainWindow.h.