StelGuiBase.hpp   StelGuiBase.hpp 
skipping to change at line 38 skipping to change at line 38
class QAction; class QAction;
//! @class StelGuiBase //! @class StelGuiBase
//! Abstract class defining the base interface for all GUIs. //! Abstract class defining the base interface for all GUIs.
class StelGuiBase class StelGuiBase
{ {
public: public:
StelGuiBase(); StelGuiBase();
virtual ~StelGuiBase() {;} virtual ~StelGuiBase() {;}
virtual void init(QGraphicsWidget* topLevelGraphicsWidget, class Ste lAppGraphicsWidget* stelAppGraphicsWidget); virtual void init(QGraphicsWidget *atopLevelGraphicsWidget);
//! Load color scheme matchin the section name. //! Load color scheme matchin the section name.
virtual void setStelStyle(const QString& section) =0; virtual void setStelStyle(const QString& section) =0;
//! Get a pointer on the info panel used to display selected object info //! Get a pointer on the info panel used to display selected object info
virtual void setInfoTextFilters(const StelObject::InfoStringGroup& a flags) =0; virtual void setInfoTextFilters(const StelObject::InfoStringGroup& a flags) =0;
virtual const StelObject::InfoStringGroup& getInfoTextFilters() cons t =0; virtual const StelObject::InfoStringGroup& getInfoTextFilters() cons t =0;
//! Add a new progress bar in the lower right corner of the screen.
//! When the progress bar is deleted the layout is automatically re
arranged.
//! @return a pointer to the progress bar.
virtual class QProgressBar* addProgressBar() =0;
virtual void forceRefreshGui() {;} virtual void forceRefreshGui() {;}
//! Show whether the GUI is visible. //! Show whether the GUI is visible.
//! @param b when true, GUI will be shown, else it will be hidden. //! @param b when true, GUI will be shown, else it will be hidden.
virtual void setVisible(bool b) =0; virtual void setVisible(bool b) =0;
//! Get the current visible status of the GUI. //! Get the current visible status of the GUI.
virtual bool getVisible() const =0; virtual bool getVisible() const =0;
//! Show wether the Gui is currently used. //! Show wether the Gui is currently used.
//! This can then be used to optimize the rendering to increase reac tivity. //! This can then be used to optimize the rendering to increase reac tivity.
virtual bool isCurrentlyUsed() const =0; virtual bool isCurrentlyUsed() const =0;
protected:
class StelAppGraphicsWidget* stelAppGraphicsWidget;
//! Translate all texts to the new Locale.
void updateI18n();
}; };
//! @class StelGuiPluginInterface //! @class StelGuiPluginInterface
//! Define the interface to implement when creating a GUI plugin. //! Define the interface to implement when creating a GUI plugin.
//! The interface is used by the <a href="http://doc.trolltech.com/4.5/qplu ginloader.html">QPluginLoader</a> to load Stellarium plugins dynamically. //! The interface is used by the <a href="http://doc.trolltech.com/4.5/qplu ginloader.html">QPluginLoader</a> to load Stellarium plugins dynamically.
class StelGuiPluginInterface class StelGuiPluginInterface
{ {
public: public:
virtual ~StelGuiPluginInterface() {} virtual ~StelGuiPluginInterface() {}
 End of changes. 3 change blocks. 
13 lines changed or deleted 1 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/