Kstars

opscatalog.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_opscatalog.h"
10 
11 class KStars;
12 class QListWidgetItem;
13 class KConfigDialog;
14 
15 /**
16  * @class OpsCatalog
17  * The Catalog page for the Options window. This page allows the user
18  * to modify display of the major object catalogs in KStars:
19  * @li Hipparcos/Tycho Star Catalog
20  *
21  * DSO catalog control is deffered to `CatacalogsDBUI`.
22  *
23  * @short Catalog page of the Options window.
24  * @author Jason Harris
25  * @version 1.0
26  */
27 class OpsCatalog : public QFrame, public Ui::OpsCatalog
28 {
29  Q_OBJECT
30 
31  public:
32  explicit OpsCatalog();
33  virtual ~OpsCatalog() override = default;
34 
35  private slots:
36  void slotStarWidgets(bool on);
37  void slotDeepSkyWidgets(bool on);
38  void slotApply();
39  void slotCancel();
40 
41  private:
42  KConfigDialog *m_ConfigDialog{ nullptr };
43  float m_StarDensity{ 0 };
44  bool isDirty{ false };
45 };
Q_OBJECTQ_OBJECT
This is the main window for KStars. In addition to the GUI elements, the class contains the program c...
Definition: kstars.h:90
Catalog page of the Options window.
Definition: opscatalog.h:27
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Thu Nov 30 2023 04:05:13 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.