StelGui.hpp   StelGui.hpp 
skipping to change at line 42 skipping to change at line 42
class QTimeLine; class QTimeLine;
class StelButton; class StelButton;
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;
#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 QAction/shortcuts. //! It manages the various qt configuration windows, the buttons bars, the list of QAction/shortcuts.
class StelGui : public QObject, public StelGuiBase class StelGui : public QObject, public StelGuiBase
{ {
Q_OBJECT Q_OBJECT
skipping to change at line 111 skipping to change at line 112
virtual void setVisible(bool b); virtual void setVisible(bool b);
virtual bool getVisible() const; virtual bool getVisible() const;
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;
virtual QAction* addGuiActions(const QString& actionName, virtual QAction* getGuiAction(const QString& actionName);
con
st QString& text,
con
st QString& shortCut,
con
st QString& helpGroup,
boo
l checkable=true,
boo
l autoRepeat=false,
boo
l global = false);
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);
//! Get the auto-hide status of the horizontal toolbar. //! Get the auto-hide status of the horizontal toolbar.
bool getAutoHideHorizontalButtonBar() const; bool getAutoHideHorizontalButtonBar() const;
skipping to change at line 144 skipping to change at line 139
//! Get the auto-hide status of the vertical toolbar. //! Get the auto-hide status of the vertical toolbar.
bool getAutoHideVerticalButtonBar() const; bool getAutoHideVerticalButtonBar() const;
//! Set the auto-hide status of the vertical toolbar. //! Set the auto-hide status of the vertical toolbar.
//! When set to true, the vertical toolbar will auto-hide itself, on ly //! When set to true, the vertical toolbar will auto-hide itself, on ly
//! 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 setAutoHideVerticalButtonBar(bool b); void setAutoHideVerticalButtonBar(bool b);
#ifndef DISABLE_SCRIPTING #ifndef DISABLE_SCRIPTING
//! change keys when a script is running / not running //! change keys when a script is running / not running
void setScriptKeys(bool b); void setScriptKeys(bool b);
void increaseScriptSpeed(); void increaseScriptSpeed();
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);
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();
//! Process changes from the ConstellationMgr //! Process changes from the ConstellationMgr
void artDisplayedUpdated(const bool displayed); void artDisplayedUpdated(const bool displayed);
void boundariesDisplayedUpdated(const bool displayed); void boundariesDisplayedUpdated(const bool displayed);
void linesDisplayedUpdated(const bool displayed); void linesDisplayedUpdated(const bool displayed);
void namesDisplayedUpdated(const bool displayed); void namesDisplayedUpdated(const bool displayed);
//! Process changes from the GridLinesMgr //! Process changes from the GridLinesMgr
skipping to change at line 208 skipping to change at line 203
StelButton* buttonTimeCurrent; StelButton* buttonTimeCurrent;
StelButton* buttonTimeForward; StelButton* buttonTimeForward;
StelButton* buttonGotoSelectedObject; StelButton* buttonGotoSelectedObject;
LocationDialog* locationDialog; LocationDialog* locationDialog;
HelpDialog* helpDialog; HelpDialog* helpDialog;
DateTimeDialog* dateTimeDialog; DateTimeDialog* dateTimeDialog;
SearchDialog* searchDialog; SearchDialog* searchDialog;
ViewDialog* viewDialog; ViewDialog* viewDialog;
ShortcutsDialog* shortcutsDialog;
ConfigurationDialog* configurationDialog; ConfigurationDialog* configurationDialog;
#ifdef ENABLE_SCRIPT_CONSOLE #ifdef ENABLE_SCRIPT_CONSOLE
ScriptConsole* scriptConsole; ScriptConsole* scriptConsole;
#endif #endif
bool flagShowFlipButtons; bool flagShowFlipButtons;
StelButton* flipVert; StelButton* flipVert;
StelButton* flipHoriz; StelButton* flipHoriz;
bool flagShowNebulaBackgroundButton; bool flagShowNebulaBackgroundButton;
skipping to change at line 241 skipping to change at line 237
// This method is used by init() to initialize the GridLineMgr insta nce. // This method is used by init() to initialize the GridLineMgr insta nce.
void initGrindLineMgr(); void initGrindLineMgr();
// This method is used by init() to initialize the LandscapeMgr inst ance. // This method is used by init() to initialize the LandscapeMgr inst ance.
void initLandscapeMgr(); void initLandscapeMgr();
}; };
//! 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;
Q_INTERFACES(StelGuiPluginInterface) Q_INTERFACES(StelGuiPluginInterface);
public: public:
virtual class StelGuiBase* getStelGuiBase() const; virtual class StelGuiBase* getStelGuiBase() const;
}; };
#endif // _STELGUI_HPP_ #endif // _STELGUI_HPP_
 End of changes. 8 change blocks. 
19 lines changed or deleted 9 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/