Kstars

modcalcangdist.h
1/*
2 SPDX-FileCopyrightText: 2004 Pablo de Vicente <vicente@oan.es>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7#pragma once
8
9#include "ui_modcalcangdist.h"
10
11class dms;
12class dmsBox;
13class SkyPoint;
14class QTextStream;
15
16/**
17 * Module to compute the angular distance between two points in the sky and position angle.
18 *
19 * @author Pablo de Vicente
20 * @author Jasem Mutlaq
21 * @version 1.0
22 */
23class modCalcAngDist : public QFrame, public Ui::modCalcAngDistDlg
24{
26 public:
27 /**Constructor. */
28 explicit modCalcAngDist(QWidget *p);
29
30 virtual ~modCalcAngDist() override = default;
31
32 public slots:
33 void slotValidatePositions();
34 void slotObjectButton();
35 void slotResetTitle();
36 void slotRunBatch();
37
38 private:
39 /** Process Lines **/
40 void processLines(QTextStream &istream);
41
42 /** @returns a SkyPoint constructed from the coordinates in the RA and Dec dmsBoxes. */
43 SkyPoint getCoords(dmsBox *rBox, dmsBox *dBox, bool *ok);
44};
The sky coordinates of a point in the sky.
Definition skypoint.h:45
A QLineEdit which is capable of displaying and parsing angle values flexibly and robustly.
Definition dmsbox.h:34
An angle, stored as degrees, but expressible in many ways.
Definition dms.h:38
Module to compute the angular distance between two points in the sky and position angle.
modCalcAngDist(QWidget *p)
Constructor.
Q_OBJECTQ_OBJECT
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Oct 11 2024 12:15:13 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.