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);
59 void deleteSelectedCCD();
60 void deleteSelectedOcular();
61 void deleteSelectedTelescope();
62 void deleteSelectedLens();
64 void insertNewOcular();
65 void insertNewTelescope();
67 void moveUpSelectedSensor();
68 void moveUpSelectedOcular();
69 void moveUpSelectedTelescope();
70 void moveUpSelectedLens();
71 void moveDownSelectedSensor();
72 void moveDownSelectedOcular();
73 void moveDownSelectedTelescope();
74 void moveDownSelectedLens();
78 void requireSelectionChanged(
bool state);
79 void scaleImageCircleChanged(
bool state);
84 Ui_ocularDialogForm* ui;
87 void keyBindingTogglePluginChanged(
const QString& newString);
88 void keyBindingPopupNavigatorConfigChanged(
const QString& newString);
90 void requireSelectionStateChanged(
int state);
91 void scaleImageCircleStateChanged(
int state);
92 void setLabelsDescriptionText(
bool state);
93 void selectedCCDRotationAngleChanged();
98 QDataWidgetMapper* ccdMapper;
101 QDataWidgetMapper* ocularMapper;
102 QList<Ocular *>* oculars;
104 QDataWidgetMapper* telescopeMapper;
105 QList<Telescope *>* telescopes;
107 QDataWidgetMapper* lensMapper;
108 QList<Lens *>* lense;
110 QRegExpValidator* validatorName;
113 #endif // _OCULARDIALOG_HPP_
A local copy of StelDialog, the base class for all the GUI windows in Stellarium, included to allow t...
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.
void styleChanged()
Notify that the application style changed.