File indexing completed on 2024-12-08 06:30:34

0001 /*
0002     SPDX-FileCopyrightText: 2021 Hy Murveit <hy@murveit.com>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 #include "ui_opsterrain.h"
0010 #include <QFrame>
0011 #include <kconfigdialog.h>
0012 
0013 class KStars;
0014 
0015 /**
0016  * @class OpsTerrain
0017  * The terrain page enables to user to manage the options for the terrain overlay.
0018  */
0019 class OpsTerrain : public QFrame, public Ui::OpsTerrain
0020 {
0021         Q_OBJECT
0022 
0023     public:
0024         explicit OpsTerrain();
0025         virtual ~OpsTerrain() override = default;
0026         void syncOptions();
0027 
0028     private slots:
0029         void slotApply();
0030         void saveTerrainFilename();
0031 
0032     private:
0033         KConfigDialog *m_ConfigDialog { nullptr };
0034 };
0035