kstars
modcalceclipticcoords.h
Go to the documentation of this file.00001 /*************************************************************************** 00002 modcalceclipticcoords.h - description 00003 ------------------- 00004 begin : Fri May 14 2004 00005 copyright : (C) 2004 by Pablo de Vicente 00006 email : p.devicente@wanadoo.es 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 #ifndef MODCALCECLIPTICCOORDS_H 00019 #define MODCALCECLIPTICCOORDS_H 00020 00021 #include "modcalceclipticcoordsdlg.h" 00022 #include "dms.h" 00023 00024 class QString; 00025 00034 class modCalcEclCoords : public modCalcEclCoordsDlg { 00035 00036 Q_OBJECT 00037 00038 public: 00039 00040 modCalcEclCoords(QWidget *p, const char *n); 00041 ~modCalcEclCoords(); 00042 00043 void getEclCoords (void); 00044 void getEquCoords (void); 00045 double getEpoch( QString t ); 00046 void showEquCoords(void); 00047 void showEclCoords(void); 00048 void EclToEqu(void); 00049 void EquToEcl(void); 00050 00051 public slots: 00052 00053 void slotClearCoords (void); 00054 void slotComputeCoords (void); 00055 void slotEclLatCheckedBatch(void); 00056 void slotEclLongCheckedBatch(void); 00057 void slotRaCheckedBatch(void); 00058 void slotDecCheckedBatch(void); 00059 void slotEpochCheckedBatch(void); 00060 void slotInputFile(void); 00061 void slotOutputFile(void); 00062 void slotRunBatch(); 00063 00064 private: 00065 void equCheck(void); 00066 void eclCheck(void); 00067 void processLines( QTextStream &is ); 00068 00069 dms eclipLong, eclipLat, raCoord, decCoord; 00070 double epoch; 00071 bool eclInputCoords; 00072 }; 00073 #endif 00074