Oculars.hpp   Oculars.hpp 
skipping to change at line 101 skipping to change at line 101
static QSettings* appSettings(); static QSettings* appSettings();
//////////////////////////////////////////////////////////////////// /////// //////////////////////////////////////////////////////////////////// ///////
// Methods defined in the StelModule class // Methods defined in the StelModule class
virtual void init(); virtual void init();
virtual void deinit(); virtual void deinit();
virtual bool configureGui(bool show=true); virtual bool configureGui(bool show=true);
virtual void draw(StelCore* core); virtual void draw(StelCore* core);
virtual double getCallOrder(StelModuleActionName actionName) const; virtual double getCallOrder(StelModuleActionName actionName) const;
//! Returns the module-specific style sheet. //! Returns the module-specific style sheet.
//! The main StelStyle instance should be passed.
virtual const StelStyle getModuleStyleSheet(const StelStyle& style);
//! This method is needed because the MovementMgr classes handleKeys () method consumes the event. //! This method is needed because the MovementMgr classes handleKeys () method consumes the event.
//! Because we want the ocular view to track, we must intercept & pr ocess ourselves. Only called //! Because we want the ocular view to track, we must intercept & pr ocess ourselves. Only called
//! while flagShowOculars or flagShowCCD == true. //! while flagShowOculars or flagShowCCD == true.
virtual void handleKeys(class QKeyEvent* event); virtual void handleKeys(class QKeyEvent* event);
virtual void handleMouseClicks(class QMouseEvent* event); virtual void handleMouseClicks(class QMouseEvent* event);
virtual void update(double) {;} virtual void update(double) {;}
double ccdRotationAngle() const; double ccdRotationAngle() const;
QString getDimensionsString(double fovX, double fovY) const; QString getDimensionsString(double fovX, double fovY) const;
QString getFOVString(double fov) const; QString getFOVString(double fov) const;
skipping to change at line 162 skipping to change at line 160
void setFlagDecimalDegrees(const bool b); void setFlagDecimalDegrees(const bool b);
bool getFlagDecimalDegrees(void) const; bool getFlagDecimalDegrees(void) const;
void setFlagLimitMagnitude(const bool b); void setFlagLimitMagnitude(const bool b);
bool getFlagLimitMagnitude(void) const; bool getFlagLimitMagnitude(void) const;
void setFlagInitFovUsage(const bool b); void setFlagInitFovUsage(const bool b);
bool getFlagInitFovUsage(void) const; bool getFlagInitFovUsage(void) const;
void setFlagInitDirectionUsage(const bool b);
bool getFlagInitDirectionUsage(void) const;
void setFlagAutosetMountForCCD(const bool b); void setFlagAutosetMountForCCD(const bool b);
bool getFlagAutosetMountForCCD(void) const; bool getFlagAutosetMountForCCD(void) const;
void setFlagUseSemiTransparency(const bool b); void setFlagUseSemiTransparency(const bool b);
bool getFlagUseSemiTransparency(void) const; bool getFlagUseSemiTransparency(void) const;
void setFlagHideGridsLines(const bool b); void setFlagHideGridsLines(const bool b);
bool getFlagHideGridsLines(void) const; bool getFlagHideGridsLines(void) const;
signals: signals:
skipping to change at line 189 skipping to change at line 190
void selectedLensChanged(); void selectedLensChanged();
private slots: private slots:
//! Signifies a change in ocular or telescope. Sets new zoom level. //! Signifies a change in ocular or telescope. Sets new zoom level.
void instrumentChanged(); void instrumentChanged();
void determineMaxEyepieceAngle(); void determineMaxEyepieceAngle();
void setRequireSelection(bool state); void setRequireSelection(bool state);
void setScaleImageCircle(bool state); void setScaleImageCircle(bool state);
void setScreenFOVForCCD(); void setScreenFOVForCCD();
void retranslateGui(); void retranslateGui();
void setStelStyle(const QString& style);
void updateOcularReticle(void); void updateOcularReticle(void);
private: private:
//! Set up the Qt actions needed to activate the plugin. //! Set up the Qt actions needed to activate the plugin.
void initializeActivationActions(); void initializeActivationActions();
//! Returns TRUE if at least one bincular is defined. //! Returns TRUE if at least one bincular is defined.
bool isBinocularDefined(); bool isBinocularDefined();
//! Reneders the CCD bounding box on-screen. A telescope must be se lected, or this call does nothing. //! Reneders the CCD bounding box on-screen. A telescope must be se lected, or this call does nothing.
skipping to change at line 291 skipping to change at line 291
bool flagCardinalPoints; //!< Flag to track if CardinalPoints was displayed at activation. bool flagCardinalPoints; //!< Flag to track if CardinalPoints was displayed at activation.
bool flagCelestialJ2000Poles; //!< Flag to track if CelestialJ2000 Poles was displayed at activation. bool flagCelestialJ2000Poles; //!< Flag to track if CelestialJ2000 Poles was displayed at activation.
bool flagCelestialPoles; //!< Flag to track if CelestialPoles was displayed at activation. bool flagCelestialPoles; //!< Flag to track if CelestialPoles was displayed at activation.
bool flagZenithNadirPoints; //!< Flag to track if ZenithNadir wa s displayed at activation. bool flagZenithNadirPoints; //!< Flag to track if ZenithNadir wa s displayed at activation.
bool flagEclipticJ2000Poles; //!< Flag to track if EclipticJ2000P oles was displayed at activation. bool flagEclipticJ2000Poles; //!< Flag to track if EclipticJ2000P oles was displayed at activation.
bool flagEclipticPoles; //!< Flag to track if EclipticPoles was displayed at activation. bool flagEclipticPoles; //!< Flag to track if EclipticPoles was displayed at activation.
bool flagGalacticPoles; //!< Flag to track if GalacticPoles was displayed at activation. bool flagGalacticPoles; //!< Flag to track if GalacticPoles was displayed at activation.
bool flagSupergalacticPoles; //!< Flag to track if SupergalacticP oles was displayed at activation. bool flagSupergalacticPoles; //!< Flag to track if SupergalacticP oles was displayed at activation.
bool flagEquinoxJ2000Points; //!< Flag to track if EquinoxJ2000Po ints was displayed at activation. bool flagEquinoxJ2000Points; //!< Flag to track if EquinoxJ2000Po ints was displayed at activation.
bool flagEquinoxPoints; //!< Flag to track if EquinoxPoints was displayed at activation. bool flagEquinoxPoints; //!< Flag to track if EquinoxPoints was displayed at activation.
bool flagSolsticeJ2000Points; //!< Flag to track if SolsticeJ2000P
oints was displayed at activation.
bool flagSolsticePoints; //!< Flag to track if SolsticePoints
was displayed at activation.
bool flagAdaptation; //!< Flag to track if adaptationChec kbox was enabled at activation. bool flagAdaptation; //!< Flag to track if adaptationChec kbox was enabled at activation.
bool flagLimitStars; //!< Flag to track limit magnitude f or stars bool flagLimitStars; //!< Flag to track limit magnitude f or stars
float magLimitStars; //!< Value of limited magnitude for stars float magLimitStars; //!< Value of limited magnitude for stars
bool flagLimitDSOs; //!< Flag to track limit magnitude f or DSOs bool flagLimitDSOs; //!< Flag to track limit magnitude f or DSOs
float magLimitDSOs; //!< Value of limited magnitude for DSOs float magLimitDSOs; //!< Value of limited magnitude for DSOs
bool flagLimitPlanets; //!< Flag to track limit magnitude f or planets, asteroids, comets etc. bool flagLimitPlanets; //!< Flag to track limit magnitude f or planets, asteroids, comets etc.
float magLimitPlanets; //!< Value of limited magnitude for planets, asteroids, comets etc. float magLimitPlanets; //!< Value of limited magnitude for planets, asteroids, comets etc.
float relativeStarScale;
float absoluteStarScale;
bool flagMoonScale; //!< Flag to track of usage zooming of the Moon bool flagMoonScale; //!< Flag to track of usage zooming of the Moon
double maxEyepieceAngle; //!< The maximum aFOV of any eyepiec e. double maxEyepieceAngle; //!< The maximum aFOV of any eyepiec e.
bool requireSelection; //!< Read from the ini file, whether an object is required to be selected to zoom in. bool requireSelection; //!< Read from the ini file, whether an object is required to be selected to zoom in.
bool flagLimitMagnitude; //!< Read from the ini file, whether a magnitude is required to be limited. bool flagLimitMagnitude; //!< Read from the ini file, whether a magnitude is required to be limited.
bool useMaxEyepieceAngle; //!< Read from the ini file, whether to scale the mask based aFOV. bool useMaxEyepieceAngle; //!< Read from the ini file, whether to scale the mask based aFOV.
//! Display the GUI control panel //! Display the GUI control panel
bool guiPanelEnabled; bool guiPanelEnabled;
bool flagDecimalDegrees; bool flagDecimalDegrees;
skipping to change at line 345 skipping to change at line 345
StelAction * actionShowTelrad; StelAction * actionShowTelrad;
StelAction * actionConfiguration; StelAction * actionConfiguration;
StelAction * actionMenu; StelAction * actionMenu;
StelAction * actionTelescopeIncrement; StelAction * actionTelescopeIncrement;
StelAction * actionTelescopeDecrement; StelAction * actionTelescopeDecrement;
StelAction * actionOcularIncrement; StelAction * actionOcularIncrement;
StelAction * actionOcularDecrement; StelAction * actionOcularDecrement;
class OcularsGuiPanel * guiPanel; class OcularsGuiPanel * guiPanel;
//Styles
QByteArray normalStyleSheet;
QByteArray nightStyleSheet;
//Reticle //Reticle
StelTextureSP reticleTexture; StelTextureSP reticleTexture;
double actualFOV; //!< Holds the FOV of the ocular/tes cope/lens cobination; what the screen is zoomed to. double actualFOV; //!< Holds the FOV of the ocular/tes cope/lens cobination; what the screen is zoomed to.
double initialFOV; //!< Holds the initial FOV double initialFOV; //!< Holds the initial FOV
bool flagInitFOVUsage; //!< Flag used to track if we use de fault initial FOV (value at the startup of planetarium). bool flagInitFOVUsage; //!< Flag used to track if we use de fault initial FOV (value at the startup of planetarium).
bool flagInitDirectionUsage; //!< Flag used to track if we use de fault initial direction (value at the startup of planetarium).
bool flagAutosetMountForCCD; //!< Flag used to track if we use au tomatic switch to type of mount for CCD frame bool flagAutosetMountForCCD; //!< Flag used to track if we use au tomatic switch to type of mount for CCD frame
bool equatorialMountEnabled; bool equatorialMountEnabled;
double reticleRotation; double reticleRotation;
}; };
#include <QObject> #include <QObject>
#include "StelPluginInterface.hpp" #include "StelPluginInterface.hpp"
//! This class is used by Qt to manage a plug-in interface //! This class is used by Qt to manage a plug-in interface
class OcularsStelPluginInterface : public QObject, public StelPluginInterfa ce class OcularsStelPluginInterface : public QObject, public StelPluginInterfa ce
 End of changes. 7 change blocks. 
9 lines changed or deleted 8 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/