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

StelNoGui Class Reference

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

#include <StelNoGui.hpp>

List of all members.

Public Member Functions

virtual void init (QGraphicsWidget *topLevelGraphicsWidget, class StelAppGraphicsWidget *stelAppGraphicsWidget)
virtual void updateI18n ()
 Translate all texts to the new Locale.
virtual void setStelStyle (const QString &section)
 Load color scheme matchin the section name.
virtual void setInfoTextFilters (const StelObject::InfoStringGroup &aflags)
 Get a pointer on the info panel used to display selected object info.
virtual const
StelObject::InfoStringGroup & 
getInfoTextFilters () const
virtual class QProgressBar * addProgressBar ()
 Add a new progress bar in the lower right corner of the screen.
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.
virtual bool getVisible () const
 Get the current visible status of the GUI.
virtual bool isCurrentlyUsed () const
 Show wether the Gui is currently used.

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 [inline, virtual]

Get the current visible status of the GUI.

Implements StelGuiBase.

Definition at line 42 of file StelNoGui.hpp.

virtual bool StelNoGui::isCurrentlyUsed (  )  const [inline, virtual]

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  )  [inline, virtual]

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  )  [inline, virtual]

Load color scheme matchin the section name.

Implements StelGuiBase.

Definition at line 34 of file StelNoGui.hpp.

virtual void StelNoGui::setVisible ( bool  b  )  [inline, virtual]

Show whether the GUI is visible.

Parameters:
b when true, GUI will be shown, else it will be hidden.

Implements StelGuiBase.

Definition at line 41 of file StelNoGui.hpp.

virtual void StelNoGui::updateI18n (  )  [inline, virtual]

Translate all texts to the new Locale.

Reimplemented from StelGuiBase.

Definition at line 33 of file StelNoGui.hpp.


The documentation for this class was generated from the following file:
Generated on Thu Jan 31 14:05:45 2013 for Stellarium by  doxygen 1.6.3