Home · All Namespaces · All Classes · Functions · Coding Style · Scripting · Plugins · File Structure

StelMainWindow Class Reference

Reimplement a QMainWindow for Stellarium. More...

#include <StelMainWindow.hpp>

List of all members.

Public Slots

void toggleFullScreen ()
bool getFullScreen () const
void setFullScreen (bool)

Public Member Functions

void init (QSettings *settings)
void deinit ()
void initTitleI18n ()

Static Public Member Functions

static StelMainWindowgetInstance ()

Protected Member Functions

virtual void closeEvent (QCloseEvent *event)

Detailed Description

Reimplement a QMainWindow for Stellarium.

It is the class in charge of switching betwee fullscreen or windowed mode.

Member Function Documentation

static StelMainWindow& StelMainWindow::getInstance (  )  [inline, static]

Get the StelMainWindow singleton instance.

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::toggleFullScreen (  )  [slot]

Alternate fullscreen mode/windowed mode if possible.

bool StelMainWindow::getFullScreen (  )  const [slot]

Get whether fullscreen is activated or not.

void StelMainWindow::setFullScreen ( bool   )  [slot]

Set whether fullscreen is activated or not.

virtual void StelMainWindow::closeEvent ( QCloseEvent *  event  )  [protected, virtual]

Reimplemented to delete openGL textures before the GLContext disappears.

Generated on Mon Mar 22 09:55:39 2010 for Stellarium by  doxygen 1.5.5