22 #include "StelModule.hpp"
50 virtual bool configureGui(
bool show=
true);
52 virtual double getCallOrder(StelModuleActionName actionName)
const;
57 virtual void setStelStyle(
const QString& section);
58 virtual void update(
double) {;}
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)
const StelStyle getModuleStyleSheet(const StelStyle &style)
Returns the module-specific style sheet.
virtual StelPluginInfo getPluginInfo() const =0
This is an example of a plug-in which can be dynamically loaded into stellarium.
virtual class StelModule * getStelModule() const =0
This class is used by Qt to manage a plug-in interface.
void enableLogBook(bool b)
This method is called with we detect that our hot key is pressed.