Kstars

modcalcplanets.h
1/*
2 SPDX-FileCopyrightText: 2004-2005 Pablo de Vicente <pvicentea@wanadoo.es>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7#pragma once
8
9#include "ui_modcalcplanets.h"
10
11class QTextStream;
12
13class GeoLocation;
14class KSPlanetBase;
15
16/**
17 *@author Pablo de Vicente
18 */
19class modCalcPlanets : public QFrame, public Ui::modCalcPlanetsDlg
20{
22
23 public:
24 explicit modCalcPlanets(QWidget *p);
25 virtual ~modCalcPlanets() override = default;
26
27 public slots:
28
29 void slotLocation();
30 void slotComputePosition();
31 void slotUtCheckedBatch();
32 void slotDateCheckedBatch();
33 void slotLongCheckedBatch();
34 void slotLatCheckedBatch();
35 void slotPlanetsCheckedBatch();
36 void slotRunBatch();
37 void processLines(QTextStream &istream);
38 //void slotInputFile();
39 //void slotOutputFile();
40 //void slotRunBatch();
41
42 private:
43 void showCoordinates(const KSPlanetBase &ksp);
44 void showHeliocentricEclipticCoords(const dms &hLong, const dms &hLat, double dist);
45 void showGeocentricEclipticCoords(const dms &eLong, const dms &eLat, double r);
46 void showEquatorialCoords(const dms &ra, const dms &dec);
47 void showTopocentricCoords(const dms &az, const dms &el);
48 unsigned int requiredBatchFields();
49
50 // void processLines( QTextStream &istream );
51
52 GeoLocation *geoPlace;
53};
Contains all relevant information for specifying a location on Earth: City Name, State/Province name,...
Definition geolocation.h:28
A subclass of TrailObject that provides additional information needed for most solar system objects.
An angle, stored as degrees, but expressible in many ways.
Definition dms.h:38
void processLines(QTextStream &istream)
Q_OBJECTQ_OBJECT
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:38:44 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.