Changeset 11066 in ntrip for trunk/BNC/src/bncwindow.cpp
- Timestamp:
- Oct 5, 2026, 12:31:32 PM (33 hours ago)
- File:
-
- 1 edited
-
trunk/BNC/src/bncwindow.cpp (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncwindow.cpp
r11022 r11066 298 298 } 299 299 _corrPortLineEdit = new QLineEdit(settings.value("corrPort").toString()); 300 _ssrQcFileLineEdit = new QLineEdit(settings.value("ssrQcFile").toString()); 301 _ssrQcIntrComboBox = new QComboBox(); 302 _ssrQcIntrComboBox->setEditable(false); 303 _ssrQcIntrComboBox->addItems(QString("5 min,15 min,30 min,1 hour,1 day").split(",")); 304 bi = _ssrQcIntrComboBox->findText(settings.value("ssrQcIntr").toString()); 305 if (bi != -1) { 306 _ssrQcIntrComboBox->setCurrentIndex(bi); 307 } 308 else { 309 _ssrQcIntrComboBox->setCurrentIndex(_ssrQcIntrComboBox->findText("1 hour")); 310 } 311 connect(_ssrQcFileLineEdit, SIGNAL(textChanged(const QString&)), 312 this, SLOT(slotBncTextChanged())); 300 313 301 314 connect(_corrPathLineEdit, SIGNAL(textChanged(const QString&)), … … 894 907 _corrIntrComboBox->setMaximumWidth(9 * ww); 895 908 _corrPortLineEdit->setMaximumWidth(9 * ww); 909 _ssrQcIntrComboBox->setMaximumWidth(9 * ww); 896 910 897 911 cLayout->addWidget(new QLabel("Saving Broadcast Ephemeris correction files and correction output through IP port.<br>"), 0, 0, 1, 70); … … 902 916 cLayout->addWidget(new QLabel("Port"), 3, 0); 903 917 cLayout->addWidget(_corrPortLineEdit, 3, 1); 904 cLayout->addWidget(new QLabel(""), 4, 1); 918 cLayout->addWidget(new QLabel("QC Logfile"), 4, 0); 919 cLayout->addWidget(_ssrQcFileLineEdit, 4, 1, 1, 30); 920 cLayout->addWidget(new QLabel("QC Interval"), 5, 0); 921 cLayout->addWidget(_ssrQcIntrComboBox, 5, 1); 922 cLayout->addWidget(new QLabel(""), 6, 1); 905 923 cLayout->setRowStretch(7, 999); 906 924 cgroup->setLayout(cLayout); … … 1570 1588 _corrPathLineEdit->setWhatsThis(tr("<p>Specify a directory for saving Broadcast Ephemeris Correction files.</p><p>If the specified directory does not exist, BNC will not create the files. <i>[key: corrPath]</i></p>")); 1571 1589 _corrIntrComboBox->setWhatsThis(tr("<p>Select the length of Broadcast Ephemeris Correction files. <i>[key: corrIntr]</i></p>")); 1590 _ssrQcFileLineEdit->setWhatsThis(tr("<p>Specify the full path to a logfile for the quality control of all decoded Broadcast Correction streams: epochs, update intervals, gaps, latency, completeness, IODs, code biases of the reference signals, clock jumps and orbit correction size.</p><p>Default is an empty option field, meaning that no SSR QC is done. <i>[key: ssrQcFile]</i></p>")); 1591 _ssrQcIntrComboBox->setWhatsThis(tr("<p>Select the interval of the SSR QC reports. <i>[key: ssrQcIntr]</i></p>")); 1572 1592 _corrPortLineEdit->setWhatsThis(tr("<p>BNC can produce Broadcast Ephemeris Corrections on your local host through an IP port.</p><p>Specify a port number here to activate this function. <i>[key: corrPort]</i></p>")); 1573 1593 … … 1843 1863 delete _corrPathLineEdit; 1844 1864 delete _corrIntrComboBox; 1865 delete _ssrQcFileLineEdit; 1866 delete _ssrQcIntrComboBox; 1845 1867 delete _corrPortLineEdit; 1846 1868 delete _outPortLineEdit; … … 2369 2391 settings.setValue("corrPath", _corrPathLineEdit->text()); 2370 2392 settings.setValue("corrIntr", _corrIntrComboBox->currentText()); 2393 settings.setValue("ssrQcFile", _ssrQcFileLineEdit->text()); 2394 settings.setValue("ssrQcIntr", _ssrQcIntrComboBox->currentText()); 2371 2395 settings.setValue("corrPort", _corrPortLineEdit->text()); 2372 2396 // Feed Engine … … 2538 2562 BNC_CORE->setPortCorr(_corrPortLineEdit->text().toInt()); 2539 2563 BNC_CORE->initCombination(); 2564 BNC_CORE->initSsrQc(); 2540 2565 2541 2566 connect(_caster, SIGNAL(getThreadsFinished()), this, SLOT(slotGetThreadsFinished())); … … 2607 2632 BNC_CORE->stopPPP(); 2608 2633 BNC_CORE->stopCombination(); 2634 BNC_CORE->stopSsrQc(); 2609 2635 delete _caster; _caster = 0; BNC_CORE->setCaster(0); 2610 2636 delete _casterEph; _casterEph = 0; … … 2900 2926 enable = !_corrPathLineEdit->text().isEmpty() || !_corrPortLineEdit->text().isEmpty(); 2901 2927 enableWidget(enable, _corrIntrComboBox); 2928 } 2929 if (sender() == 0 || sender() == _ssrQcFileLineEdit) { 2930 enableWidget(!_ssrQcFileLineEdit->text().isEmpty(), _ssrQcIntrComboBox); 2902 2931 } 2903 2932
Note:
See TracChangeset
for help on using the changeset viewer.
