ViewDialog.hpp   ViewDialog.hpp 
skipping to change at line 32 skipping to change at line 32
#include "StelDialog.hpp" #include "StelDialog.hpp"
#include <QObject> #include <QObject>
class Ui_viewDialogForm; class Ui_viewDialogForm;
class QListWidgetItem; class QListWidgetItem;
class AddRemoveLandscapesDialog; class AddRemoveLandscapesDialog;
class AtmosphereDialog; class AtmosphereDialog;
class GreatRedSpotDialog;
class ViewDialog : public StelDialog class ViewDialog : public StelDialog
{ {
Q_OBJECT Q_OBJECT
public: public:
ViewDialog(QObject* parent); 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();
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();
void projectionChanged(const QString& projectionName); void changeProjection(const QString& projectionNameI18n);
void viewportVerticalShiftChanged(const int shift); void projectionChanged();
void landscapeChanged(QListWidgetItem* item); void changeLandscape(QListWidgetItem* item);
void setZHR(int zhr); void landscapeChanged(QString id,QString name);
void updateZhrDescription(); void updateZhrDescription(int zhr);
void planetsLabelsValueChanged(int);
void nebulasLabelsValueChanged(int);
void nebulasMarkersValueChanged(int);
void setBortleScaleToolTip(int Bindex); void setBortleScaleToolTip(int Bindex);
void starsLabelsValueChanged(int);
void setCurrentLandscapeAsDefault(void); void setCurrentLandscapeAsDefault(void);
void setCurrentCultureAsDefault(void); void setCurrentCultureAsDefault(void);
void setFlagLandscapeUseMinimalBrightness(bool b); void updateDefaultSkyCulture();
void updateDefaultLandscape();
void setFlagCustomGrsSettings(bool b);
//! 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(); // NO LONGER NEEDED!
//void updateFromProgram();
void showAddRemoveLandscapesDialog(); void showAddRemoveLandscapesDialog();
void showAtmosphereDialog(); void showAtmosphereDialog();
void showGreatRedSpotDialog();
void setLightPollutionSpinBoxStatus();
// Two new from the unwanted trunk-rework Not sure if we need them a
t all?
void populateLightPollution(); void populateLightPollution();
void populateLandscapeMinimalBrightness();
// WHAT IS THE SKY LAYER? hidden, under development? // WHAT IS THE SKY LAYER? hidden, under development?
void populateSkyLayersList(); void populateSkyLayersList();
void skyLayersSelectionChanged(const QString&); void skyLayersSelectionChanged(const QString&);
void skyLayersEnabledChanged(int); void skyLayersEnabledChanged(int);
void setSelectedCatalogsFromCheckBoxes(); void setSelectedCatalogsFromCheckBoxes();
void setSelectedTypesFromCheckBoxes(); void setSelectedTypesFromCheckBoxes();
void changePage(QListWidgetItem *current, QListWidgetItem *previous) ; void changePage(QListWidgetItem *current, QListWidgetItem *previous) ;
void updateSelectedCatalogsCheckBoxes();
void updateSelectedTypesCheckBoxes();
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 connectGroupBox(class QGroupBox* groupBox, const QString& actio nId);
void updateSkyCultureText(); void updateSkyCultureText();
//! Make sure that no tabs icons are outside of the viewport. //! Make sure that no tabs icons are outside of the viewport.
//! @todo Limit the width to the width of the screen *available to t he window*. //! @todo Limit the width to the width of the screen *available to t he window*.
void updateTabBarListWidgetWidth(); void updateTabBarListWidgetWidth();
void updateSelectedCatalogsCheckBoxes();
void updateSelectedTypesCheckBoxes();
AddRemoveLandscapesDialog * addRemoveLandscapesDialog; AddRemoveLandscapesDialog * addRemoveLandscapesDialog;
AtmosphereDialog * atmosphereDialog; AtmosphereDialog * atmosphereDialog;
GreatRedSpotDialog * greatRedSpotDialog;
}; };
#endif // _VIEWDIALOG_HPP_ #endif // _VIEWDIALOG_HPP_
 End of changes. 12 change blocks. 
19 lines changed or deleted 20 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/