File indexing completed on 2024-04-14 03:42:29

0001 /*
0002     SPDX-FileCopyrightText: 2017 Jasem Mutlaq <mutlaqja@ikarustech.com>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 #include "ui_opsfits.h"
0010 #include "config-kstars.h"
0011 
0012 #include <QStandardItemModel>
0013 #include <KConfigDialog>
0014 
0015 #ifdef HAVE_STELLARSOLVER
0016 #include "ekos/auxiliary/stellarsolverprofileeditor.h"
0017 
0018 namespace SSolver
0019 {
0020 class Parameters;
0021 }
0022 #endif
0023 
0024 class KStars;
0025 
0026 /** @class OpsFITS
0027  *The FITS Tab of the Options window.  Configure FITS options including look and feel and how FITS Viewer processes the data.
0028  *@author Jasem Mutlaq
0029  *@version 1.0
0030  */
0031 class OpsFITS : public QFrame, public Ui::OpsFITS
0032 {
0033         Q_OBJECT
0034 
0035     public:
0036         explicit OpsFITS();
0037 
0038     private:
0039 #ifdef HAVE_STELLARSOLVER
0040         // Initializes the HFR options menu.
0041         void setupHFROptions();
0042         void loadStellarSolverProfiles();
0043 
0044         QList<SSolver::Parameters> m_StellarSolverProfiles;
0045         QString savedOptionsProfiles;
0046         Ekos::StellarSolverProfileEditor *optionsProfileEditor { nullptr };
0047 #endif
0048 
0049 };
0050