19 #ifndef TEXTUSERINTERFACE_HPP_
20 #define _TEXTUSERINTERFACE_HPP_ 1
22 #include "StelModule.hpp"
23 #include "DummyDialog.hpp"
24 #include "StelCore.hpp"
43 virtual void update(
double) {;}
45 virtual double getCallOrder(StelModuleActionName actionName)
const;
46 virtual void handleKeys(
class QKeyEvent* event);
64 void setHomePlanet(QString planetName);
65 void setAltitude(
int altitude);
66 void setLatitude(
double latitude);
67 void setLongitude(
double longitude);
68 void setStartupDateMode(QString mode);
69 void setDateFormat(QString format);
70 void setTimeFormat(QString format);
71 void setSkyCulture(QString i18);
72 void setAppLanguage(QString lang);
73 void saveDefaultSettings(
void);
75 void setBortleScale(
int bortle);
87 double getLatitude(
void);
88 double getLongitude(
void);
94 #include "StelPluginInterface.hpp"
100 Q_PLUGIN_METADATA(IID StelPluginInterface_iid)
This is an example of a plug-in which can be dynamically loaded into stellarium.
void loadConfiguration(void)
Loads the module's configuration from the config file.
void setTuiGravityUi(bool tGravityUi)
Set Gravity text for the TUI text.
The TextUserInterface wants to intercept all key presses including those which are assigned to glocal...
virtual StelPluginInfo getPluginInfo() const =0
void setTuiObjInfo(bool tObjInfo)
Show/hide the selected object's short object information.
TuiNode objects are linked together in a network of nodes to form the structure of a menu which may b...
This class is used by Qt to manage a plug-in interface.
virtual class StelModule * getStelModule() const =0
void setTuiMenuActive(bool tActive)
Show/hide the TUI menu.
void setTuiDateTime(bool tDateTime)
Show/hide the TUI date time display.