Changeset 8398 in ntrip for branches/BNC_2.12/src/reqcdlg.cpp
- Timestamp:
- Jun 28, 2018, 12:53:59 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/BNC_2.12/src/reqcdlg.cpp
r8130 r8398 58 58 59 59 _reqcRnxVersion = new QComboBox(this); 60 _reqcSampling = new Q SpinBox(this);60 _reqcSampling = new QComboBox(this); 61 61 _reqcStartDateTime = new QDateTimeEdit(this); 62 62 _reqcStartDateTime->setDisplayFormat(timeFmtString); … … 83 83 _reqcNewReceiverNumber = new QLineEdit(this); 84 84 85 86 85 _reqcRnxVersion->setEditable(false); 87 86 _reqcRnxVersion->addItems(QString("2,3").split(",")); 88 87 _reqcRnxVersion->setMaximumWidth(7*ww); 89 88 90 _reqcSampling->setMinimum(0); 91 _reqcSampling->setMaximum(60); 92 _reqcSampling->setSingleStep(5); 93 _reqcSampling->setSuffix(" sec"); 94 _reqcSampling->setMaximumWidth(7*ww); 89 _reqcSampling->setEditable(false); 90 _reqcSampling->addItems(QString("0.1 sec,1 sec,5 sec,10 sec,15 sec,30 sec,60 sec").split(",")); 91 bncSettings settings; 92 int ll = _reqcSampling->findText(settings.value("reqcSampl").toString()); 93 if (ll != -1) { 94 _reqcSampling->setCurrentIndex(ll); 95 } 95 96 96 97 // Read Options 97 98 // ------------ 98 bncSettings settings;99 100 99 int kk = _reqcRnxVersion->findText(settings.value("reqcRnxVersion").toString()); 101 100 if (kk != -1) { 102 101 _reqcRnxVersion->setCurrentIndex(kk); 103 102 } 104 _reqcSampling-> setValue(settings.value("reqcSampling").toInt());103 _reqcSampling->findText(settings.value("reqcSampling").toString()); 105 104 if (settings.value("reqcStartDateTime").toString().isEmpty()) { 106 105 _reqcStartDateTime->setDateTime(QDateTime::fromString("1967-11-02T00:00:00", Qt::ISODate)); … … 231 230 // ----------------------------- 232 231 _reqcRnxVersion->setWhatsThis(tr("<p>Select version number of emerging new RINEX file.</p><p>Note the following:</p><p>When converting <u>RINEX Version 2 to Version 3 </u>Observation files, the tracking mode or channel information (signal attribute, see RINEX Version 3 documentation) in the (last out of the three characters) observation code is left blank if unknown.</p><p>When converting <u>RINEX Version 3 to Version 2</u>, the mapping of observations follows a 'Signal priority list' with signal attributes as defined in RINEX Version 3.</p>")); 233 _reqcSampling->setWhatsThis(tr("<p>Select sampling rate of emerging new RINEX Observation file.</p> <p>'0 sec' means that observations from all epochs in the RINEX input file will become part of the RINEX output file.</p>"));232 _reqcSampling->setWhatsThis(tr("<p>Select sampling rate of emerging new RINEX Observation file.</p>")); 234 233 _reqcV2Priority->setWhatsThis(tr("<p>Specify a priority list of characters defining signal attributes as defined in RINEX Version 3. Priorities will be used to map observations with RINEX Version 3 attributes from incoming streams to Version 2. The underscore character '_' stands for undefined attributes. A question mark '?' can be used as wildcard which represents any one character.</p><p>Signal priorities can be specified as equal for all systems, as system specific or as system and freq. specific. For example: </li><ul><li>'CWPX_?' (General signal priorities valid for all GNSS) </li><li>'C:IQX I:ABCX' (System specific signal priorities for BDS and IRNSS) </li><li>'G:12&PWCSLXYN G:5&IQX R:12&PC R:3&IQX' (System and frequency specific signal priorities) </li></ul>Default is the following priority list 'G:12&PWCSLXYN_ G:5&IQX_ R:12&PC_ R:3&IQX_ E:16&BCX_ E:578&IQX_ J:1&SLXCZ_ J:26&SLX_ J:5&IQX_ C:IQX_ I:ABCX_ S:1&C_ S:5&IQX_'.</p>")); 235 234 _reqcStartDateTime->setWhatsThis(tr("<p>Specify begin of emerging new RINEX Observation file.</p>")); … … 303 302 304 303 settings.setValue("reqcRnxVersion" , _reqcRnxVersion->currentText()); 305 settings.setValue("reqcSampling" , _reqcSampling-> value());304 settings.setValue("reqcSampling" , _reqcSampling->currentText()); 306 305 settings.setValue("reqcV2Priority" , _reqcV2Priority->text()); 307 306 settings.setValue("reqcStartDateTime" , _reqcStartDateTime->dateTime().toString(Qt::ISODate));
Note:
See TracChangeset
for help on using the changeset viewer.