- Timestamp:
- Jul 5, 2018, 12:51:40 PM (7 years ago)
- Location:
- trunk/BNC/src
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncmain.cpp
r8397 r8403 208 208 " PPP/snxtroPath {Directory for SINEX troposphere output files [character string]}\n" 209 209 " PPP/snxtroIntr {SINEX troposphere file interval [character string: 1 min|2 min|5 min|10 min|15 min|30 min|1 hour|1 day]}\n" 210 " PPP/snxtroSampl {SINEX troposphere file sampling rate [ integer number of seconds: 0|30|60|90|120|150|180|210|240|270|300]}\n"210 " PPP/snxtroSampl {SINEX troposphere file sampling rate [character string: 1 sec|5 sec|10 sec|30 sec|60 sec|300 sec]}\n" 211 211 " PPP/snxtroAc {SINEX troposphere Analysis Center [character string]}\n" 212 212 " PPP/snxtroSol {SINEX troposphere solution ID [character string]}\n" -
trunk/BNC/src/bncsinextro.cpp
r8134 r8403 32 32 33 33 _opt = opt; 34 (!sampl) ? _sampl = 1 :_sampl = sampl;34 _sampl = sampl; 35 35 36 36 _antex = 0; -
trunk/BNC/src/bncwindow.cpp
r8397 r8403 1386 1386 _pppWidgets._snxtroPath->setWhatsThis(tr("<p>Specify a directory for saving SINEX Troposphere files. If the specified directory does not exist, BNC will not create such files.</p><p>Default is an empty option field, meaning that no SINEX Troposphere files shall be produced. <i>[key: PPP/snxtroPath]</i></p>")); 1387 1387 _pppWidgets._snxtroIntr->setWhatsThis(tr("<p>Select a length for SINEX Troposphere files.</p><p>Default 'SNX TRO interval' for saving SINEX Troposphere files on disk is '1 hour'. <i>[key: PPP/snxtroIntr]</i></p>")); 1388 _pppWidgets._snxtroSampl->setWhatsThis(tr("<p>Select a 'Sampling' rate for saving troposphere parameters. </p><p>Default 'SNX TRO sampling' rate is '0', meaning that all troposphere estimates will be saved on disk.<i>[key: PPP/snxtroSampl]</i></p>"));1388 _pppWidgets._snxtroSampl->setWhatsThis(tr("<p>Select a 'Sampling' rate for saving troposphere parameters. <i>[key: PPP/snxtroSampl]</i></p>")); 1389 1389 _pppWidgets._snxtroAc->setWhatsThis(tr("<p>Specify a 3-character abbreviation describing you as the generating Analysis Center (AC) in your SINEX troposphere files. <i>[key: PPP/snxtroAc]</i></p>")); 1390 1390 _pppWidgets._snxtroSol->setWhatsThis(tr("<p>Specify a 4-character solution ID to allow a distingtion between different solutions per AC. <i>[key: PPP/snxtroSol]</i></p>")); -
trunk/BNC/src/pppRun.cpp
r8320 r8403 225 225 snxtroFileSkl = snxtroFileSkl + ID4 + "${GPSWD}" + distStr + ".tro"; 226 226 } 227 sampl = settings.value("PPP/snxtroSampl").to Int();227 sampl = settings.value("PPP/snxtroSampl").toString().split("sec").first().toInt(); 228 228 intr = settings.value("PPP/snxtroIntr").toString(); 229 229 _snxtroFile = new bncSinexTro(_opt, snxtroFileSkl, intr, sampl); -
trunk/BNC/src/pppWidgets.cpp
r8252 r8403 72 72 _nmeaPath = new QLineEdit(); _nmeaPath ->setObjectName("PPP/nmeaPath"); _widgets << _nmeaPath; 73 73 _snxtroPath = new QLineEdit(); _snxtroPath ->setObjectName("PPP/snxtroPath"); _widgets << _snxtroPath; 74 _snxtroSampl = new Q SpinBox(); _snxtroSampl->setObjectName("PPP/snxtroSampl"); _widgets << _snxtroSampl;74 _snxtroSampl = new QComboBox(); _snxtroSampl->setObjectName("PPP/snxtroSampl"); _widgets << _snxtroSampl; 75 75 _snxtroIntr = new QComboBox(); _snxtroIntr ->setObjectName("PPP/snxtroIntr"); _widgets << _snxtroIntr; 76 76 _snxtroAc = new QLineEdit(); _snxtroAc ->setObjectName("PPP/snxtroAc"); _widgets << _snxtroAc; … … 151 151 #endif 152 152 153 _snxtroSampl->setMinimum(0); 154 _snxtroSampl->setMaximum(300); 155 _snxtroSampl->setSingleStep(30); 156 _snxtroSampl->setSuffix(" sec"); 153 _snxtroSampl->setEditable(false); 154 _snxtroSampl->addItems(QString("1 sec,5 sec,10 sec,30 sec,60 sec,300 sec").split(",")); 157 155 158 156 _snxtroIntr->setEditable(false); … … 368 366 _minEle->setValue(settings.value(_minEle->objectName()).toInt()); 369 367 _corrWaitTime->setValue(settings.value(_corrWaitTime->objectName()).toInt()); 370 _snxtroSampl->setValue(settings.value(_snxtroSampl->objectName()).toInt()); 368 369 370 ii = _snxtroSampl->findText(settings.value(_snxtroSampl->objectName()).toString()); 371 if (ii != -1) { 372 _snxtroSampl->setCurrentIndex(ii); 373 } 371 374 372 375 // Table with stations … … 421 424 settings.setValue(_nmeaPath ->objectName(), _nmeaPath ->text()); 422 425 settings.setValue(_snxtroPath ->objectName(), _snxtroPath ->text()); 423 settings.setValue(_snxtroSampl ->objectName(), _snxtroSampl -> value());426 settings.setValue(_snxtroSampl ->objectName(), _snxtroSampl ->currentText()); 424 427 settings.setValue(_snxtroIntr ->objectName(), _snxtroIntr ->currentText()); 425 428 settings.setValue(_snxtroAc ->objectName(), _snxtroAc ->text()); -
trunk/BNC/src/pppWidgets.h
r8252 r8403 56 56 QLineEdit* _nmeaPath; 57 57 QLineEdit* _snxtroPath; 58 Q SpinBox*_snxtroSampl;58 QComboBox* _snxtroSampl; 59 59 QComboBox* _snxtroIntr; 60 60 QLineEdit* _snxtroAc;
Note:
See TracChangeset
for help on using the changeset viewer.