Stellarium 0.11.3
Home · All Namespaces · All Classes · Functions · Coding Style · Scripting · Plugins · 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 ()
virtual void setStelStyle (const QString &section)
virtual void setInfoTextFilters (const StelObject::InfoStringGroup &aflags)
virtual const
StelObject::InfoStringGroup
getInfoTextFilters () const
virtual class QProgressBar * addProgressBar ()
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)
virtual bool getVisible () const
virtual bool isCurrentlyUsed () const

Detailed Description

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


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 QAction* StelNoGui::getGuiActions ( const QString &  actionName  )  [inline, virtual]

Get a pointer on an action managed by the GUI.

Parameters:
actionName qt object name for this action
Returns:
a pointer on the QAction object or NULL if don't exist

Reimplemented from StelGuiBase.

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.

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.

Generated on Thu May 31 10:37:22 2012 for Stellarium by  doxygen 1.6.3