AngleMeasure.hpp   AngleMeasure.hpp 
skipping to change at line 75 skipping to change at line 75
//! @ingroup angleMeasure //! @ingroup angleMeasure
//! Main class of the Angle Measure plug-in. //! Main class of the Angle Measure plug-in.
//! @author Matthew Gates //! @author Matthew Gates
//! @author Alexander Wolf //! @author Alexander Wolf
//! @author Georg Zotti //! @author Georg Zotti
class AngleMeasure : public StelModule class AngleMeasure : public StelModule
{ {
Q_OBJECT Q_OBJECT
Q_PROPERTY(bool enabled Q_PROPERTY(bool enabled
READ isEnabled READ isEnabled
WRITE enableAngleMeasure) WRITE enableAngleMeasure
NOTIFY flagAngleMeasureChanged
)
Q_PROPERTY(bool dmsFormat Q_PROPERTY(bool dmsFormat
READ isDmsFormat READ isDmsFormat
WRITE useDmsFormat) WRITE useDmsFormat)
Q_PROPERTY(bool paDisplayed Q_PROPERTY(bool paDisplayed
READ isPaDisplayed READ isPaDisplayed
WRITE showPositionAngle) WRITE showPositionAngle)
public: public:
AngleMeasure(); AngleMeasure();
virtual ~AngleMeasure(); virtual ~AngleMeasure();
skipping to change at line 118 skipping to change at line 120
//! Uses internally loadSettings() and saveSettings(). //! Uses internally loadSettings() and saveSettings().
void restoreDefaultSettings(); void restoreDefaultSettings();
//! Load the plug-in's settings from the configuration file. //! Load the plug-in's settings from the configuration file.
//! Settings are kept in the "AngleMeasure" section in Stellarium's //! Settings are kept in the "AngleMeasure" section in Stellarium's
//! configuration file. If no such section exists, it will load defa ult //! configuration file. If no such section exists, it will load defa ult
//! values. //! values.
//! @see saveSettings(), restoreSettings() //! @see saveSettings(), restoreSettings()
void loadSettings(); void loadSettings();
//! Save the plug-in's settings to the configuration file. signals:
//! @warning textColor and lineColor are not saved, probably because void flagAngleMeasureChanged(bool b);
//! they can't be changed by the user in-program.
//! @todo find a way to save color values without "rounding drift"
//! (this is especially important for restoring default color values
).
//! @see loadSettings(), restoreSettings()
void saveSettings();
public slots: public slots:
void enableAngleMeasure(bool b); void enableAngleMeasure(bool b);
void useDmsFormat(bool b); void useDmsFormat(bool b);
void showPositionAngle(bool b); void showPositionAngle(bool b);
void showPositionAngleHor(bool b); void showPositionAngleHor(bool b);
void showEquatorial(bool b); void showEquatorial(bool b);
void showHorizontal(bool b); void showHorizontal(bool b);
void showHorizontalStartSkylinked(bool b); void showHorizontalStartSkylinked(bool b);
void showHorizontalEndSkylinked(bool b); void showHorizontalEndSkylinked(bool b);
 End of changes. 2 change blocks. 
9 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/