20 #ifndef _OCULARDIALOG_HPP_ 21 #define _OCULARDIALOG_HPP_ 26 #include "PropertyBasedTableModel.hpp" 27 #include "StelDialog.hpp" 28 #include "StelStyle.hpp" 29 #include "Telescope.hpp" 32 class Ui_ocularDialogForm;
35 class QDataWidgetMapper;
36 class QDoubleValidator;
38 class QRegExpValidator;
40 class QStandardItemModel;
51 OcularDialog(
Oculars* plugin, QList<CCD *>* ccds, QList<Ocular *>* oculars, QList<Telescope *>* telescopes, QList<Lens *>* lense);
56 void deleteSelectedCCD();
57 void deleteSelectedOcular();
58 void deleteSelectedTelescope();
59 void deleteSelectedLens();
61 void insertNewOcular();
62 void insertNewTelescope();
64 void moveUpSelectedSensor();
65 void moveUpSelectedOcular();
66 void moveUpSelectedTelescope();
67 void moveUpSelectedLens();
68 void moveDownSelectedSensor();
69 void moveDownSelectedOcular();
70 void moveDownSelectedTelescope();
71 void moveDownSelectedLens();
75 void requireSelectionChanged(
bool state);
76 void scaleImageCircleChanged(
bool state);
81 Ui_ocularDialogForm* ui;
85 void requireSelectionStateChanged(
int state);
86 void scaleImageCircleStateChanged(
int state);
87 void setLabelsDescriptionText(
bool state);
88 void selectedCCDRotationAngleChanged();
93 QDataWidgetMapper* ccdMapper;
96 QDataWidgetMapper* ocularMapper;
97 QList<Ocular *>* oculars;
99 QDataWidgetMapper* telescopeMapper;
100 QList<Telescope *>* telescopes;
102 QDataWidgetMapper* lensMapper;
103 QList<Lens *>* lense;
105 QRegExpValidator* validatorName;
108 #endif // _OCULARDIALOG_HPP_ Base class for all the GUI windows in Stellarium.
virtual void createDialogContent()
Initialize the dialog widgets and connect the signals/slots.
This class provides a table model for just about any QObject.
Main class of the Oculars plug-in.