File indexing completed on 2024-04-21 14:46:54
0001 /* 0002 SPDX-FileCopyrightText: 2002 Pablo de Vicente <vicente@oan.es> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include "ui_modcalcapcoord.h" 0010 0011 class QTextStream; 0012 0013 /** 0014 * Compute the equatorial coordinates for a given date and time 0015 * from a given epoch or equinox 0016 * 0017 * @author Pablo de Vicente 0018 * @version 0.9 0019 */ 0020 class modCalcApCoord : public QFrame, public Ui::modCalcApCoordDlg 0021 { 0022 Q_OBJECT 0023 public: 0024 /** Constructor. */ 0025 explicit modCalcApCoord(QWidget *p); 0026 0027 /** Process Lines **/ 0028 // void processLines( const QFile * f ); 0029 void processLines(QTextStream &istream); 0030 0031 private slots: 0032 void slotCompute(); 0033 void slotObject(); 0034 0035 /** Fill the Time and Date fields with the current values from the CPU clock. */ 0036 void showCurrentTime(); 0037 0038 void slotUtCheckedBatch(); 0039 void slotDateCheckedBatch(); 0040 void slotRaCheckedBatch(); 0041 void slotDecCheckedBatch(); 0042 void slotEpochCheckedBatch(); 0043 void slotRunBatch(); 0044 };