Changeset View
Changeset View
Standalone View
Standalone View
kstars/ekos/align/opsastrometrycfg.h
Show All 13 Lines | |||||
14 | class OpsAstrometryCfg : public QDialog, public Ui::OpsAstrometryCfg | 14 | class OpsAstrometryCfg : public QDialog, public Ui::OpsAstrometryCfg | ||
15 | { | 15 | { | ||
16 | Q_OBJECT | 16 | Q_OBJECT | ||
17 | 17 | | |||
18 | public: | 18 | public: | ||
19 | explicit OpsAstrometryCfg(Align *parent); | 19 | explicit OpsAstrometryCfg(Align *parent); | ||
20 | virtual ~OpsAstrometryCfg() override = default; | 20 | virtual ~OpsAstrometryCfg() override = default; | ||
21 | 21 | | |||
22 | protected: | ||||
23 | void showEvent(QShowEvent *) override; | ||||
24 | | ||||
22 | private slots: | 25 | private slots: | ||
23 | void slotLoadCFG(); | 26 | void slotLoadCFG(); | ||
24 | void slotSetAstrometryIndexFileLocation(); | 27 | void slotAddAstrometryIndexFileLocation(); | ||
28 | void slotRemoveAstrometryIndexFileLocation(); | ||||
29 | void slotClickAstrometryIndexFileLocation(QListWidgetItem *item); | ||||
25 | void slotApply(); | 30 | void slotApply(); | ||
26 | void slotCFGEditorUpdated(); | 31 | void slotCFGEditorUpdated(); | ||
27 | 32 | | |||
28 | private: | 33 | private: | ||
29 | KConfigDialog *m_ConfigDialog { nullptr }; | 34 | KConfigDialog *m_ConfigDialog { nullptr }; | ||
30 | Align *alignModule { nullptr }; | 35 | Align *alignModule { nullptr }; | ||
31 | QString currentCFGText; | 36 | QString currentCFGText; | ||
32 | }; | 37 | }; | ||
33 | } | 38 | } |