1 /* 2 SPDX-FileCopyrightText: 2017 Jasem Mutlaq <mutlaqja@ikarustech.com> 3 4 SPDX-License-Identifier: GPL-2.0-or-later 5 */ 6 7 #pragma once 8 9 #include "ui_opsfits.h" 10 #include "config-kstars.h" 11 12 #include <QStandardItemModel> 13 #include <KConfigDialog> 14 15 #ifdef HAVE_STELLARSOLVER 16 #include "ekos/auxiliary/stellarsolverprofileeditor.h" 17 18 namespace SSolver 19 { 20 class Parameters; 21 } 22 #endif 23 24 class KStars; 25 26 /** @class OpsFITS 27 *The FITS Tab of the Options window. Configure FITS options including look and feel and how FITS Viewer processes the data. 28 *@author Jasem Mutlaq 29 *@version 1.0 30 */ 31 class OpsFITS : public QFrame, public Ui::OpsFITS 32 { 33 Q_OBJECT 34 35 public: 36 explicit OpsFITS(); 37 38 private: 39 #ifdef HAVE_STELLARSOLVER 40 // Initializes the HFR options menu. 41 void setupHFROptions(); 42 void loadStellarSolverProfiles(); 43 44 QList<SSolver::Parameters> m_StellarSolverProfiles; 45 QString savedOptionsProfiles; 46 Ekos::StellarSolverProfileEditor *optionsProfileEditor { nullptr }; 47 #endif 48 49 }; 50 51