ViewDialog.hpp   ViewDialog.hpp 
skipping to change at line 23 skipping to change at line 23
* GNU General Public License for more details. * GNU General Public License for more details.
* *
* 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., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA. * Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA.
*/ */
#ifndef _VIEWDIALOG_HPP_ #ifndef _VIEWDIALOG_HPP_
#define _VIEWDIALOG_HPP_ #define _VIEWDIALOG_HPP_
#include <QObject>
#include "StelDialog.hpp" #include "StelDialog.hpp"
#include <QObject>
class Ui_viewDialogForm; class Ui_viewDialogForm;
class QListWidgetItem; class QListWidgetItem;
class AddRemoveLandscapesDialog; class AddRemoveLandscapesDialog;
class AtmosphereDialog; class AtmosphereDialog;
class ViewDialog : public StelDialog class ViewDialog : public StelDialog
{ {
Q_OBJECT Q_OBJECT
public: public:
ViewDialog(); ViewDialog(QObject* parent);
virtual ~ViewDialog(); virtual ~ViewDialog();
//! Notify that the application style changed //! Notify that the application style changed
void styleChanged(); void styleChanged();
public slots: public slots:
void retranslate(); void retranslate();
void updateIconsColor();
protected: protected:
Ui_viewDialogForm* ui; Ui_viewDialogForm* ui;
//! Initialize the dialog widgets and connect the signals/slots //! Initialize the dialog widgets and connect the signals/slots
virtual void createDialogContent(); virtual void createDialogContent();
private slots: private slots:
void populateLists(); void populateLists();
void skyCultureChanged(const QString& cultureName); void skyCultureChanged(const QString& cultureName);
void projectionChanged(const QString& projectionName); void projectionChanged(const QString& projectionName);
void landscapeChanged(QListWidgetItem* item); void landscapeChanged(QListWidgetItem* item);
void setZhrFromControls(); void setZhrFromControls(int zhr);
void updateZhrDescription();
void updateZhrControls(int zhr); void updateZhrControls(int zhr);
void updateZhrDescription(int zhr);
void planetsLabelsValueChanged(int); void planetsLabelsValueChanged(int);
void nebulasLabelsValueChanged(int); void nebulasLabelsValueChanged(int);
void setBortleScaleToolTip(int Bindex);
void starsLabelsValueChanged(int); void starsLabelsValueChanged(int);
void setCurrentLandscapeAsDefault(void); void setCurrentLandscapeAsDefault(void);
void setCurrentCultureAsDefault(void); void setCurrentCultureAsDefault(void);
//! Update the widget to make sure it is synchrone if a value was ch anged programmatically //! Update the widget to make sure it is synchrone if a value was ch anged programmatically
//! This function should be called repeatidly with e.g. a timer //! This function should be called repeatidly with e.g. a timer
void updateFromProgram(); void updateFromProgram();
void showAddRemoveLandscapesDialog(); void showAddRemoveLandscapesDialog();
void showAtmosphereDialog(); void showAtmosphereDialog();
void populateLightPollution();
void populateSkyLayersList(); void populateSkyLayersList();
void skyLayersSelectionChanged(const QString&); void skyLayersSelectionChanged(const QString&);
void skyLayersEnabledChanged(int); void skyLayersEnabledChanged(int);
void changePage(QListWidgetItem *current, QListWidgetItem *previous) ; void changePage(QListWidgetItem *current, QListWidgetItem *previous) ;
private: private:
//! convenience method to link a checkbox to a StelAction.
void connectCheckBox(class QCheckBox* checkBox, const QString& actio
nId);
void connectGroupBox(class QGroupBox* groupBox, const QString& actio
nId);
void updateSkyCultureText(); void updateSkyCultureText();
AddRemoveLandscapesDialog * addRemoveLandscapesDialog; AddRemoveLandscapesDialog * addRemoveLandscapesDialog;
AtmosphereDialog * atmosphereDialog; AtmosphereDialog * atmosphereDialog;
}; };
#endif // _VIEWDIALOG_HPP_ #endif // _VIEWDIALOG_HPP_
 End of changes. 9 change blocks. 
5 lines changed or deleted 13 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/