- Timestamp:
- Jun 16, 2013, 10:20:24 AM (11 years ago)
- Location:
- trunk/BNC/src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncwindow.cpp
r5189 r5214 96 96 _runningPostProcessingPPP = false; 97 97 _runningPostProcessingReqc = false; 98 _postProcessing = 0; 98 99 99 100 _pppSPPComboBox = 0; // necessary for enableStartStop() … … 2729 2730 enableStartStop(); 2730 2731 2731 t_postProcessing* postProcessing = new t_postProcessing(this); 2732 connect(postProcessing, SIGNAL(finished()), this, SLOT(slotFinishedPostProcessingPPP())); 2733 connect(postProcessing, SIGNAL(progress(int)), this, SLOT(slotPostProgress(int))); 2734 2735 postProcessing->start(); 2732 delete _postProcessing; 2733 _postProcessing = new t_postProcessing(this); 2734 connect(_postProcessing, SIGNAL(finished()), this, SLOT(slotFinishedPostProcessingPPP())); 2735 connect(_postProcessing, SIGNAL(progress(int)), this, SLOT(slotPostProgress(int))); 2736 bncSettings settings; 2737 if ( Qt::CheckState(settings.value("pppPlotCoordinates").toInt()) == Qt::Checked) { 2738 connect(_postProcessing, SIGNAL(newPosition(bncTime, double, double, double)), 2739 _bncFigurePPP, SLOT(slotNewPosition(bncTime, double, double, double))); 2740 } 2741 #ifdef QT_WEBKIT 2742 if (_mapWin) { 2743 connect(_postProcessing, SIGNAL(newPosition(bncTime, double, double, double)), 2744 _mapWin, SLOT(slotNewPosition(bncTime, double, double, double))); 2745 } 2746 #endif 2747 2748 _postProcessing->start(); 2736 2749 #else 2737 2750 QMessageBox::information(this, "Information", … … 2875 2888 _mapWin, SLOT(slotNewPosition(bncTime, double, double, double))); 2876 2889 } 2890 if (_postProcessing) { 2891 connect(_postProcessing, SIGNAL(newPosition(bncTime, double, double, double)), 2892 _mapWin, SLOT(slotNewPosition(bncTime, double, double, double))); 2893 } 2877 2894 } 2878 2895 _mapWin->show(); -
trunk/BNC/src/bncwindow.h
r5187 r5214 54 54 class qtFileChooser; 55 55 class bncMapWin; 56 class t_postProcessing; 56 57 57 58 class bncWindow : public QMainWindow { … … 260 261 bool _runningPostProcessingPPP; 261 262 bool _runningPostProcessingReqc; 263 t_postProcessing* _postProcessing; 262 264 263 265 bncMapWin* _mapWin; -
trunk/BNC/src/map/bncmapwin.cpp
r5213 r5214 158 158 xyz2ell(xyz, ell); 159 159 gotoLocation(ell[0]*180.0/M_PI, ell[1]*180.0/M_PI); 160 qDebug() << ell[0]*180.0/M_PI << ell[1]*180.0/M_PI; 160 161 } -
trunk/BNC/src/rinex/bncpostprocess.cpp
r5072 r5214 164 164 connect(_pppClient, SIGNAL(newMessage(QByteArray,bool)), 165 165 this, SLOT(slotMessage(const QByteArray,bool))); 166 connect(_pppClient, SIGNAL(newPosition(bncTime, double, double, double)), 167 this, SIGNAL(newPosition(bncTime, double, double, double))); 166 168 } 167 169 -
trunk/BNC/src/rinex/bncpostprocess.h
r4261 r5214 49 49 t_obs& obs); 50 50 51 protected:52 51 ~t_postProcessing(); 53 52 … … 55 54 void progress(int); 56 55 void finished(); 56 void newPosition(bncTime time, double x, double y, double z); 57 57 58 58 public slots:
Note:
See TracChangeset
for help on using the changeset viewer.