22 #include "StelModule.hpp" 57 virtual void setStelStyle(
const QString& section);
65 void setConfigDialogVisible(
bool b);
66 void setTargetsDialogVisible(
bool b);
73 bool createDatabaseStructures();
78 bool executeSql(QString &sql);
80 void initializeActions();
83 bool initializeDatabase();
86 QByteArray normalStyleSheet;
87 QByteArray nightStyleSheet;
92 bool processSqlFile(QString &fileName);
100 QMap<QString, QSqlTableModel *> tableModels;
104 QPixmap* pxmapOnIcon;
105 QPixmap* pxmapOffIcon;
111 #include "StelPluginInterface.hpp" 117 Q_PLUGIN_METADATA(IID StelPluginInterface_iid)
Define the interface to implement when creating a plugin.
virtual bool configureGui(bool show=true)
Detect or show the configuration GUI elements for the module.
virtual void update(double)
Update the module with respect to the time.
const StelStyle getModuleStyleSheet(const StelStyle &style)
Returns the module-specific style sheet.
Main class for Stellarium core processing.
virtual void draw(StelCore *core)
Execute all the drawing functions for this module.
This is an example of a plug-in which can be dynamically loaded into stellarium.
virtual void init()
Initialize itself.
This class is used by Qt to manage a plug-in interface.
StelModuleActionName
Define the possible action for which an order is defined.
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.
Holds the information related to a color style for GUI and modules of Stellarium. ...
void enableLogBook(bool b)
This method is called with we detect that our hot key is pressed.
This is the common base class for all the main components of stellarium.
Contains information about a Stellarium plugin.