Home · All Namespaces · All Classes · Functions · Coding Style · 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

 StelMainWindow (QWidget *parent)
void init ()

Static Public Member Functions

static StelMainWindowgetInstance ()

Protected Member Functions

virtual void closeEvent (QCloseEvent *event)
virtual void resizeEvent (QResizeEvent *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 (  ) 

Performs various initialization incluing the init of the StelMainGraphicsView instance.

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 Feb 2 17:23:48 2009 for Stellarium by  doxygen 1.5.5