void closeWindow(QCloseEvent *event=NULL)
Signal called when the window receives a close event.
QToolBar * activeToolBar()
Returns the active toolbar.
TrackTool * mTrackTool
Pointer to application's Status bar.
std::map< QString, QMenu * > p_menus
Map of qstrings to menus.
QToolBar * permanentToolBar()
Returns the permanent toolbar.
QToolBar * p_activeToolbar
The active toolbar.
This was called the Qisis MainWindow.
void displayWarning(std::string &pStr, const std::string &pExStr)
Slot which receives the warning signal.
QMenu * getMenu(const QString &name)
Returns the menu with menu name = name.
Workspace * workspace()
Returns the current workspace.
void resetWarning(void)
Slot which receives the message to reset warning status.
virtual void closeEvent(QCloseEvent *event)
This class is called when a close event occurs, it emits a signal and ignores the close event...
Base class for the Qisis main windows.
ViewportMainWindow(QString title, QWidget *parent=0)
Constructs a ViewportMainWindow object with windowTitle = title.