SlewDialog.hpp   SlewDialog.hpp 
skipping to change at line 27 skipping to change at line 27
* 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 _SLEWDIALOG_HPP_ #ifndef _SLEWDIALOG_HPP_
#define _SLEWDIALOG_HPP_ #define _SLEWDIALOG_HPP_
#include <QObject> #include <QObject>
#include <QHash> #include <QHash>
#include <QString> #include <QString>
#include "StelStyle.hpp" #include <QDir>
#include "StelDialog.hpp" #include "StoredPointsDialog.hpp"
#include "StelObjectMgr.hpp" #include "StelStyle.hpp"
#include "StelDialog.hpp"
#include "StelFileMgr.hpp"
class Ui_slewDialog; class Ui_slewDialog;
class TelescopeControl; class TelescopeControl;
class StoredPointsDialog;
class SlewDialog : public StelDialog class SlewDialog : public StelDialog
{ {
Q_OBJECT Q_OBJECT
public: public:
SlewDialog(); SlewDialog();
virtual ~SlewDialog(); virtual ~SlewDialog();
public slots: public slots:
void retranslate(); void retranslate();
protected: protected:
//! Initialize the dialog widgets and connect the signals/slots //! Initialize the dialog widgets and connect the signals/slots
virtual void createDialogContent(); virtual void createDialogContent();
Ui_slewDialog* ui; Ui_slewDialog* ui;
skipping to change at line 77 skipping to change at line 80
//! Sets both the right ascension field and the declination field to DMS. //! Sets both the right ascension field and the declination field to DMS.
//! The parameter is necessary for signal/slot compatibility (QRadio Button). //! The parameter is necessary for signal/slot compatibility (QRadio Button).
//! If "set" is "false", this method does nothing. //! If "set" is "false", this method does nothing.
void setFormatDMS(bool set); void setFormatDMS(bool set);
//! sets the format of the input fields to Decimal degrees. //! sets the format of the input fields to Decimal degrees.
//! Sets both the right ascension field and the declination field //! Sets both the right ascension field and the declination field
//! to decimal degrees. //! to decimal degrees.
//! The parameter is necessary for signal/slot compatibility (QRadio Button). //! The parameter is necessary for signal/slot compatibility (QRadio Button).
//! If "set" is "false", this method does nothing. //! If "set" is "false", this method does nothing.
void setFormatDecimal(bool set); void setFormatDecimal(bool set);
//! Sets the input fields to current info //! Sets the input fields to current info
void getCurrentObjectInfo(); void getCurrentObjectInfo();
//! Sets the input fields to current info //! Sets the input fields to current info
void getCenterInfo(); void getCenterInfo();
//! Add or remove user points
void editStoredPoints();
//!
void addStoredPointToComboBox(int number,
QString name,
double radiansRA,
double radiansDec);
//!
void removeStoredPointFromComboBox(int number);
//! Sets the input fields to selected point info
void getStoredPointInfo();
//
private: private:
//
TelescopeControl * telescopeManager; TelescopeControl * telescopeManager;
StoredPointsDialog * storedPointsDialog;
QHash<QString, int> connectedSlotsByName; QHash<QString, int> connectedSlotsByName;
QVariantMap storedPointsDescriptions;
void updateTelescopeList(); void updateTelescopeList();
void updateTelescopeControls(); void updateTelescopeControls();
//
void updateStoredPointsList();
//
void savePointsToFile();
void loadPointsFromFile();
}; };
#endif // _SLEWDIALOG_ #endif // _SLEWDIALOG_
 End of changes. 11 change blocks. 
7 lines changed or deleted 29 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/