1 /* 2 SPDX-FileCopyrightText: 2021 Hy Murveit <hy@murveit.com> 3 4 SPDX-License-Identifier: GPL-2.0-or-later 5 */ 6 7 #pragma once 8 9 #include "ui_opsterrain.h" 10 #include <QFrame> 11 #include <kconfigdialog.h> 12 13 class KStars; 14 15 /** 16 * @class OpsTerrain 17 * The terrain page enables to user to manage the options for the terrain overlay. 18 */ 19 class OpsTerrain : public QFrame, public Ui::OpsTerrain 20 { 21 Q_OBJECT 22 23 public: 24 explicit OpsTerrain(); 25 virtual ~OpsTerrain() override = default; 26 void syncOptions(); 27 28 private slots: 29 void slotApply(); 30 void saveTerrainFilename(); 31 32 private: 33 KConfigDialog *m_ConfigDialog { nullptr }; 34 }; 35 36