File indexing completed on 2024-04-28 15:09:03

0001 /*
0002     SPDX-FileCopyrightText: 2017 Jasem Mutlaq <mutlaqja@ikarustech.com>
0003     SPDX-FileCopyrightText: 2017 Robert Lancaster <rlancaste@gmail.com>
0004 
0005     SPDX-License-Identifier: GPL-2.0-or-later
0006 */
0007 
0008 #pragma once
0009 
0010 #include "ui_opsastrometry.h"
0011 
0012 #include <QWidget>
0013 
0014 class KConfigDialog;
0015 
0016 namespace Ekos
0017 {
0018 class Align;
0019 
0020 class OpsAstrometry : public QWidget, public Ui::OpsAstrometry
0021 {
0022     Q_OBJECT
0023 
0024   public:
0025 
0026     explicit OpsAstrometry(Align *parent);
0027     virtual ~OpsAstrometry() override = default;
0028 
0029   protected:
0030     void showEvent(QShowEvent *) override;
0031 
0032   private slots:
0033     void slotUpdatePosition();
0034     void slotUpdateScale();
0035     void slotApply();
0036 
0037   private:
0038     KConfigDialog *m_ConfigDialog { nullptr };
0039     Align *alignModule { nullptr };
0040 };
0041 }