ConstellationMgr.hpp   ConstellationMgr.hpp 
skipping to change at line 94 skipping to change at line 94
WRITE setLabelsColor WRITE setLabelsColor
NOTIFY namesColorChanged) NOTIFY namesColorChanged)
Q_PROPERTY(bool namesDisplayed Q_PROPERTY(bool namesDisplayed
READ getFlagLabels READ getFlagLabels
WRITE setFlagLabels WRITE setFlagLabels
NOTIFY namesDisplayedChanged) NOTIFY namesDisplayedChanged)
Q_PROPERTY(ConstellationDisplayStyle constellationDisplayStyle Q_PROPERTY(ConstellationDisplayStyle constellationDisplayStyle
READ getConstellationDisplayStyle READ getConstellationDisplayStyle
WRITE setConstellationDisplayStyle WRITE setConstellationDisplayStyle
NOTIFY constellationsDisplayStyleChanged) NOTIFY constellationsDisplayStyleChanged)
Q_PROPERTY(float constellationLineThickness Q_PROPERTY(int constellationLineThickness
READ getConstellationLineThickness READ getConstellationLineThickness
WRITE setConstellationLineThickness WRITE setConstellationLineThickness
NOTIFY constellationLineThicknessChanged) NOTIFY constellationLineThicknessChanged)
//Register enum with Qt //Register enum with Qt
Q_ENUMS(ConstellationDisplayStyle) Q_ENUMS(ConstellationDisplayStyle)
public: public:
//! Constructor //! Constructor
ConstellationMgr(StarMgr *stars); ConstellationMgr(StarMgr *stars);
skipping to change at line 269 skipping to change at line 269
//! @param style the new display style //! @param style the new display style
void setConstellationDisplayStyle(ConstellationMgr::ConstellationDis playStyle style); void setConstellationDisplayStyle(ConstellationMgr::ConstellationDis playStyle style);
//! get the way how constellation names are displayed: abbbreviated/ as-given/translated //! get the way how constellation names are displayed: abbbreviated/ as-given/translated
ConstellationMgr::ConstellationDisplayStyle getConstellationDisplayS tyle(); ConstellationMgr::ConstellationDisplayStyle getConstellationDisplayS tyle();
//! Returns the currently set constellation display style as string, instead of enum //! Returns the currently set constellation display style as string, instead of enum
//! @see getConstellationDisplayStyle() //! @see getConstellationDisplayStyle()
static QString getConstellationDisplayStyleString(ConstellationMgr:: ConstellationDisplayStyle style); static QString getConstellationDisplayStyleString(ConstellationMgr:: ConstellationDisplayStyle style);
//! Set the thickness of lines of the constellations //! Set the thickness of lines of the constellations
//! @param thickness of line in pixels //! @param thickness of line in pixels
void setConstellationLineThickness(const float thickness); void setConstellationLineThickness(const int thickness);
//! Get the thickness of lines of the constellations //! Get the thickness of lines of the constellations
float getConstellationLineThickness() const { return constellationLi neThickness; } int getConstellationLineThickness() const { return constellationLine Thickness; }
signals: signals:
void artDisplayedChanged(const bool displayed) const; void artDisplayedChanged(const bool displayed) const;
void artFadeDurationChanged(const float duration) const; void artFadeDurationChanged(const float duration) const;
void artIntensityChanged(const double intensity) const; void artIntensityChanged(const double intensity) const;
void boundariesColorChanged(const Vec3f & color) const; void boundariesColorChanged(const Vec3f & color) const;
void boundariesDisplayedChanged(const bool displayed) const; void boundariesDisplayedChanged(const bool displayed) const;
void fontSizeChanged(const float newSize) const; void fontSizeChanged(const float newSize) const;
void isolateSelectedChanged(const bool isolate) const; void isolateSelectedChanged(const bool isolate) const;
void linesColorChanged(const Vec3f & color) const; void linesColorChanged(const Vec3f & color) const;
void linesDisplayedChanged(const bool displayed) const; void linesDisplayedChanged(const bool displayed) const;
void namesColorChanged(const Vec3f & color) const; void namesColorChanged(const Vec3f & color) const;
void namesDisplayedChanged(const bool displayed) const; void namesDisplayedChanged(const bool displayed) const;
void constellationsDisplayStyleChanged(const ConstellationMgr::Const ellationDisplayStyle style) const; void constellationsDisplayStyleChanged(const ConstellationMgr::Const ellationDisplayStyle style) const;
void constellationLineThicknessChanged(float thickness) const; void constellationLineThicknessChanged(int thickness) const;
private slots: private slots:
//! Limit the number of constellations to draw based on selected sta rs. //! Limit the number of constellations to draw based on selected sta rs.
//! The selected objects changed, check if some stars are selected a nd display the //! The selected objects changed, check if some stars are selected a nd display the
//! matching constellations if isolateSelected mode is activated. //! matching constellations if isolateSelected mode is activated.
//! @param action define whether to add to, replace, or remove from the existing selection //! @param action define whether to add to, replace, or remove from the existing selection
void selectedObjectChange(StelModule::StelModuleSelectAction action) ; void selectedObjectChange(StelModule::StelModuleSelectAction action) ;
//! Loads new constellation data and art if the SkyCulture has chang ed. //! Loads new constellation data and art if the SkyCulture has chang ed.
//! @param skyCultureDir the name of the directory containing the sk y culture to use. //! @param skyCultureDir the name of the directory containing the sk y culture to use.
skipping to change at line 395 skipping to change at line 395
float artFadeDuration; float artFadeDuration;
float artIntensity; float artIntensity;
double artIntensityMinimumFov; double artIntensityMinimumFov;
double artIntensityMaximumFov; double artIntensityMaximumFov;
bool artDisplayed; bool artDisplayed;
bool boundariesDisplayed; bool boundariesDisplayed;
bool linesDisplayed; bool linesDisplayed;
bool namesDisplayed; bool namesDisplayed;
// Store the thickness of lines of the constellations // Store the thickness of lines of the constellations
float constellationLineThickness; int constellationLineThickness;
}; };
#endif // _CONSTELLATIONMGR_HPP_ #endif // _CONSTELLATIONMGR_HPP_
 End of changes. 5 change blocks. 
5 lines changed or deleted 5 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/