StelGui.hpp   StelGui.hpp 
skipping to change at line 45 skipping to change at line 45
class BottomStelBar; class BottomStelBar;
class InfoPanel; class InfoPanel;
class ConfigurationDialog; class ConfigurationDialog;
class DateTimeDialog; class DateTimeDialog;
class HelpDialog; class HelpDialog;
class LocationDialog; class LocationDialog;
class SearchDialog; class SearchDialog;
class ViewDialog; class ViewDialog;
class ShortcutsDialog; class ShortcutsDialog;
class AstroCalcDialog; class AstroCalcDialog;
class BookmarksDialog;
#ifdef ENABLE_SCRIPT_CONSOLE #ifdef ENABLE_SCRIPT_CONSOLE
class ScriptConsole; class ScriptConsole;
#endif #endif
//! @class StelGui //! @class StelGui
//! Main class for the GUI based on QGraphicView. //! Main class for the GUI based on QGraphicView.
//! It manages the various qt configuration windows, the buttons bars, the list of shortcuts. //! It manages the various qt configuration windows, the buttons bars, the list of shortcuts.
class StelGui : public QObject, public StelGuiBase class StelGui : public QObject, public StelGuiBase
{ {
Q_OBJECT Q_OBJECT
Q_PROPERTY(bool visible READ getVisible WRITE setVisible) Q_PROPERTY(bool visible READ getVisible WRITE setVisible NOTIFY visi
Q_PROPERTY(bool autoHideHorizontalButtonBar READ getAutoHideHorizont bleChanged)
alButtonBar WRITE setAutoHideHorizontalButtonBar) Q_PROPERTY(bool autoHideHorizontalButtonBar READ getAutoHideHorizont
Q_PROPERTY(bool autoHideVerticalButtonBar READ getAutoHideVerticalBu alButtonBar WRITE setAutoHideHorizontalButtonBar NOTIFY autoHideHorizontalB
ttonBar WRITE setAutoHideVerticalButtonBar) uttonBarChanged)
Q_PROPERTY(bool autoHideVerticalButtonBar READ getAutoHideVerticalBu
ttonBar WRITE setAutoHideVerticalButtonBar NOTIFY autoHideVerticalButtonBar
Changed)
public: public:
friend class ViewDialog; friend class ViewDialog;
StelGui(); StelGui();
virtual ~StelGui(); virtual ~StelGui();
//////////////////////////////////////////////////////////////////// /////// //////////////////////////////////////////////////////////////////// ///////
// Methods defined in the StelModule class // Methods defined in the StelModule class
//! Initialize the StelGui object. //! Initialize the StelGui object.
skipping to change at line 108 skipping to change at line 109
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);
virtual bool getVisible() const; virtual bool getVisible() const;
virtual bool getAstroCalcVisible();
virtual bool isCurrentlyUsed() const; virtual bool isCurrentlyUsed() const;
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
skipping to change at line 154 skipping to change at line 157
void decreaseScriptSpeed(); void decreaseScriptSpeed();
void setRealScriptSpeed(); void setRealScriptSpeed();
void stopScript(); void stopScript();
void pauseScript(); void pauseScript();
void resumeScript(); void resumeScript();
#endif #endif
//! Hide or show the GUI. Public so it can be called from scripts. //! Hide or show the GUI. Public so it can be called from scripts.
void setGuiVisible(bool); void setGuiVisible(bool);
signals:
void visibleChanged(bool b);
void autoHideHorizontalButtonBarChanged(bool b);
void autoHideVerticalButtonBarChanged(bool b);
private slots: private slots:
void reloadStyle(); void reloadStyle();
#ifndef DISABLE_SCRIPTING #ifndef DISABLE_SCRIPTING
void scriptStarted(); void scriptStarted();
void scriptStopped(); void scriptStopped();
#endif #endif
//! Load color scheme from the given ini file and section name //! Load color scheme from the given ini file and section name
void setStelStyle(const QString& section); void setStelStyle(const QString& section);
void quit(); void quit();
void updateI18n(); void updateI18n();
skipping to change at line 192 skipping to change at line 200
HelpDialog* helpDialog; HelpDialog* helpDialog;
DateTimeDialog* dateTimeDialog; DateTimeDialog* dateTimeDialog;
SearchDialog* searchDialog; SearchDialog* searchDialog;
ViewDialog* viewDialog; ViewDialog* viewDialog;
ShortcutsDialog* shortcutsDialog; ShortcutsDialog* shortcutsDialog;
ConfigurationDialog* configurationDialog; ConfigurationDialog* configurationDialog;
#ifdef ENABLE_SCRIPT_CONSOLE #ifdef ENABLE_SCRIPT_CONSOLE
ScriptConsole* scriptConsole; ScriptConsole* scriptConsole;
#endif #endif
AstroCalcDialog* astroCalcDialog; AstroCalcDialog* astroCalcDialog;
BookmarksDialog* bookmarksDialog;
bool flagShowFlipButtons; bool flagShowFlipButtons;
StelButton* flipVert; StelButton* flipVert;
StelButton* flipHoriz; StelButton* flipHoriz;
bool flagShowNebulaBackgroundButton; bool flagShowNebulaBackgroundButton;
StelButton* btShowNebulaeBackground; StelButton* btShowNebulaeBackground;
bool initDone; bool initDone;
 End of changes. 5 change blocks. 
5 lines changed or deleted 17 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/