Kstars

jmoontool.h
1 /*
2  SPDX-FileCopyrightText: 2003 Jason Harris <[email protected]>
3 
4  SPDX-License-Identifier: GPL-2.0-or-later
5 */
6 
7 #pragma once
8 
9 #include <QDialog>
10 
11 class QColor;
12 
13 class KPlotWidget;
14 class KStars;
15 
16 /**
17  * @class JMoonTool
18  * @short Display the positions of Jupiter's moons as a function of time
19  *
20  * @version 1.0
21  * @author Jason Harris
22  */
23 class JMoonTool : public QDialog
24 {
25  Q_OBJECT
26 
27  public:
28  explicit JMoonTool(QWidget *parent = nullptr);
29 
30  protected:
31  virtual void keyPressEvent(QKeyEvent *e) override;
32 
33  private:
34  void initPlotObjects();
35 
36  KPlotWidget *pw { nullptr };
37  QColor colJp, colIo, colEu, colGn, colCa;
38 };
Q_OBJECTQ_OBJECT
Display the positions of Jupiter's moons as a function of time.
Definition: jmoontool.h:23
This is the main window for KStars. In addition to the GUI elements, the class contains the program c...
Definition: kstars.h:89
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Jun 4 2023 03:57:13 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.