1 #ifndef ViewportMainWindow_h
2 #define ViewportMainWindow_h
63 return p_activeToolbar;
71 QMenu *
getMenu(
const QString &name);
84 std::map<QString, QMenu *> p_menus;
85 std::string p_appName;
void closeWindow()
Signal called when the window receives a close event.
Definition: moc_ViewportMainWindow.cpp:140
QToolBar * activeToolBar()
Returns the active toolbar.
Definition: ViewportMainWindow.h:62
QToolBar * permanentToolBar()
Returns the permanent toolbar.
Definition: ViewportMainWindow.h:57
This was called the Qisis MainWindow.
Definition: ViewportMainWindow.h:37
void displayWarning(std::string &pStr, const std::string &pExStr)
Slot which receives the warning signal.
Definition: ViewportMainWindow.cpp:65
QMenu * getMenu(const QString &name)
Returns the menu with menu name = name.
Definition: ViewportMainWindow.cpp:87
ToolPad * toolPad()
Returns the toolpad.
Definition: ViewportMainWindow.h:67
Workspace * workspace()
Returns the current workspace.
Definition: ViewportMainWindow.h:52
void resetWarning(void)
Slot which receives the message to reset warning status.
Definition: ViewportMainWindow.cpp:74
virtual ~ViewportMainWindow()
Definition: ViewportMainWindow.cpp:55
Definition: Workspace.h:81
virtual void closeEvent(QCloseEvent *event)
This class is called when a close event occurs, it emits a signal and ignores the close event...
Definition: ViewportMainWindow.cpp:107
TrackTool * getTrackTool()
Definition: ViewportMainWindow.h:72
Base class for the Qisis main windows.
Definition: MainWindow.h:24
ViewportMainWindow(QString title, QWidget *parent=0)
Constructs a ViewportMainWindow object with windowTitle = title.
Definition: ViewportMainWindow.cpp:18