19 #ifndef _STELSKYLAYERMGR_HPP_
20 #define _STELSKYLAYERMGR_HPP_
23 #include <QStringList>
26 #include "StelModule.hpp"
27 #include "StelSkyLayer.hpp"
63 QString
insertSkyLayer(StelSkyLayerP l,
const QString& keyHint=QString(),
bool show=
true);
71 StelSkyLayerP getSkyLayer(
const QString& key)
const;
98 bool loadSkyImage(
const QString&
id,
const QString& filename,
99 double ra0,
double dec0,
100 double ra1,
double dec1,
101 double ra2,
double dec2,
102 double ra3,
double dec3,
103 double minRes,
double maxBright,
bool visible);
123 double alt0,
double azi0,
124 double alt1,
double azi1,
125 double alt2,
double azi2,
126 double alt3,
double azi3,
127 double minRes,
double maxBright,
bool visible);
136 void showLayer(
const QString&
id,
bool b);
153 QString
insertSkyImage(
const QString& uri,
const QString& keyHint=QString(),
bool show=
true);
168 void loadingStateChanged(
bool b);
172 void percentLoadedChanged(
int percentage);
180 SkyLayerElem(StelSkyLayerP t,
bool show=
true);
183 QProgressBar* progressBar;
187 SkyLayerElem* skyLayerElemForLayer(
const StelSkyLayer*);
192 QMap<QString, SkyLayerElem*> allSkyLayers;
198 #endif // _STELSKYLAYERMGR_HPP_