22 #ifndef _LANDSCAPEMGR_HPP_
23 #define _LANDSCAPEMGR_HPP_
25 #include "StelModule.hpp"
26 #include "StelUtils.hpp"
29 #include <QStringList>
44 Q_PROPERTY(
bool atmosphereDisplayed
47 NOTIFY atmosphereDisplayedChanged)
48 Q_PROPERTY(
bool cardinalsPointsDisplayed
51 NOTIFY cardinalsPointsDisplayedChanged)
52 Q_PROPERTY(
bool fogDisplayed
55 NOTIFY fogDisplayedChanged)
56 Q_PROPERTY(
bool landscapeDisplayed
59 NOTIFY landscapeDisplayedChanged)
82 virtual void update(
double deltaTime);
283 void atmosphereDisplayedChanged(
const bool displayed);
284 void cardinalsPointsDisplayedChanged(
const bool displayed);
285 void fogDisplayedChanged(
const bool displayed);
286 void landscapeDisplayedChanged(
const bool displayed);
315 void setStelStyle(
const QString& section);
321 float getInitialLandscapeBrightness()
const {
return initialLandscapeBrightness;}
323 void setInitialLandscapeBrightness(
float b) {initialLandscapeBrightness=b;}
327 float getAtmosphereLightPollutionLuminance()
const;
329 void setAtmosphereLightPollutionLuminance(
float f);
334 QString nameToID(
const QString& name);
337 QMap<QString,QString> getNameToDirMap()
const;
343 QString getLandscapePath(QString landscapeID);
346 Cardinals* cardinalsPoints;
350 bool flagLandscapeSetsLocation;
352 bool flagLandscapeAutoSelection;
354 bool flagLandscapeNightBrightness;
357 QString currentLandscapeID;
360 QString defaultLandscapeID;
367 QStringList packagedLandscapeIDs;
369 float initialLandscapeBrightness;
372 #endif // _LANDSCAPEMGR_HPP_