File indexing completed on 2024-04-28 07:32:36
0001 /* 0002 SPDX-FileCopyrightText: 2004 Pablo de Vicente <p.devicente@wanadoo.es> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include "kstarsdatetime.h" 0010 #include "ui_modcalceclipticcoords.h" 0011 0012 /** 0013 * Class which implements the KStars calculator module to compute 0014 * geocentric ecliptic coordinates to/from geocentric equatorial coordinates. 0015 * 0016 * Inherits QWidget 0017 * 0018 * @author Pablo de Vicente 0019 */ 0020 class modCalcEclCoords : public QFrame, public Ui::modCalcEclCoordsDlg 0021 { 0022 Q_OBJECT 0023 0024 public: 0025 explicit modCalcEclCoords(QWidget *p); 0026 virtual ~modCalcEclCoords() override = default; 0027 0028 public slots: 0029 void slotNow(void); 0030 void slotObject(void); 0031 void slotDateTimeChanged(const QDateTime &edt); 0032 void slotCompute(void); 0033 0034 private: 0035 KStarsDateTime kdt; 0036 };