Changeset 934 in ntrip for trunk/BNC/bncwindow.cpp
- Timestamp:
- Jun 8, 2008, 4:33:04 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncwindow.cpp
r919 r934 117 117 _outEphPortLineEdit = new QLineEdit(settings.value("outEphPort").toString()); 118 118 _outEphPortLineEdit->setMaximumWidth(9*ww); 119 _corrPortLineEdit = new QLineEdit(settings.value("corrPort").toString()); 120 _corrPortLineEdit->setMaximumWidth(9*ww); 119 121 _rnxPathLineEdit = new QLineEdit(settings.value("rnxPath").toString()); 120 122 _ephPathLineEdit = new QLineEdit(settings.value("ephPath").toString()); 123 _corrPathLineEdit = new QLineEdit(settings.value("ephPath").toString()); 121 124 122 125 _rnxV3CheckBox = new QCheckBox(); … … 145 148 if (jj != -1) { 146 149 _ephIntrComboBox->setCurrentIndex(jj); 150 } 151 _corrIntrComboBox = new QComboBox(); 152 _corrIntrComboBox->setMaximumWidth(9*ww); 153 _corrIntrComboBox->setEditable(false); 154 _corrIntrComboBox->addItems(QString("1 min,2 min,5 min,10 min,15 min,30 min,1 hour,1 day").split(",")); 155 int mm = _corrIntrComboBox->findText(settings.value("corrIntr").toString()); 156 if (mm != -1) { 157 _corrIntrComboBox->setCurrentIndex(mm); 147 158 } 148 159 _rnxSamplSpinBox = new QSpinBox(); … … 282 293 _outPortLineEdit->setWhatsThis(tr("BNC can produce synchronized observations in binary format on your local host through an IP port. Specify a port number here to activate this function.")); 283 294 _outEphPortLineEdit->setWhatsThis(tr("BNC can produce ephemeris data in RINEX ASCII format on your local host through an IP port. Specify a port number here to activate this function.")); 295 _corrPortLineEdit->setWhatsThis(tr("BNC can produce ephemeris corrections on your local host through an IP port. Specify a port number here to activate this function.")); 284 296 _rnxPathLineEdit->setWhatsThis(tr("Here you specify the path to where the RINEX Observation files will be stored. If the specified directory does not exist, BNC will not create RINEX Observation files.")); 285 297 _ephPathLineEdit->setWhatsThis(tr("Specify the path for saving Broadcast Ephemeris data as RINEX Navigation files. If the specified directory does not exist, BNC will not create RINEX Navigation files.")); 298 _corrPathLineEdit->setWhatsThis(tr("Specify the path for saving Broadcast Ephemeris corrections. If the specified directory does not exist, BNC will not create the files.")); 286 299 _rnxScrpLineEdit->setWhatsThis(tr("<p>Whenever a RINEX Observation file is saved, you might want to compress, copy or upload it immediately via FTP. BNC allows you to execute a script/batch file to carry out these operations. To do that specify the full path of the script/batch file here. BNC will pass the full RINEX Observation file path to the script as a command line parameter (%1 on Windows systems, $1 onUnix/Linux systems).</p><p>The triggering event for calling the script or batch file is the end of a RINEX Observation file 'Interval'. If that is overridden by a stream outage, the triggering event is the stream reconnection.</p>")); 287 300 _rnxSkelLineEdit->setWhatsThis(tr("<p>Whenever BNC starts generating RINEX Observation files (and then once every day at midnight), it first tries to retrieve information needed for RINEX headers from so-called public RINEX header skeleton files which are derived from sitelogs. However, sometimes public RINEX header skeleton files are not available, its contents is not up to date, or you need to put additional/optional records in the RINEX header.</p><p>For that BNC allows using personal skeleton files that contain the header records you would like to include. You can derive a personal RINEX header skeleton file from the information given in an up to date sitelog. A file in the RINEX 'Directory' with the RINEX 'Skeleton extension' is interpreted by BNC as a personal RINEX header skeleton file for the corresponding stream.</p>")); … … 289 302 _rnxIntrComboBox->setWhatsThis(tr("<p>Select the length of the RINEX Observation file.</p>")); 290 303 _ephIntrComboBox->setWhatsThis(tr("<p>Select the length of the RINEX Navigation file.</p>")); 304 _corrIntrComboBox->setWhatsThis(tr("<p>Select the length of the correction file.</p>")); 291 305 _rnxSamplSpinBox->setWhatsThis(tr("<p>Select the RINEX Observation sampling interval in seconds. A value of zero '0' tells BNC to store all received epochs into RINEX.</p>")); 292 306 _binSamplSpinBox->setWhatsThis(tr("<p>Select the Observation sampling interval in seconds. A value of zero '0' tells BNC to send/store all received epochs.</p>")); … … 314 328 QWidget* egroup = new QWidget(); 315 329 QWidget* agroup = new QWidget(); 330 QWidget* cgroup = new QWidget(); 316 331 QWidget* ogroup = new QWidget(); 317 332 aogroup->addTab(pgroup,tr("Proxy")); … … 320 335 aogroup->addTab(egroup,tr("RINEX Ephemeris")); 321 336 aogroup->addTab(sgroup,tr("Synchronized Observations")); 337 aogroup->addTab(cgroup,tr("Ephemeris Corrections")); 322 338 aogroup->addTab(agroup,tr("Monitor")); 323 339 … … 415 431 ogroup->setLayout(oLayout); 416 432 433 QGridLayout* cLayout = new QGridLayout; 434 cLayout->setColumnMinimumWidth(0,12*ww); 435 cLayout->addWidget(new QLabel("Directory"), 0, 0); 436 cLayout->addWidget(_corrPathLineEdit, 0, 1); 437 cLayout->addWidget(new QLabel("Interval"), 1, 0); 438 cLayout->addWidget(_corrIntrComboBox, 1, 1); 439 cLayout->addWidget(new QLabel("Port"), 2, 0); 440 cLayout->addWidget(_corrPortLineEdit, 2, 1); 441 cLayout->addWidget(new QLabel("Saving ephemeris correction files and correction output through IP port."),3,0,1,2,Qt::AlignLeft); 442 cLayout->addWidget(new QLabel(" "),4,0); 443 cgroup->setLayout(cLayout); 444 417 445 QVBoxLayout* mLayout = new QVBoxLayout; 418 446 mLayout->addWidget(aogroup); … … 555 583 settings.setValue("outPort", _outPortLineEdit->text()); 556 584 settings.setValue("outEphPort", _outEphPortLineEdit->text()); 585 settings.setValue("corrPort", _corrPortLineEdit->text()); 557 586 settings.setValue("rnxPath", _rnxPathLineEdit->text()); 558 587 settings.setValue("ephPath", _ephPathLineEdit->text()); 588 settings.setValue("corrPath", _corrPathLineEdit->text()); 559 589 settings.setValue("rnxScript", _rnxScrpLineEdit->text()); 560 590 settings.setValue("rnxIntr", _rnxIntrComboBox->currentText()); 561 591 settings.setValue("ephIntr", _ephIntrComboBox->currentText()); 592 settings.setValue("corrIntr", _corrIntrComboBox->currentText()); 562 593 settings.setValue("rnxSampl", _rnxSamplSpinBox->value()); 563 594 settings.setValue("binSampl", _binSamplSpinBox->value());
Note:
See TracChangeset
for help on using the changeset viewer.