Isis 3 Developer Reference
|
This was called the Qisis MainWindow. More...
#include <ViewportMainWindow.h>
Public Slots | |
void | displayWarning (std::string &pStr, const std::string &pExStr) |
Slot which receives the warning signal. More... | |
void | resetWarning (void) |
Slot which receives the message to reset warning status. More... | |
Signals | |
void | closeWindow (QCloseEvent *event=NULL) |
Signal called when the window receives a close event. More... | |
Public Member Functions | |
ViewportMainWindow (QString title, QWidget *parent=0) | |
Constructs a ViewportMainWindow object with windowTitle = title. More... | |
virtual | ~ViewportMainWindow () |
Workspace * | workspace () |
Returns the current workspace. More... | |
QToolBar * | permanentToolBar () |
Returns the permanent toolbar. More... | |
QToolBar * | activeToolBar () |
Returns the active toolbar. More... | |
ToolPad * | toolPad () |
Returns the toolpad. More... | |
QMenu * | getMenu (const QString &name) |
Returns the menu with menu name = name. More... | |
TrackTool * | getTrackTool () |
Static Public Member Functions | |
static QString | settingsFileName (QString objectTitle) |
Protected Member Functions | |
virtual void | closeEvent (QCloseEvent *event) |
This class is called when a close event occurs, it emits a signal and ignores the close event. More... | |
QString | settingsFileName () const |
virtual void | readSettings (QSize defaultSize=QSize()) |
This method ensure that the settings get written even if the Main window was only hidden, not closed. More... | |
This was called the Qisis MainWindow.
Now this is being subclassed from the mainwindow class which keeps track of the size and location of the qisis windows. qview and qnet are two applications that use WiewportMainWindow.
Isis::ViewportMainWindow::ViewportMainWindow | ( | QString | title, |
QWidget * | parent = 0 |
||
) |
Constructs a ViewportMainWindow object with windowTitle = title.
title | |
parent |
References Isis::Tool::addTo(), and Isis::MainWindow::readSettings().
|
virtual |
|
inline |
Returns the active toolbar.
Referenced by Isis::Tool::addTo().
|
protectedvirtual |
This class is called when a close event occurs, it emits a signal and ignores the close event.
event |
Reimplemented from Isis::MainWindow.
References Isis::MainWindow::closeEvent(), closeWindow(), and Isis::Workspace::confirmClose().
|
signal |
Signal called when the window receives a close event.
Referenced by closeEvent().
|
slot |
Slot which receives the warning signal.
Calls the Track Tool to display the warning status
pStr | - Warning message |
pExStr | - Propagated exception message |
References Isis::TrackTool::displayWarning().
QMenu * Isis::ViewportMainWindow::getMenu | ( | const QString & | name | ) |
Returns the menu with menu name = name.
name |
Referenced by Isis::Tool::addTo().
|
inline |
|
inline |
Returns the permanent toolbar.
Referenced by Isis::Tool::addTo().
|
protectedvirtualinherited |
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 ViewportMainWindow().
|
slot |
Slot which receives the message to reset warning status.
References Isis::TrackTool::resetStatusWarning().
|
staticinherited |
References _FILEINFO_, and Isis::IException::Programmer.
|
protectedinherited |
References _FILEINFO_, and Isis::IException::Programmer.
Referenced by Isis::TableMainWindow::readColumnSettings(), Isis::TableMainWindow::readItemSettings(), Isis::MainWindow::readSettings(), Isis::BlinkTool::readSettings(), Isis::BlinkTool::writeSettings(), and Isis::TableMainWindow::writeSettings().
|
inline |
Returns the toolpad.
Referenced by Isis::Tool::addTo().
|
inline |
Returns the current workspace.
Referenced by Isis::Tool::addTo().