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

Поисковые слова: http www.m31.spb.ru news archivers
Stellarium: StelGuiBase Class Reference
Stellarium 0.12.3
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
StelGuiBase Class Referenceabstract

Abstract class defining the base interface for all GUIs. More...

#include <StelGuiBase.hpp>

Public Member Functions

virtual void init (QGraphicsWidget *topLevelGraphicsWidget, class StelAppGraphicsWidget *stelAppGraphicsWidget)
 
virtual void setStelStyle (const QString &section)=0
 Load color scheme matchin the section name. More...
 
virtual void setInfoTextFilters (const StelObject::InfoStringGroup &aflags)=0
 Get a pointer on the info panel used to display selected object info. More...
 
virtual const
StelObject::InfoStringGroup & 
getInfoTextFilters () const =0
 
virtual class QProgressBar * addProgressBar ()=0
 Add a new progress bar in the lower right corner of the screen. More...
 
virtual void forceRefreshGui ()
 
virtual void setVisible (bool b)=0
 Show whether the GUI is visible. More...
 
virtual bool getVisible () const =0
 Get the current visible status of the GUI. More...
 
virtual bool isCurrentlyUsed () const =0
 Show wether the Gui is currently used. More...
 

Protected Member Functions

void updateI18n ()
 Translate all texts to the new Locale. More...
 

Protected Attributes

class StelAppGraphicsWidgetstelAppGraphicsWidget
 

Detailed Description

Abstract class defining the base interface for all GUIs.

Definition at line 32 of file StelGuiBase.hpp.

Member Function Documentation

virtual class QProgressBar* StelGuiBase::addProgressBar ( )
pure virtual

Add a new progress bar in the lower right corner of the screen.

When the progress bar is deleted the layout is automatically rearranged.

Returns
a pointer to the progress bar.

Implemented in StelGui, and StelNoGui.

virtual bool StelGuiBase::getVisible ( ) const
pure virtual

Get the current visible status of the GUI.

Implemented in StelGui, and StelNoGui.

virtual bool StelGuiBase::isCurrentlyUsed ( ) const
pure virtual

Show wether the Gui is currently used.

This can then be used to optimize the rendering to increase reactivity.

Implemented in StelGui, and StelNoGui.

virtual void StelGuiBase::setInfoTextFilters ( const StelObject::InfoStringGroup &  aflags)
pure virtual

Get a pointer on the info panel used to display selected object info.

Implemented in StelGui, and StelNoGui.

virtual void StelGuiBase::setStelStyle ( const QString &  section)
pure virtual

Load color scheme matchin the section name.

Implemented in StelNoGui.

virtual void StelGuiBase::setVisible ( bool  b)
pure virtual

Show whether the GUI is visible.

Parameters
bwhen true, GUI will be shown, else it will be hidden.

Implemented in StelGui, and StelNoGui.

void StelGuiBase::updateI18n ( )
protected

Translate all texts to the new Locale.


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