Kstars

opscatalog.h
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_opscatalog.h"
10
11class KStars;
12class QListWidgetItem;
13class 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 */
27class OpsCatalog : public QFrame, public Ui::OpsCatalog
28{
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};
This is the main window for KStars.
Definition kstars.h:91
The Catalog page for the Options window.
Definition opscatalog.h:28
Q_OBJECTQ_OBJECT
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Oct 4 2024 12:01:03 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.