Kstars

opssolarsystem.h
1 /*
2  SPDX-FileCopyrightText: 2004 Jason Harris <[email protected]>
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 };
Q_OBJECTQ_OBJECT
The Solar System page of the Options window.
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Aug 18 2022 03:56:43 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.