Kstars

opsguides.h
1 /*
2  SPDX-FileCopyrightText: 2005 Jason Harris <[email protected]>
3 
4  SPDX-License-Identifier: GPL-2.0-or-later
5 */
6 
7 #pragma once
8 
9 #include "ui_opsguides.h"
10 
11 class KConfigDialog;
12 
13 /**
14  * @class OpsGuides
15  * The guide page enables to user to select to turn on and off guide overlays such as
16  * constellation lines, boundaries, flags..etc.
17  */
18 class OpsGuides : public QFrame, public Ui::OpsGuides
19 {
20  Q_OBJECT
21 
22  public:
23  explicit OpsGuides();
24  virtual ~OpsGuides() override = default;
25 
26  private slots:
27  void slotApply();
28  void slotToggleConstellOptions(bool state);
29  void slotToggleConstellationArt(bool state);
30  void slotToggleMilkyWayOptions(bool state);
31  void slotToggleOpaqueGround(bool state);
32  void slotToggleAutoSelectGrid(bool state);
33 
34  private:
35  KConfigDialog *m_ConfigDialog { nullptr };
36  bool isDirty { false };
37 };
38 
Q_OBJECTQ_OBJECT
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Fri Aug 12 2022 04:00:56 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.