OcularDialog.hpp   OcularDialog.hpp 
skipping to change at line 46 skipping to change at line 46
class QModelIndex; class QModelIndex;
class QSqlRecord; class QSqlRecord;
class QSqlTableModel; class QSqlTableModel;
QT_END_NAMESPACE QT_END_NAMESPACE
class OcularDialog : public StelDialogOculars class OcularDialog : public StelDialogOculars
{ {
Q_OBJECT Q_OBJECT
public: public:
OcularDialog(QSqlTableModel *ocularsTableModel, QSqlTableModel *tele scopesTableModel); OcularDialog(QSqlTableModel *CCDsTableModel, QSqlTableModel *oculars TableModel, QSqlTableModel *telescopesTableModel);
virtual ~OcularDialog(); virtual ~OcularDialog();
void languageChanged(); void languageChanged();
virtual void setStelStyle(const StelStyle& style); void updateStyle();
//! Notify that the application style changed //! Notify that the application style changed
void styleChanged(); void styleChanged();
void setOculars(QList<Ocular*> theOculars); void setOculars(QList<Ocular*> theOculars);
public slots: public slots:
void closeWindow(); void closeWindow();
void deleteSelectedCCD();
void deleteSelectedOcular(); void deleteSelectedOcular();
void deleteSelectedTelescope(); void deleteSelectedTelescope();
void insertNewCCD();
void insertNewOcular(); void insertNewOcular();
void insertNewTelescope(); void insertNewTelescope();
void CCDSelected(const QModelIndex &index);
void ocularSelected(const QModelIndex &index); void ocularSelected(const QModelIndex &index);
void telescopeSelected(const QModelIndex &index); void telescopeSelected(const QModelIndex &index);
void updateCCD();
void updateOcular(); void updateOcular();
void updateTelescope(); void updateTelescope();
signals: signals:
void scaleImageCircleChanged(bool state); void scaleImageCircleChanged(bool state);
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_ocularDialogForm* ui; Ui_ocularDialogForm* ui;
private slots: private slots:
void scaleImageCircleStateChanged(int state); void scaleImageCircleStateChanged(int state);
private: private:
QDataWidgetMapper *CCDMapper;
QSqlTableModel *CCDsTableModel;
QDataWidgetMapper *ocularMapper; QDataWidgetMapper *ocularMapper;
QSqlTableModel *ocularsTableModel; QSqlTableModel *ocularsTableModel;
QDataWidgetMapper *telescopeMapper; QDataWidgetMapper *telescopeMapper;
QSqlTableModel *telescopesTableModel; QSqlTableModel *telescopesTableModel;
QIntValidator *validatorOcularAFOV; QIntValidator *validatorOcularAFOV;
QDoubleValidator *validatorOcularEFL; QDoubleValidator *validatorOcularEFL;
QDoubleValidator *validatorTelescopeDiameter; QDoubleValidator *validatorTelescopeDiameter;
QDoubleValidator *validatorTelescopeFL; QDoubleValidator *validatorTelescopeFL;
QRegExpValidator *validatorName; QRegExpValidator *validatorName;
QIntValidator *validatorPositiveInt;
QDoubleValidator *validatorPositiveDouble;
}; };
#endif // _OCULARDIALOG_HPP_ #endif // _OCULARDIALOG_HPP_
 End of changes. 9 change blocks. 
4 lines changed or deleted 10 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/