![]() |
Home · All Namespaces · All Classes · Functions · Coding Style · Scripting · Plugins · File Structure |
#include <StelNoGui.hpp>
Inherits StelGuiBase.
Public Member Functions | |
virtual void | init (QGraphicsWidget *topLevelGraphicsWidget, class StelAppGraphicsWidget *stelAppGraphicsWidget) |
virtual void | updateI18n () |
virtual void | setStelStyle (const StelStyle &style) |
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 |
virtual void StelNoGui::updateI18n | ( | ) | [inline, virtual] |
virtual void StelNoGui::setStelStyle | ( | const StelStyle & | style | ) | [inline, virtual] |
virtual void StelNoGui::setInfoTextFilters | ( | const StelObject::InfoStringGroup & | aflags | ) | [inline, virtual] |
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.
Implements StelGuiBase.
virtual QAction* StelNoGui::addGuiActions | ( | const QString & | actionName, | |
const QString & | text, | |||
const QString & | shortCut, | |||
const QString & | helpGroup, | |||
bool | checkable = true , |
|||
bool | autoRepeat = false | |||
) | [inline, virtual] |
Add a new action managed by the GUI.
This method should be used to add new shortcuts to the program
actionName | qt object name. Used as a reference for later uses | |
text | the text to display when hovering, or in the help window | |
shortCut | the qt shortcut to use | |
helpGroup | hint on how to group the text in the help window | |
checkable | whether the action should be checkable | |
autoRepeat | whether the action should be autorepeated |
Reimplemented from StelGuiBase.
virtual QAction* StelNoGui::getGuiActions | ( | const QString & | actionName | ) | [inline, virtual] |
Get a pointer on an action managed by the GUI.
actionName | qt object name for this action |
Reimplemented from StelGuiBase.
virtual void StelNoGui::setVisible | ( | bool | b | ) | [inline, virtual] |
Show whether the GUI is visible.
b | when true, GUI will be shown, else it will be hidden. |
Implements StelGuiBase.
virtual bool StelNoGui::getVisible | ( | ) | const [inline, virtual] |
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.