- Timestamp:
- Nov 10, 2014, 4:22:47 PM (10 years ago)
- Location:
- trunk/BNC/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncwindow.cpp
r6299 r6318 1007 1007 _reqcSkyPlotSystems = new QComboBox(); 1008 1008 _reqcSkyPlotSystems->setEditable(false); 1009 _reqcSkyPlotSystems->addItems(QString(" ALL,GPS,GLONASS,Galileo").split(","));1009 _reqcSkyPlotSystems->addItems(QString(",ALL,GPS,GLONASS,Galileo").split(",")); 1010 1010 ik = _reqcSkyPlotSystems->findText(settings.value("reqcSkyPlotSystems").toString()); 1011 1011 if (ik != -1) { 1012 1012 _reqcSkyPlotSystems->setCurrentIndex(ik); 1013 1013 } 1014 connect(_reqcSkyPlotSystems, SIGNAL(currentIndexChanged(const QString &)), 1015 this, SLOT(slotBncTextChanged())); 1014 1016 1015 1017 _reqcLogSummaryOnly = new QCheckBox(); … … 2166 2168 // QC 2167 2169 // -- 2168 if (sender() == 0 || sender() == _reqcActionComboBox ) {2170 if (sender() == 0 || sender() == _reqcActionComboBox || sender() == _reqcSkyPlotSystems) { 2169 2171 enable = !_reqcActionComboBox->currentText().isEmpty(); 2170 2172 bool enable10 = _reqcActionComboBox->currentText() == "Edit/Concatenate"; 2173 bool enablePlot = !_reqcSkyPlotSystems->currentText().isEmpty(); 2171 2174 enableWidget(enable && enable10, _reqcEditOptionButton); 2172 2175 enableWidget(enable, _reqcObsFileChooser); … … 2175 2178 enableWidget(enable && enable10, _reqcOutNavLineEdit); 2176 2179 enableWidget(enable, _reqcOutLogLineEdit); 2177 enableWidget(enable && !enable10 , _reqcPlotDirLineEdit);2180 enableWidget(enable && !enable10 && enablePlot, _reqcPlotDirLineEdit); 2178 2181 enableWidget(enable && !enable10, _reqcSkyPlotSystems); 2179 2182 enableWidget(enable && !enable10, _reqcLogSummaryOnly); -
trunk/BNC/src/rinex/reqcanalyze.cpp
r6317 r6318 492 492 void t_reqcAnalyze::preparePlotData(const t_rnxObsFile* obsFile) { 493 493 494 QVector<t_polarPoint*>* dataMP1 = new QVector<t_polarPoint*>;495 QVector<t_polarPoint*>* dataMP2 = new QVector<t_polarPoint*>;496 QVector<t_polarPoint*>* dataSNR1 = new QVector<t_polarPoint*>;497 QVector<t_polarPoint*>* dataSNR2 = new QVector<t_polarPoint*>;498 499 494 bncSettings settings; 500 495 QString reqSkyPlotSystems = settings.value("reqcSkyPlotSystems").toString(); … … 511 506 plotGal = true; 512 507 } 513 else {508 else if (reqSkyPlotSystems == "ALL") { 514 509 plotGPS = true; 515 510 plotGlo = true; 516 511 plotGal = true; 517 512 } 513 else { 514 return; 515 } 516 517 QVector<t_polarPoint*>* dataMP1 = new QVector<t_polarPoint*>; 518 QVector<t_polarPoint*>* dataMP2 = new QVector<t_polarPoint*>; 519 QVector<t_polarPoint*>* dataSNR1 = new QVector<t_polarPoint*>; 520 QVector<t_polarPoint*>* dataSNR2 = new QVector<t_polarPoint*>; 518 521 519 522 // Loop over all observations
Note:
See TracChangeset
for help on using the changeset viewer.