Stellarium 0.12.4
List of all members | Public Member Functions
StelNoGui Class Reference

Dummy implementation of StelGuiBase to use when no GUI is used. More...

#include <StelNoGui.hpp>

Public Member Functions

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

Additional Inherited Members

- Protected Member Functions inherited from StelGuiBase
void updateI18n ()
 Translate all texts to the new Locale. More...
 
- Protected Attributes inherited from StelGuiBase
class StelAppGraphicsWidgetstelAppGraphicsWidget
 

Detailed Description

Dummy implementation of StelGuiBase to use when no GUI is used.

Definition at line 27 of file StelNoGui.hpp.

Member Function Documentation

virtual class QProgressBar* StelNoGui::addProgressBar ( )
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.

Implements StelGuiBase.

virtual bool StelNoGui::getVisible ( ) const
inlinevirtual

Get the current visible status of the GUI.

Implements StelGuiBase.

Definition at line 42 of file StelNoGui.hpp.

virtual bool StelNoGui::isCurrentlyUsed ( ) const
inlinevirtual

Show wether the Gui is currently used.

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

Implements StelGuiBase.

Definition at line 43 of file StelNoGui.hpp.

virtual void StelNoGui::setInfoTextFilters ( const StelObject::InfoStringGroup &  aflags)
inlinevirtual

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

Implements StelGuiBase.

Definition at line 35 of file StelNoGui.hpp.

virtual void StelNoGui::setStelStyle ( const QString &  section)
inlinevirtual

Load color scheme matchin the section name.

Implements StelGuiBase.

Definition at line 34 of file StelNoGui.hpp.

virtual void StelNoGui::setVisible ( bool  b)
inlinevirtual

Show whether the GUI is visible.

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

Implements StelGuiBase.

Definition at line 41 of file StelNoGui.hpp.


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