kstars
modcalcgeodcoord.h
Go to the documentation of this file.00001 /*************************************************************************** 00002 modcalcgeodcoord.h - description 00003 ------------------- 00004 begin : Tue Jan 15 2002 00005 copyright : (C) 2002 by Pablo de Vicente 00006 email : vicente@oan.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 MODCALCGEODCOORD_H 00019 #define MODCALCGEODCOORD_H 00020 00021 #include "modcalcgeoddlg.h" 00022 00032 //class QWidget; 00033 //class QLineEdit; 00034 //class QRadioButton; 00035 //class dmsBox; 00036 class GeoLocation; 00037 00038 class modCalcGeodCoord : public modCalcGeodCoordDlg { 00039 00040 Q_OBJECT 00041 public: 00042 00043 modCalcGeodCoord(QWidget *p, const char *n); 00044 ~modCalcGeodCoord(); 00045 00046 void genGeoCoords(void); 00047 void getCartGeoCoords (void); 00048 void getSphGeoCoords (void); 00049 void showSpheGeoCoords(void); 00050 void showCartGeoCoords(void); 00051 00052 public slots: 00053 00054 void slotComputeGeoCoords (void); 00055 void slotClearGeoCoords (void); 00056 void setEllipsoid(int i); 00057 void slotLongCheckedBatch(); 00058 void slotLatCheckedBatch(); 00059 void slotElevCheckedBatch(); 00060 void slotXCheckedBatch(); 00061 void slotYCheckedBatch(); 00062 void slotZCheckedBatch(); 00063 void slotOutputFile(); 00064 void slotInputFile(); 00065 private: 00066 00067 void geoCheck(void); 00068 void xyzCheck(void); 00069 void showLongLat(void); 00070 void processLines( QTextStream &istream ); 00071 void slotRunBatch(void); 00072 00073 // QRadioButton *cartRadio, *spheRadio; 00074 // QVBox *vbox, *rightBox; 00075 // QLineEdit *xGeoName, *yGeoName, *zGeoName, *altGeoName; 00076 // dmsBox *timeBox, *dateBox, *lonGeoBox, *latGeoBox; 00077 00078 GeoLocation *geoPlace; 00079 bool xyzInputCoords; 00080 00081 }; 00082 00083 #endif