StelGui.hpp   StelGui.hpp 
skipping to change at line 35 skipping to change at line 35
#include "LocationDialog.hpp" #include "LocationDialog.hpp"
#include "ViewDialog.hpp" #include "ViewDialog.hpp"
#include "HelpDialog.hpp" #include "HelpDialog.hpp"
#include "DateTimeDialog.hpp" #include "DateTimeDialog.hpp"
#include "SearchDialog.hpp" #include "SearchDialog.hpp"
#include "ConfigurationDialog.hpp" #include "ConfigurationDialog.hpp"
#ifdef ENABLE_SCRIPT_CONSOLE #ifdef ENABLE_SCRIPT_CONSOLE
#include "ScriptConsole.hpp" #include "ScriptConsole.hpp"
#endif #endif
#include "StelGuiBase.hpp" #include "StelGuiBase.hpp"
#include "StelStyle.hpp"
#include <QGraphicsTextItem> #include <QGraphicsTextItem>
class QGraphicsSceneMouseEvent; class QGraphicsSceneMouseEvent;
class QAction; class QAction;
class QTimeLine; class QTimeLine;
class StelButton; class StelButton;
class BottomStelBar; class BottomStelBar;
class InfoPanel; class InfoPanel;
skipping to change at line 65 skipping to change at line 66
virtual ~StelGui(); virtual ~StelGui();
//////////////////////////////////////////////////////////////////// /////// //////////////////////////////////////////////////////////////////// ///////
// Methods defined in the StelModule class // Methods defined in the StelModule class
//! Initialize the StelGui object. //! Initialize the StelGui object.
virtual void init(QGraphicsWidget* topLevelGraphicsWidget, StelAppGr aphicsWidget* stelAppGraphicsWidget); virtual void init(QGraphicsWidget* topLevelGraphicsWidget, StelAppGr aphicsWidget* stelAppGraphicsWidget);
void update(); void update();
virtual void updateI18n(); virtual void updateI18n();
//! Load color scheme from the given ini file and section name //! Load color scheme from the given ini file and section name
virtual void setStelStyle(const StelStyle& style); virtual void setStelStyle(const QString& section);
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);
//! Add a new progress bar in the lower right corner of the screen. //! Add a new progress bar in the lower right corner of the screen.
//! When the progress bar is deleted with removeProgressBar() the la yout is automatically rearranged. //! When the progress bar is deleted with removeProgressBar() the la yout is automatically rearranged.
//! @return a pointer to the progress bar //! @return a pointer to the progress bar
class QProgressBar* addProgressBar(); class QProgressBar* addProgressBar();
skipping to change at line 148 skipping to change at line 150
void decreaseScriptSpeed(); void decreaseScriptSpeed();
void setRealScriptSpeed(); void setRealScriptSpeed();
//! 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();
void scriptStarted(); void scriptStarted();
void scriptStopped(); void scriptStopped();
void quit();
private: private:
QGraphicsWidget* topLevelGraphicsWidget; QGraphicsWidget* topLevelGraphicsWidget;
class SkyGui* skyGui; class SkyGui* skyGui;
StelButton* buttonTimeRewind; StelButton* buttonTimeRewind;
StelButton* buttonTimeRealTimeSpeed; StelButton* buttonTimeRealTimeSpeed;
StelButton* buttonTimeCurrent; StelButton* buttonTimeCurrent;
StelButton* buttonTimeForward; StelButton* buttonTimeForward;
skipping to change at line 172 skipping to change at line 175
HelpDialog helpDialog; HelpDialog helpDialog;
DateTimeDialog dateTimeDialog; DateTimeDialog dateTimeDialog;
SearchDialog searchDialog; SearchDialog searchDialog;
ViewDialog viewDialog; ViewDialog viewDialog;
ConfigurationDialog* configurationDialog; ConfigurationDialog* configurationDialog;
#ifdef ENABLE_SCRIPT_CONSOLE #ifdef ENABLE_SCRIPT_CONSOLE
ScriptConsole scriptConsole; ScriptConsole scriptConsole;
#endif #endif
bool flagShowFlipButtons; bool flagShowFlipButtons;
class StelButton* flipVert; StelButton* flipVert;
class StelButton* flipHoriz; StelButton* flipHoriz;
bool flagShowNebulaBackgroundButton; bool flagShowNebulaBackgroundButton;
class StelButton* btShowNebulaeBackground; StelButton* btShowNebulaeBackground;
bool initDone; bool initDone;
bool guiHidden; bool guiHidden;
QSizeF savedProgressBarSize; QSizeF savedProgressBarSize;
// Currently used StelStyle
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
Q_INTERFACES(StelGuiPluginInterface) Q_INTERFACES(StelGuiPluginInterface)
public: public:
virtual class StelGuiBase* getStelGuiBase() const; virtual class StelGuiBase* getStelGuiBase() const;
}; };
 End of changes. 6 change blocks. 
4 lines changed or deleted 10 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/