Changeset 7324 in ntrip
- Timestamp:
- Sep 25, 2015, 8:53:27 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncwindow.cpp
r7298 r7324 242 242 _ephIntrComboBox->setCurrentIndex(jj); 243 243 } 244 _ outEphPortLineEdit = new QLineEdit(settings.value("outEphPort").toString());244 _ephOutPortLineEdit = new QLineEdit(settings.value("ephOutPort").toString()); 245 245 _ephV3CheckBox = new QCheckBox(); 246 246 _ephV3CheckBox->setCheckState(Qt::CheckState(settings.value("ephV3").toInt())); … … 249 249 _ephV3filenameCheckBox->setCheckState(Qt::CheckState(settings.value("ephV3filenames").toInt())); 250 250 251 connect(_ outEphPortLineEdit, SIGNAL(textChanged(const QString &)),251 connect(_ephOutPortLineEdit, SIGNAL(textChanged(const QString &)), 252 252 this, SLOT(slotBncTextChanged())); 253 253 … … 713 713 eLayout->setColumnMinimumWidth(0,14*ww); 714 714 _ephIntrComboBox->setMaximumWidth(9*ww); 715 _ outEphPortLineEdit->setMaximumWidth(9*ww);715 _ephOutPortLineEdit->setMaximumWidth(9*ww); 716 716 717 717 eLayout->addWidget(new QLabel("Saving RINEX navigation files and ephemeris output through IP port.<br>"),0,0,1,70); … … 721 721 eLayout->addWidget(_ephIntrComboBox, 2, 1); 722 722 eLayout->addWidget(new QLabel("Port"), 3, 0); 723 eLayout->addWidget(_ outEphPortLineEdit, 3, 1);723 eLayout->addWidget(_ephOutPortLineEdit, 3, 1); 724 724 eLayout->addWidget(new QLabel("Version 3"), 4, 0); 725 725 eLayout->addWidget(_ephV3CheckBox, 4, 1); … … 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.")); 1289 1289 _outUPortLineEdit->setWhatsThis(tr("BNC can produce unsynchronized observations in a plain ASCII format on your local host through an IP port. Specify a port number here to activate this function.")); 1290 _ 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."));1290 _ephOutPortLineEdit->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.")); 1291 1291 _corrPortLineEdit->setWhatsThis(tr("BNC can produce Broadcast Ephemeris Corrections on your local host through an IP port. Specify a port number here to activate this function.")); 1292 1292 _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.")); … … 1742 1742 settings.setValue("ephPath", _ephPathLineEdit->text()); 1743 1743 settings.setValue("ephIntr", _ephIntrComboBox->currentText()); 1744 settings.setValue(" outEphPort", _outEphPortLineEdit->text());1744 settings.setValue("ephOutPort", _ephOutPortLineEdit->text()); 1745 1745 settings.setValue("ephV3filenames", _ephV3filenameCheckBox->checkState()); 1746 1746 (_ephV3filenameCheckBox->checkState()) ? … … 1893 1893 1894 1894 BNC_CORE->setCaster(_caster); 1895 BNC_CORE->setPortEph(_ outEphPortLineEdit->text().toInt());1895 BNC_CORE->setPortEph(_ephOutPortLineEdit->text().toInt()); 1896 1896 BNC_CORE->setPortCorr(_corrPortLineEdit->text().toInt()); 1897 1897 BNC_CORE->initCombination(); … … 2252 2252 // RINEX Ephemeris 2253 2253 // --------------- 2254 if (sender() == 0 || sender() == _ephPathLineEdit || sender() == _ outEphPortLineEdit) {2255 enable = !_ephPathLineEdit->text().isEmpty() || !_ outEphPortLineEdit->text().isEmpty();2254 if (sender() == 0 || sender() == _ephPathLineEdit || sender() == _ephOutPortLineEdit) { 2255 enable = !_ephPathLineEdit->text().isEmpty() || !_ephOutPortLineEdit->text().isEmpty(); 2256 2256 enableWidget(enable, _ephIntrComboBox); 2257 2257 enableWidget(enable, _ephV3CheckBox);
Note:
See TracChangeset
for help on using the changeset viewer.