Isis 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. | |
void | resetWarning (void) |
Slot which receives the message to reset warning status. | |
Signals | |
void | closeWindow (QCloseEvent *event=NULL) |
Signal called when the window receives a close event. | |
Public Member Functions | |
ViewportMainWindow (QString title, QWidget *parent=0) | |
Constructs a ViewportMainWindow object with windowTitle = title. | |
virtual | ~ViewportMainWindow () |
Workspace * | workspace () |
Returns the current workspace. | |
QToolBar * | permanentToolBar () |
Returns the permanent toolbar. | |
QToolBar * | activeToolBar () |
Returns the active toolbar. | |
ToolPad * | toolPad () |
Returns the toolpad. | |
QMenu * | getMenu (const QString &name) |
Returns the menu with menu name = name. | |
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. | |
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. | |
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.
|
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 |
|
inline |
|
inline |
Returns the permanent toolbar.
|
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().
|
protectedinherited |
References _FILEINFO_, and Isis::IException::Programmer.
Referenced by Isis::TableMainWindow::readColumnSettings(), Isis::TableMainWindow::readItemSettings(), Isis::BlinkTool::readSettings(), Isis::MainWindow::readSettings(), Isis::BlinkTool::writeSettings(), and Isis::TableMainWindow::writeSettings().
|
staticinherited |
References _FILEINFO_, and Isis::IException::Programmer.
|
inline |
Returns the toolpad.
|
inline |
Returns the current workspace.