Changeset 7391 in ntrip
- Timestamp:
- Sep 25, 2015, 10:31:03 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncwindow.cpp
r7363 r7391 276 276 // ------------------- 277 277 _outPortLineEdit = new QLineEdit(settings.value("outPort").toString()); 278 _ waitTimeSpinBox = new QSpinBox();279 _ waitTimeSpinBox->setMinimum(1);280 _ waitTimeSpinBox->setMaximum(30);281 _ waitTimeSpinBox->setSingleStep(1);282 _ waitTimeSpinBox->setSuffix(" sec");283 _ waitTimeSpinBox->setValue(settings.value("waitTime").toInt());278 _outWaitSpinBox = new QSpinBox(); 279 _outWaitSpinBox->setMinimum(1); 280 _outWaitSpinBox->setMaximum(30); 281 _outWaitSpinBox->setSingleStep(1); 282 _outWaitSpinBox->setSuffix(" sec"); 283 _outWaitSpinBox->setValue(settings.value("outWait").toInt()); 284 284 _outSamplSpinBox = new QSpinBox(); 285 285 _outSamplSpinBox->setMinimum(0); … … 754 754 sLayout->setColumnMinimumWidth(0,14*ww); 755 755 _outPortLineEdit->setMaximumWidth(9*ww); 756 _ waitTimeSpinBox->setMaximumWidth(9*ww);756 _outWaitSpinBox->setMaximumWidth(9*ww); 757 757 _outSamplSpinBox->setMaximumWidth(9*ww); 758 758 _outUPortLineEdit->setMaximumWidth(9*ww); … … 762 762 sLayout->addWidget(_outPortLineEdit, 1, 1); 763 763 sLayout->addWidget(new QLabel(" Wait for full obs epoch"), 1, 2, Qt::AlignRight); 764 sLayout->addWidget(_ waitTimeSpinBox, 1, 3, Qt::AlignLeft);764 sLayout->addWidget(_outWaitSpinBox, 1, 3, Qt::AlignLeft); 765 765 sLayout->addWidget(new QLabel("Sampling"), 2, 0); 766 766 sLayout->addWidget(_outSamplSpinBox, 2, 1, Qt::AlignLeft); … … 1284 1284 _sslCaCertPathLineEdit->setWhatsThis(tr("<p>Communication with an Ntrip broadcaster over SSL requires the exchange of client and/or server certificates. Specify the path to a directory where you save certificates on your system. Don't try communication via SSL if you are not sure wheter this is supported by the involved Ntrip broadcaster. Note that SSL communication is usually done over port 443.</p>")); 1285 1285 _ignoreSslErrorsCheckBox->setWhatsThis(tr("<p>SSL communication may involve queries coming from the Ntrip broadcaster. Tick 'Ignore SSL authorization erros' if you don't want to be bothered with this.</p>")); 1286 _ waitTimeSpinBox->setWhatsThis(tr("<p>When feeding a real-time GNSS network engine waiting for synchronized input epoch by epoch, BNC drops whatever is received later than 'Wait for full obs epoch' seconds. A value of 3 to 5 seconds is recommended, depending on the latency of the incoming streams and the delay acceptable to your real-time GNSS network engine or products.</p>"));1286 _outWaitSpinBox->setWhatsThis(tr("<p>When feeding a real-time GNSS network engine waiting for synchronized input epoch by epoch, BNC drops whatever is received later than 'Wait for full obs epoch' seconds. A value of 3 to 5 seconds is recommended, depending on the latency of the incoming streams and the delay acceptable to your real-time GNSS network engine or products.</p>")); 1287 1287 _outFileLineEdit->setWhatsThis(tr("Specify the full path to a file where synchronized observations are saved in plain ASCII format. Beware that the size of this file can rapidly increase depending on the number of incoming streams.")); 1288 1288 _outPortLineEdit->setWhatsThis(tr("BNC can produce synchronized observations in a plain ASCII format on your local host through an IP port. Specify a port number here to activate this function.")); … … 1753 1753 // Feed Engine 1754 1754 settings.setValue("outPort", _outPortLineEdit->text()); 1755 settings.setValue(" waitTime", _waitTimeSpinBox->value());1755 settings.setValue("outWait", _outWaitSpinBox->value()); 1756 1756 settings.setValue("outSampl", _outSamplSpinBox->value()); 1757 1757 settings.setValue("outFile", _outFileLineEdit->text()); … … 2068 2068 bncSettings settings; 2069 2069 _outSamplSpinBox->setValue(settings.value("outSampl").toInt()); 2070 _ waitTimeSpinBox->setValue(settings.value("waitTime").toInt());2070 _outWaitSpinBox->setValue(settings.value("outWait").toInt()); 2071 2071 QListIterator<bncGetThread*> iTh(threads); 2072 2072 while (iTh.hasNext()) { … … 2270 2270 if (sender() == 0 || sender() == _outPortLineEdit || sender() == _outFileLineEdit) { 2271 2271 enable = !_outPortLineEdit->text().isEmpty() || !_outFileLineEdit->text().isEmpty(); 2272 enableWidget(enable, _ waitTimeSpinBox);2272 enableWidget(enable, _outWaitSpinBox); 2273 2273 enableWidget(enable, _outSamplSpinBox); 2274 2274 }
Note:
See TracChangeset
for help on using the changeset viewer.