Kstars

modcalcgalcoord.h
1/*
2 SPDX-FileCopyrightText: 2002 Pablo de Vicente <vicente@oan.es>
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 */
19class modCalcGalCoord : public QFrame, public Ui::modCalcGalCoordDlg
20{
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};
An angle, stored as degrees, but expressible in many ways.
Definition dms.h:38
Class which implements the KStars calculator module to compute Galactic coordinates to/from Equatoria...
Q_OBJECTQ_OBJECT
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:47 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.