Changeset 8354 in ntrip for trunk/BNC/src/bncwindow.cpp
- Timestamp:
- May 18, 2018, 2:24:46 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncwindow.cpp
r8276 r8354 240 240 _rnxV3CheckBox = new QCheckBox(); 241 241 _rnxV3CheckBox->setCheckState(Qt::CheckState(settings.value("rnxV3").toInt())); 242 _rnxV3filenameCheckBox = new QCheckBox();243 _rnxV3filenameCheckBox->setCheckState(Qt::CheckState(settings.value("rnxV3filenames").toInt()));244 242 QString hlp = settings.value("rnxV2Priority").toString(); 245 243 if (hlp.isEmpty()) { … … 266 264 _ephV3CheckBox = new QCheckBox(); 267 265 _ephV3CheckBox->setCheckState(Qt::CheckState(settings.value("ephV3").toInt())); 268 269 _ephV3filenameCheckBox = new QCheckBox();270 _ephV3filenameCheckBox->setCheckState(Qt::CheckState(settings.value("ephV3filenames").toInt()));271 266 272 267 connect(_ephOutPortLineEdit, SIGNAL(textChanged(const QString &)), … … 764 759 oLayout->addWidget(new QLabel("Version 3"), 6, 0); 765 760 oLayout->addWidget(_rnxV3CheckBox, 6, 1); 766 oLayout->addWidget(new QLabel("Version 3 filenames"), 6, 2);767 oLayout->addWidget(_rnxV3filenameCheckBox, 6, 3);768 761 oLayout->addWidget(new QLabel(""), 7, 1); 769 762 oLayout->setRowStretch(8, 999); … … 787 780 eLayout->addWidget(new QLabel("Version 3"), 4, 0); 788 781 eLayout->addWidget(_ephV3CheckBox, 4, 1); 789 eLayout->addWidget(new QLabel("Version 3 filenames"), 4, 2);790 eLayout->addWidget(_ephV3filenameCheckBox, 4, 3);791 782 eLayout->setRowStretch(5, 999); 792 783 … … 1310 1301 _rnxV2Priority->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_'. <i>[key: rnxV2Priority]</i></p>")); 1311 1302 _rnxV3CheckBox->setWhatsThis(tr("<p>The default format for RINEX Observation files is RINEX Version 2.</p><p>Select 'Version 3' if you want to save observations in RINEX Version 3 format. <i>[key: rnxV3]</i></p>")); 1312 _rnxV3filenameCheckBox->setWhatsThis(tr("<p>Tick 'Version 3 filenames' to let BNC create so-called extended filenames following the RINEX Version 3 standard.</p><p>Default is an empty check box, meaning to create filenames following the RINEX Version 2 standard although the file content is saved in RINEX Version 3 format. <i>[key: rnxV3filenames]</i></p>"));1313 1303 1314 1304 // WhatsThis, RINEX Ephemeris … … 1318 1308 _ephOutPortLineEdit->setWhatsThis(tr("<p>BNC can produce ephemeris data in RINEX Navigation ASCII format on your local host through an IP port.</p><p>Specify a port number here to activate this function. <i>[key: ephOutPort]</i></p>")); 1319 1309 _ephV3CheckBox->setWhatsThis(tr("<p>The default format for output of RINEX Navigation data containing Broadcast Ephemeris is RINEX Version 2.</p><p>Select 'Version 3' if you want to output ephemeris in RINEX Version 3 format. <i>[key: ephV3]</i></p>")); 1320 _ephV3filenameCheckBox->setWhatsThis(tr("<p>Tick 'Version 3 filenames' to let BNC create so-called extended filenames following the RINEX Version 3 standard.</p><p>Default is an empty check box, meaning to create filenames following the RINEX Version 2 standard although the file content is saved in RINEX Version 3 format. <i>[key: ephV3filenames]</i></p>"));1321 1310 1322 1311 // WhatsThis, RINEX Editing & QC … … 1512 1501 delete _rnxScrpLineEdit; 1513 1502 delete _rnxV3CheckBox; 1514 delete _rnxV3filenameCheckBox;1515 1503 delete _rnxV2Priority; 1516 1504 delete _ephPathLineEdit; … … 1518 1506 delete _ephOutPortLineEdit; 1519 1507 delete _ephV3CheckBox; 1520 delete _ephV3filenameCheckBox;1521 1508 delete _corrPathLineEdit; 1522 1509 delete _corrIntrComboBox; … … 1962 1949 settings.setValue("rnxSkel", _rnxSkelLineEdit->text()); 1963 1950 settings.setValue("rnxOnlyWithSKL",_rnxFileCheckBox->checkState()); 1964 settings.setValue("rnxV3filenames",_rnxV3filenameCheckBox->checkState());1965 1951 settings.setValue("rnxScript", _rnxScrpLineEdit->text()); 1966 (_rnxV3filenameCheckBox->checkState()) ?1967 settings.setValue("rnxV3", _rnxV3filenameCheckBox->checkState()) :1968 settings.setValue("rnxV3", _rnxV3CheckBox->checkState());1969 1952 settings.setValue("rnxV2Priority",_rnxV2Priority->text()); 1970 1953 // RINEX Ephemeris … … 1972 1955 settings.setValue("ephIntr", _ephIntrComboBox->currentText()); 1973 1956 settings.setValue("ephOutPort", _ephOutPortLineEdit->text()); 1974 settings.setValue("ephV3filenames", _ephV3filenameCheckBox->checkState());1975 (_ephV3filenameCheckBox->checkState()) ?1976 settings.setValue("ephV3", _ephV3filenameCheckBox->checkState()) :1977 settings.setValue("ephV3", _ephV3CheckBox->checkState());1978 1957 // Broadcast Corrections 1979 1958 settings.setValue("corrPath", _corrPathLineEdit->text()); … … 2485 2464 enableWidget(enable, _ephIntrComboBox); 2486 2465 enableWidget(enable, _ephV3CheckBox); 2487 enableWidget(enable, _ephV3filenameCheckBox);2488 2466 } 2489 2467
Note:
See TracChangeset
for help on using the changeset viewer.