19 #ifndef TEXTUSERINTERFACE_HPP_ 20 #define _TEXTUSERINTERFACE_HPP_ 1 22 #include "StelModule.hpp" 23 #include "DummyDialog.hpp" 24 #include "StelCore.hpp" 49 virtual void handleKeys(
class QKeyEvent* event);
67 void setHomePlanet(QString planetName);
68 void setAltitude(
int altitude);
69 void setLatitude(
double latitude);
70 void setLongitude(
double longitude);
71 void setStartupDateMode(QString mode);
72 void setDateFormat(QString format);
73 void setTimeFormat(QString format);
74 void setSkyCulture(QString i18);
75 void setAppLanguage(QString lang);
76 void setSkyLanguage(QString lang);
77 void saveDefaultSettings(
void);
90 double getLatitude(
void);
91 double getLongitude(
void);
97 #include "StelPluginInterface.hpp" 103 Q_PLUGIN_METADATA(IID StelPluginInterface_iid)
This is an example of a plug-in which can be dynamically loaded into stellarium.
Define the interface to implement when creating a plugin.
virtual void handleKeys(class QKeyEvent *event)
Handle key events.
void loadConfiguration(void)
Loads the module's configuration from the config file.
Main class for Stellarium core processing.
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 void init()
Initialize itself.
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...
virtual void update(double)
Update the module with respect to the time.
This class is used by Qt to manage a plug-in interface.
StelModuleActionName
Define the possible action for which an order is defined.
virtual void draw(StelCore *core)
Execute all the drawing functions for this module.
virtual double getCallOrder(StelModuleActionName actionName) const
Return the value defining the order of call for the given action For example if stars.callOrder[ActionDraw] == 10 and constellation.callOrder[ActionDraw] == 11, the stars module will be drawn before the constellations.
void setTuiMenuActive(bool tActive)
Show/hide the TUI menu.
void setTuiDateTime(bool tDateTime)
Show/hide the TUI date time display.
This is the common base class for all the main components of stellarium.
Contains information about a Stellarium plugin.