OcularsGuiPanel.hpp   OcularsGuiPanel.hpp 
skipping to change at line 64 skipping to change at line 64
//! Tied to the parent's geometryChanged() signal. //! Tied to the parent's geometryChanged() signal.
void updatePosition(); void updatePosition();
//! Updates the information shown when an ocular overlay is displaye d //! Updates the information shown when an ocular overlay is displaye d
void updateOcularControls(); void updateOcularControls();
//! Updates the information shown when a sensor overlay is displayed //! Updates the information shown when a sensor overlay is displayed
void updateCcdControls(); void updateCcdControls();
//! Updates the information that depends on the current telescope. //! Updates the information that depends on the current telescope.
//! Called in both updateOcularControls() and updateCcdControls(). //! Called in both updateOcularControls() and updateCcdControls().
void updateTelescopeControls(); void updateTelescopeControls();
//! Updates the information that depends on the current lens
void updateLensControls();
//! Sets the color scheme (day/night mode) //! Sets the color scheme (day/night mode)
void setColorScheme(const QString& schemeName); void setColorScheme(const QString& schemeName);
private: private:
Oculars* ocularsPlugin; Oculars* ocularsPlugin;
//! This is actually SkyGui. Perhaps it should be more specific? //! This is actually SkyGui. Perhaps it should be more specific?
QGraphicsWidget* parentWidget; QGraphicsWidget* parentWidget;
QGraphicsLinearLayout* mainLayout; QGraphicsLinearLayout* mainLayout;
QGraphicsPathItem* borderPath; QGraphicsPathItem* borderPath;
//! Mini-toolbar holding StelButtons //! Mini-toolbar holding StelButtons
QGraphicsWidget* buttonBar; QGraphicsWidget* buttonBar;
QGraphicsWidget* ocularControls; QGraphicsWidget* ocularControls;
QGraphicsWidget* lensControls;
QGraphicsWidget* ccdControls; QGraphicsWidget* ccdControls;
QGraphicsWidget* telescopeControls; QGraphicsWidget* telescopeControls;
//Mini-toolbar //Mini-toolbar
StelButton* buttonOcular; StelButton* buttonOcular;
StelButton* buttonCrosshairs; StelButton* buttonCrosshairs;
StelButton* buttonCcd; StelButton* buttonCcd;
StelButton* buttonTelrad; StelButton* buttonTelrad;
StelButton* buttonConfiguration; StelButton* buttonConfiguration;
//Information display //Information display
StelButton* prevOcularButton; StelButton* prevOcularButton;
StelButton* nextOcularButton; StelButton* nextOcularButton;
StelButton* prevTelescopeButton; StelButton* prevTelescopeButton;
StelButton* nextTelescopeButton; StelButton* nextTelescopeButton;
StelButton* prevCcdButton; StelButton* prevCcdButton;
StelButton* nextCcdButton; StelButton* nextCcdButton;
StelButton* prevLensButton;
StelButton* nextLensButton;
QGraphicsTextItem* fieldLensName;
QGraphicsTextItem* fieldLensMultipler;
QGraphicsTextItem* fieldOcularName; QGraphicsTextItem* fieldOcularName;
QGraphicsTextItem* fieldOcularFl; QGraphicsTextItem* fieldOcularFl;
QGraphicsTextItem* fieldOcularAfov; QGraphicsTextItem* fieldOcularAfov;
QGraphicsTextItem* fieldCcdName; QGraphicsTextItem* fieldCcdName;
QGraphicsTextItem* fieldCcdDimensions; QGraphicsTextItem* fieldCcdDimensions;
QGraphicsTextItem* fieldCcdRotation; QGraphicsTextItem* fieldCcdRotation;
QGraphicsTextItem* fieldTelescopeName; QGraphicsTextItem* fieldTelescopeName;
QGraphicsTextItem* fieldMagnification; QGraphicsTextItem* fieldMagnification;
QGraphicsTextItem* fieldFov; QGraphicsTextItem* fieldFov;
skipping to change at line 121 skipping to change at line 127
StelButton* rotateCcdMinus1Button; StelButton* rotateCcdMinus1Button;
StelButton* resetCcdRotationButton; StelButton* resetCcdRotationButton;
StelButton* rotateCcdPlus1Button; StelButton* rotateCcdPlus1Button;
StelButton* rotateCcdPlus5Button; StelButton* rotateCcdPlus5Button;
StelButton* rotateCcdPlus15Button; StelButton* rotateCcdPlus15Button;
//! Sets the visibility of the ocular name label and the associated buttons. //! Sets the visibility of the ocular name label and the associated buttons.
void setOcularControlsVisible(bool show); void setOcularControlsVisible(bool show);
void setCcdControlsVisible(bool show); void setCcdControlsVisible(bool show);
void setTelescopeControlsVisible(bool show); void setTelescopeControlsVisible(bool show);
void setLensControlsVisible(bool show);
//! Updates the positions of the buttons inside the button bar. //! Updates the positions of the buttons inside the button bar.
void updateMainButtonsPositions(); void updateMainButtonsPositions();
void setControlsColor(const QColor& color); void setControlsColor(const QColor& color);
void setControlsFont(const QFont& font); void setControlsFont(const QFont& font);
//! Sets the night mode flag on all StelButton-s. //! Sets the night mode flag on all StelButton-s.
void setButtonsNightMode(bool nightMode); void setButtonsNightMode(bool nightMode);
static QPixmap createPixmapFromText(const QString& text, static QPixmap createPixmapFromText(const QString& text,
int width, int width,
 End of changes. 4 change blocks. 
1 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/