Kstars

modcalcgalcoord.h
1 /*
2  SPDX-FileCopyrightText: 2002 Pablo de Vicente <[email protected]>
3 
4  SPDX-License-Identifier: GPL-2.0-or-later
5 */
6 
7 #pragma once
8 
9 #include "dms.h"
10 #include "ui_modcalcgalcoord.h"
11 
12 /**
13  * Class which implements the KStars calculator module to compute
14  * Galactic coordinates to/from Equatorial coordinates.
15  *
16  * @author Pablo de Vicente
17  * @version 0.9
18  */
19 class modCalcGalCoord : public QFrame, public Ui::modCalcGalCoordDlg
20 {
21  Q_OBJECT
22 
23  public:
24  explicit modCalcGalCoord(QWidget *p);
25  virtual ~modCalcGalCoord() override = default;
26 
27  public slots:
28 
29  void slotComputeCoords();
30  void slotObject();
31 
32  void slotGalLatCheckedBatch();
33  void slotGalLongCheckedBatch();
34  void slotRaCheckedBatch();
35  void slotDecCheckedBatch();
36  void slotEpochCheckedBatch();
37  void slotRunBatch();
38 
39  private:
40  void equCheck();
41  void galCheck();
42  void processLines(QTextStream &is);
43 
44  dms galLong, galLat, raCoord, decCoord;
45  QString epoch;
46  bool galInputCoords { false };
47 };
Q_OBJECTQ_OBJECT
Class which implements the KStars calculator module to compute Galactic coordinates to/from Equatoria...
An angle, stored as degrees, but expressible in many ways.
Definition: dms.h:37
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Sun Aug 14 2022 04:13:58 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.