Oculars.hpp   Oculars.hpp 
skipping to change at line 77 skipping to change at line 77
//! Returns the module-specific style sheet. //! Returns the module-specific style sheet.
//! The main StelStyle instance should be passed. //! The main StelStyle instance should be passed.
virtual const StelStyle getModuleStyleSheet(const StelStyle& style); 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) {;}
QString getDimensionsString(double fovX, double fovY) const;
QString getFOVString(double fov) const;
public slots: public slots:
//! Update the ocular, telescope and sensor lists after the removal of a member. //! Update the ocular, telescope and sensor lists after the removal of a member.
//! Necessary because of the way model/view management in the Ocular Dialog //! Necessary because of the way model/view management in the Ocular Dialog
//! is implemented. //! is implemented.
void updateLists(); void updateLists();
void ccdRotationReset(); void ccdRotationReset();
void decrementCCDIndex(); void decrementCCDIndex();
void decrementOcularIndex(); void decrementOcularIndex();
void decrementTelescopeIndex(); void decrementTelescopeIndex();
void displayPopupMenu(); void displayPopupMenu();
skipping to change at line 108 skipping to change at line 111
void toggleCCD(bool show); void toggleCCD(bool show);
//! Toggles the sensor frame overlay (overloaded for blind switching ). //! Toggles the sensor frame overlay (overloaded for blind switching ).
void toggleCCD(); void toggleCCD();
void toggleCrosshairs(bool show = true); void toggleCrosshairs(bool show = true);
//! Toggles the Telrad sight overlay. //! Toggles the Telrad sight overlay.
void toggleTelrad(bool show); void toggleTelrad(bool show);
//! Toggles the Telrad sight overlay (overloaded for blind switching ). //! Toggles the Telrad sight overlay (overloaded for blind switching ).
void toggleTelrad(); void toggleTelrad();
void enableGuiPanel(bool enable = true); void enableGuiPanel(bool enable = true);
void setFlagDecimalDegrees(const bool b);
bool getFlagDecimalDegrees(void) const;
signals: signals:
void selectedCCDChanged(); void selectedCCDChanged();
void selectedOcularChanged(); void selectedOcularChanged();
void selectedTelescopeChanged(); void selectedTelescopeChanged();
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);
skipping to change at line 188 skipping to change at line 194
bool flagShowCrosshairs; //!< flag used to track in crosshair s should be rendered in the ocular view. bool flagShowCrosshairs; //!< flag used to track in crosshair s should be rendered in the ocular view.
bool flagShowTelrad; //!< If true, display the Te lrad overlay. bool flagShowTelrad; //!< If true, display the Te lrad overlay.
int usageMessageLabelID; //!< the id of the label showing the usage message. -1 means it's not displayed. int usageMessageLabelID; //!< the id of the label showing the usage message. -1 means it's not displayed.
bool flagAzimuthalGrid; //!< Flag to track if AzimuthalGrid was displayed at activation. bool flagAzimuthalGrid; //!< Flag to track if AzimuthalGrid was displayed at activation.
bool flagGalacticGrid; //!< Flag to track if GalacticGrid w as displayed at activation. bool flagGalacticGrid; //!< Flag to track if GalacticGrid w as displayed at activation.
bool flagEquatorGrid; //!< Flag to track if EquatorGrid wa s displayed at activation. bool flagEquatorGrid; //!< Flag to track if EquatorGrid wa s displayed at activation.
bool flagEquatorJ2000Grid; //!< Flag to track if EquatorJ2000Gr id was displayed at activation. bool flagEquatorJ2000Grid; //!< Flag to track if EquatorJ2000Gr id was displayed at activation.
bool flagEquatorLine; //!< Flag to track if EquatorLine wa s displayed at activation. bool flagEquatorLine; //!< Flag to track if EquatorLine wa s displayed at activation.
bool flagEclipticLine; //!< Flag to track if EclipticLine w as displayed at activation. bool flagEclipticLine; //!< Flag to track if EclipticLine w as displayed at activation.
bool flagEclipticJ2000Grid; //!< Flag to track if EclipticJ2000G rid was displayed at activation.
bool flagMeridianLine; //!< Flag to track if MeridianLine w as displayed at activation. bool flagMeridianLine; //!< Flag to track if MeridianLine w as displayed at activation.
bool flagHorizonLine; //!< Flag to track if HorizonLine wa s displayed at activation. bool flagHorizonLine; //!< Flag to track if HorizonLine wa s displayed at activation.
bool flagGalacticPlaneLine; //!< Flag to track if GalacticPlaneL ine was displayed at activation. bool flagGalacticPlaneLine; //!< Flag to track if GalacticPlaneL ine was displayed at activation.
double ccdRotationAngle; //!< The angle to rotate the CCD bou nding box. */ double ccdRotationAngle; //!< The angle to rotate the CCD bou nding box. */
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 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;
QSignalMapper* ccdRotationSignalMapper; //!< Used to rotate the CCD . */ QSignalMapper* ccdRotationSignalMapper; //!< Used to rotate the CCD . */
QSignalMapper* ccdsSignalMapper; //!< Used to determine which CCD wa s selected from the popup navigator. */ QSignalMapper* ccdsSignalMapper; //!< Used to determine which CCD wa s selected from the popup navigator. */
QSignalMapper* ocularsSignalMapper; //!< Used to determine which ocu lar was selected from the popup navigator. */ QSignalMapper* ocularsSignalMapper; //!< Used to determine which ocu lar was selected from the popup navigator. */
QSignalMapper* telescopesSignalMapper; //!< Used to determine which telescope was selected from the popup navigator. */ QSignalMapper* telescopesSignalMapper; //!< Used to determine which telescope was selected from the popup navigator. */
// for toolbar button // for toolbar button
QPixmap* pxmapGlow; QPixmap* pxmapGlow;
QPixmap* pxmapOnIcon; QPixmap* pxmapOnIcon;
QPixmap* pxmapOffIcon; QPixmap* pxmapOffIcon;
 End of changes. 4 change blocks. 
0 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/