#include <MainWindow.h>
Public Member Functions | |
void | closeEvent (QCloseEvent *) |
MainWindow (const std::string &basedir="") | |
void | setupCommands () |
void | showHiResDialog () |
VolVis::Gui::MainWindow::MainWindow | ( | const std::string & | basedir = "" |
) |
Creates the main window by calling the parent constructor. Additionally creates the OpenGL render widget and makes its render context the current openGL context.
basedir | The location of the exe file (needed for opening help viewer) |
void VolVis::Gui::MainWindow::closeEvent | ( | QCloseEvent * | ) |
Closes the help contents before the main window is closed.
void VolVis::Gui::MainWindow::setupCommands | ( | ) |
The CommandFactory is equipped with the necessary objects owned by this class (e.g. the RenderWidget) This class also creates the menu and the dock widgets for adjusting render options. It connects all actions with the appropriate slots by using the CommandFactory.
void VolVis::Gui::MainWindow::showHiResDialog | ( | ) |
This opens the dialog for rendering a high resolution image to a file. The dialog has already been setup at initialization, and now is only made visible.