1 /* 2 SPDX-FileCopyrightText: 2004 Jason Harris <jharris@30doradus.org> 3 4 SPDX-License-Identifier: GPL-2.0-or-later 5 */ 6 7 #pragma once 8 9 #include "ui_opssolarsystem.h" 10 11 class KConfigDialog; 12 13 /** @class OpsSolarSystem 14 *The Solar System page for the Options window. This page allows the user 15 *to modify display of solar system bodies in KStars, including the 16 *major planets, the Sun and Moon, and the comets and asteroids. 17 *@short The Solar System page of the Options window. 18 *@author Jason Harris 19 *@version 1.0 20 */ 21 class OpsSolarSystem : public QFrame, public Ui::OpsSolarSystem 22 { 23 Q_OBJECT 24 25 public: 26 explicit OpsSolarSystem(); 27 virtual ~OpsSolarSystem() override = default; 28 29 private slots: 30 void slotChangeMagDownload(double mag); 31 void slotAllWidgets(bool on); 32 void slotAsteroidWidgets(bool on); 33 void slotCometWidgets(bool on); 34 void slotSelectPlanets(); 35 void slotApply(); 36 37 private: 38 bool isDirty { false }; 39 KConfigDialog *m_ConfigDialog { nullptr }; 40 }; 41