|
Isis Developer Reference
|
Go to the documentation of this file. 1 #ifndef ViewportMainWindow_h
2 #define ViewportMainWindow_h
69 return p_activeToolbar;
90 std::map<QString, QMenu *> p_menus;
91 std::string p_appName;
void closeWindow(QCloseEvent *event=NULL)
Signal called when the window receives a close event.
QMenu * getMenu(const QString &name)
Returns the menu with menu name = name.
Definition: ViewportMainWindow.cpp:87
TrackTool * getTrackTool()
Definition: ViewportMainWindow.h:78
virtual ~ViewportMainWindow()
Definition: ViewportMainWindow.cpp:55
Workspace * workspace()
Returns the current workspace.
Definition: ViewportMainWindow.h:58
void resetWarning(void)
Slot which receives the message to reset warning status.
Definition: ViewportMainWindow.cpp:74
QToolBar * activeToolBar()
Returns the active toolbar.
Definition: ViewportMainWindow.h:68
bool confirmClose()
Confirms that the user wishes toc lose the Workspace.
Definition: Workspace.cpp:267
virtual void closeEvent(QCloseEvent *event)
This method is overridden so that we can be sure to write the current settings of the Main window.
Definition: MainWindow.cpp:37
This was called the Qisis MainWindow.
Definition: ViewportMainWindow.h:43
ToolPad * toolPad()
Returns the toolpad.
Definition: ViewportMainWindow.h:73
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:115
QToolBar * permanentToolBar()
Returns the permanent toolbar.
Definition: ViewportMainWindow.h:63
virtual void readSettings(QSize defaultSize=QSize())
This method ensure that the settings get written even if the Main window was only hidden,...
Definition: MainWindow.cpp:80
Definition: Workspace.h:78
Base class for the Qisis main windows.
Definition: MainWindow.h:24
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
ViewportMainWindow(QString title, QWidget *parent=0)
Constructs a ViewportMainWindow object with windowTitle = title.
Definition: ViewportMainWindow.cpp:18
void displayWarning(std::string &pStr, const std::string &pExStr)
Slot which receives the warning signal.
Definition: ViewportMainWindow.cpp:65