StelGuiBase.hpp   StelGuiBase.hpp 
skipping to change at line 24 skipping to change at line 24
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, U SA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, U SA.
*/ */
#ifndef _STELGUIBASE_HPP_ #ifndef _STELGUIBASE_HPP_
#define _STELGUIBASE_HPP_ #define _STELGUIBASE_HPP_
#include "StelObject.hpp" #include "StelObject.hpp"
#include "StelStyle.hpp"
#include <QtPlugin> #include <QtPlugin>
class QGraphicsWidget; class QGraphicsWidget;
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* topLevelGraphicsWidget, class Ste lAppGraphicsWidget* stelAppGraphicsWidget);
//! Translate all texts to the new Locale. //! Translate all texts to the new Locale.
virtual void updateI18n(); virtual void updateI18n();
//! Load color scheme from the given ini file and section name. //! Load color scheme matchin the section name.
virtual void setStelStyle(const StelStyle& style) =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. //! 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. //! When the progress bar is deleted the layout is automatically re arranged.
//! @return a pointer to the progress bar. //! @return a pointer to the progress bar.
virtual class QProgressBar* addProgressBar() =0; virtual class QProgressBar* addProgressBar() =0;
 End of changes. 2 change blocks. 
3 lines changed or deleted 2 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/