1 /* 2 SPDX-FileCopyrightText: 2017 Jasem Mutlaq <mutlaqja@ikarustech.com> 3 SPDX-FileCopyrightText: 2017 Robert Lancaster <rlancaste@gmail.com> 4 5 SPDX-License-Identifier: GPL-2.0-or-later 6 */ 7 8 #pragma once 9 10 #include "ui_opsprograms.h" 11 12 #include <QWidget> 13 14 class KConfigDialog; 15 16 namespace Ekos 17 { 18 class Align; 19 20 class OpsPrograms : public QWidget, public Ui::OpsPrograms 21 { 22 Q_OBJECT 23 24 public: 25 explicit OpsPrograms(Align *parent); 26 virtual ~OpsPrograms() override = default; 27 28 protected: 29 private slots: 30 void loadDefaultPaths(int option); 31 void toggleSolverInternal(); 32 void toggleConfigInternal(); 33 void toggleWCSInternal(); 34 void toggleSextractorInternal(); 35 void slotApply(); 36 37 signals: 38 void settingsUpdated(); 39 40 private: 41 KConfigDialog *m_ConfigDialog { nullptr }; 42 Align *alignModule { nullptr }; 43 44 45 }; 46 } 47