StelGui.hpp   StelGui.hpp 
skipping to change at line 75 skipping to change at line 75
virtual void init(QGraphicsWidget* topLevelGraphicsWidget); virtual void init(QGraphicsWidget* topLevelGraphicsWidget);
void update(); void update();
StelStyle getStelStyle() const {return currentStelStyle;} StelStyle getStelStyle() const {return currentStelStyle;}
//////////////////////////////////////////////////////////////////// /////// //////////////////////////////////////////////////////////////////// ///////
// Methods specific to the StelGui class // Methods specific to the StelGui class
//! Load a Qt style sheet to define the widgets style //! Load a Qt style sheet to define the widgets style
void loadStyle(const QString& fileName); void loadStyle(const QString& fileName);
//! Get the button bar at the bottom of the screensetDateTime //! Get the button bar at the bottom of the screen
BottomStelBar* getButtonBar() const; BottomStelBar* getButtonBar() const;
//! Get the button bar of the left of the screen //! Get the button bar of the left of the screen
class LeftStelBar* getWindowsButtonBar() const; class LeftStelBar* getWindowsButtonBar() const;
//! Get the SkyGui instance (useful for adding other interface eleme nts). //! Get the SkyGui instance (useful for adding other interface eleme nts).
//! It will return a valid object only if called after init(). //! It will return a valid object only if called after init().
class SkyGui* getSkyGui() const; class SkyGui* getSkyGui() const;
//! Get whether the buttons toggling image flip are visible //! Get whether the buttons toggling image flip are visible
bool getFlagShowFlipButtons() const; bool getFlagShowFlipButtons() const;
//! Get whether the button toggling nebulae background is visible //! Get whether the button toggling nebulae background is visible
bool getFlagShowNebulaBackgroundButton() const; bool getFlagShowNebulaBackgroundButton() const;
//! returns true if the gui has complted init process. bool getFlagShowDecimalDegrees() const;
//! returns true if the gui has completed init process.
bool initComplete(void) const; bool initComplete(void) const;
#ifdef ENABLE_SCRIPT_CONSOLE #ifdef ENABLE_SCRIPT_CONSOLE
ScriptConsole* getScriptConsole() {return scriptConsole;} ScriptConsole* getScriptConsole() {return scriptConsole;}
#endif #endif
//! Used to force a refreshing of the GUI elements such as the butto n bars. //! Used to force a refreshing of the GUI elements such as the butto n bars.
virtual void forceRefreshGui(); virtual void forceRefreshGui();
virtual void setVisible(bool b); virtual void setVisible(bool b);
skipping to change at line 117 skipping to change at line 119
virtual void setInfoTextFilters(const StelObject::InfoStringGroup& a flags); virtual void setInfoTextFilters(const StelObject::InfoStringGroup& a flags);
virtual const StelObject::InfoStringGroup& getInfoTextFilters() cons t; virtual const StelObject::InfoStringGroup& getInfoTextFilters() cons t;
public slots: public slots:
//! Define whether the buttons toggling image flip should be visible //! Define whether the buttons toggling image flip should be visible
void setFlagShowFlipButtons(bool b); void setFlagShowFlipButtons(bool b);
//! Define whether the button toggling nebulae background should be visible //! Define whether the button toggling nebulae background should be visible
void setFlagShowNebulaBackgroundButton(bool b); void setFlagShowNebulaBackgroundButton(bool b);
void setFlagShowDecimalDegrees(bool b);
//! Get the auto-hide status of the horizontal toolbar. //! Get the auto-hide status of the horizontal toolbar.
bool getAutoHideHorizontalButtonBar() const; bool getAutoHideHorizontalButtonBar() const;
//! Set the auto-hide status of the horizontal toolbar. //! Set the auto-hide status of the horizontal toolbar.
//! When set to true, the horizontal toolbar will auto-hide itself, only //! When set to true, the horizontal toolbar will auto-hide itself, only
//! making an appearance when the mouse is nearby. When false, it w ill //! making an appearance when the mouse is nearby. When false, it w ill
//! remain on screen. //! remain on screen.
//! @param b to hide or not to hide //! @param b to hide or not to hide
void setAutoHideHorizontalButtonBar(bool b); void setAutoHideHorizontalButtonBar(bool b);
//! Get the auto-hide status of the vertical toolbar. //! Get the auto-hide status of the vertical toolbar.
skipping to change at line 196 skipping to change at line 200
bool flagShowFlipButtons; bool flagShowFlipButtons;
StelButton* flipVert; StelButton* flipVert;
StelButton* flipHoriz; StelButton* flipHoriz;
bool flagShowNebulaBackgroundButton; bool flagShowNebulaBackgroundButton;
StelButton* btShowNebulaeBackground; StelButton* btShowNebulaeBackground;
bool initDone; bool initDone;
bool flagShowDecimalDegrees;
QSizeF savedProgressBarSize; QSizeF savedProgressBarSize;
// Currently used StelStyle // Currently used StelStyle
StelStyle currentStelStyle; StelStyle currentStelStyle;
}; };
//! Allow to load the GUI as a static plugin //! Allow to load the GUI as a static plugin
class StelStandardGuiPluginInterface : public QObject, public StelGuiPlugin Interface class StelStandardGuiPluginInterface : public QObject, public StelGuiPlugin Interface
{ {
Q_OBJECT Q_OBJECT
 End of changes. 4 change blocks. 
2 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/