Документ взят из кэша поисковой машины. Адрес оригинального документа : http://astro.uni-altai.ru/~aw/stellarium/api/classStelMainWindow.html
Дата изменения: Unknown
Дата индексирования: Fri Feb 28 07:30:28 2014
Кодировка:

Поисковые слова: viking 2
Stellarium: StelMainWindow Class Reference
Stellarium 0.12.3
List of all members | Public Slots | Public Member Functions | Static Public Member Functions | Protected Member Functions
StelMainWindow Class Reference

Reimplement a QMainWindow for Stellarium. More...

#include <StelMainWindow.hpp>

Public Slots

void toggleFullScreen ()
 Alternate fullscreen mode/windowed mode if possible. More...
 
bool getFullScreen () const
 Get whether fullscreen is activated or not. More...
 
void setFullScreen (bool)
 Set whether fullscreen is activated or not. More...
 

Public Member Functions

void init (QSettings *settings)
 Performs various initialization including the init of the StelMainGraphicsView instance. More...
 
void deinit ()
 
void initTitleI18n ()
 Set the application title for the current language. More...
 

Static Public Member Functions

static StelMainWindowgetInstance ()
 Get the StelMainWindow singleton instance. More...
 

Protected Member Functions

virtual void closeEvent (QCloseEvent *event)
 Reimplemented to delete textures before the renderer disappears. More...
 

Detailed Description

Reimplement a QMainWindow for Stellarium.

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

Definition at line 29 of file StelMainWindow.hpp.

Member Function Documentation

virtual void StelMainWindow::closeEvent ( QCloseEvent *  event)
protectedvirtual

Reimplemented to delete textures before the renderer disappears.

bool StelMainWindow::getFullScreen ( ) const
slot

Get whether fullscreen is activated or not.

static StelMainWindow& StelMainWindow::getInstance ( )
inlinestatic

Get the StelMainWindow singleton instance.

Returns
the StelMainWindow singleton instance

Definition at line 37 of file StelMainWindow.hpp.

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.


The documentation for this class was generated from the following file: