![]() |
Stellarium 0.11.4 | ||
| Home · All Namespaces · All Classes · Functions · Coding Style · Scripting · Plugins · File Structure |
Reimplement a QMainWindow for Stellarium. More...
#include <StelMainWindow.hpp>
Public Slots | |
| void | toggleFullScreen () |
| Alternate fullscreen mode/windowed mode if possible. | |
| bool | getFullScreen () const |
| Get whether fullscreen is activated or not. | |
| void | setFullScreen (bool) |
| Set whether fullscreen is activated or not. | |
Public Member Functions | |
| void | init (QSettings *settings) |
| Performs various initialization including the init of the StelMainGraphicsView instance. | |
| void | deinit () |
| void | initTitleI18n () |
| Set the application title for the current language. | |
Static Public Member Functions | |
| static StelMainWindow & | getInstance () |
| Get the StelMainWindow singleton instance. | |
Protected Member Functions | |
| virtual void | closeEvent (QCloseEvent *event) |
| Reimplemented to delete openGL textures before the GLContext disappears. | |
Reimplement a QMainWindow for Stellarium.
It is the class in charge of switching betwee fullscreen or windowed mode.
| virtual void StelMainWindow::closeEvent | ( | QCloseEvent * | event | ) | [protected, virtual] |
Reimplemented to delete openGL textures before the GLContext disappears.
| bool StelMainWindow::getFullScreen | ( | ) | const [slot] |
Get whether fullscreen is activated or not.
| static StelMainWindow& StelMainWindow::getInstance | ( | ) | [inline, static] |
Get the StelMainWindow singleton instance.
| void StelMainWindow::init | ( | QSettings * | settings | ) |
Performs various initialization including the init of the StelMainGraphicsView instance.
| void StelMainWindow::initTitleI18n | ( | ) |
Set the application title for the current language.
This is useful for e.g. chinese.
| void StelMainWindow::setFullScreen | ( | bool | ) | [slot] |
Set whether fullscreen is activated or not.
| void StelMainWindow::toggleFullScreen | ( | ) | [slot] |
Alternate fullscreen mode/windowed mode if possible.
1.6.3