OcularDialog.hpp   OcularDialog.hpp 
skipping to change at line 26 skipping to change at line 26
* 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 _OCULARDIALOG_HPP_ #ifndef _OCULARDIALOG_HPP_
#define _OCULARDIALOG_HPP_ #define _OCULARDIALOG_HPP_
#include <QObject> #include <QObject>
#include "CCD.hpp" #include "CCD.hpp"
#include "Ocular.hpp" #include "Ocular.hpp"
#include "PropertyBasedTableModel.hpp" #include "PropertyBasedTableModel.hpp"
#include "StelDialogOculars.hpp" #include "StelDialog.hpp"
#include "StelStyle.hpp" #include "StelStyle.hpp"
#include "Telescope.hpp" #include "Telescope.hpp"
class Ui_ocularDialogForm; class Ui_ocularDialogForm;
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
class QDataWidgetMapper; class QDataWidgetMapper;
class QDoubleValidator; class QDoubleValidator;
class QIntValidator; class QIntValidator;
class QRegExpValidator; class QRegExpValidator;
class QModelIndex; class QModelIndex;
class QStandardItemModel; class QStandardItemModel;
QT_END_NAMESPACE QT_END_NAMESPACE
class OcularDialog : public StelDialogOculars class OcularDialog : public StelDialog
{ {
Q_OBJECT Q_OBJECT
public: public:
OcularDialog(QList<CCD *>* ccds, QList<Ocular *>* oculars, QList<Tel escope *>* telescopes); OcularDialog(QList<CCD *>* ccds, QList<Ocular *>* oculars, QList<Tel escope *>* telescopes);
virtual ~OcularDialog(); virtual ~OcularDialog();
void languageChanged();
//! 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);
void updateStyle(); void updateStyle();
public slots: public slots:
void closeWindow(); void closeWindow();
void deleteSelectedCCD(); void deleteSelectedCCD();
void deleteSelectedOcular(); void deleteSelectedOcular();
void deleteSelectedTelescope(); void deleteSelectedTelescope();
void insertNewCCD(); void insertNewCCD();
void insertNewOcular(); void insertNewOcular();
void insertNewTelescope(); void insertNewTelescope();
void languageChanged();
signals: signals:
void requireSelectionChanged(bool state);
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();
void updateActionMapping(const QString& actionName, const QString& n ewMapping);
Ui_ocularDialogForm* ui; Ui_ocularDialogForm* ui;
private slots: private slots:
void keyBindingTextTogglePluginChanged(const QString& newString); void keyBindingTogglePluginChanged(const QString& newString);
void keyBindingTextTogglePluginConfigChanged(const QString& newStrin void keyBindingPopupNavigatorConfigChanged(const QString& newString)
g); ;
void keyBindingTextToggleCrosshairChanged(const QString& newString); void requireSelectionStateChanged(int state);
void keyBindingTextToggleTelradChanged(const QString& newString);
void keyBindingTextNextCCDChanged(const QString& newString);
void keyBindingTextNextOcularChanged(const QString& newString);
void keyBindingTextNextTelescopeChanged(const QString& newString);
void keyBindingTextPreviousCCDChanged(const QString& newString);
void keyBindingTextPreviousOcularChanged(const QString& newString);
void keyBindingTextPreviousTelescopeChanged(const QString& newString
);
void scaleImageCircleStateChanged(int state); void scaleImageCircleStateChanged(int state);
private: private:
QDataWidgetMapper* ccdMapper; QDataWidgetMapper* ccdMapper;
QList<CCD *>* ccds; QList<CCD *>* ccds;
PropertyBasedTableModel* ccdTableModel; PropertyBasedTableModel* ccdTableModel;
QDataWidgetMapper* ocularMapper; QDataWidgetMapper* ocularMapper;
QList<Ocular *>* oculars; QList<Ocular *>* oculars;
PropertyBasedTableModel* ocularTableModel; PropertyBasedTableModel* ocularTableModel;
QDataWidgetMapper* telescopeMapper; QDataWidgetMapper* telescopeMapper;
 End of changes. 7 change blocks. 
16 lines changed or deleted 8 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/