Changeset 1454 in ntrip
- Timestamp:
- Jan 8, 2009, 1:10:04 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncwindow.cpp
r1453 r1454 338 338 _mountPointsTable->setWhatsThis(tr("<p>Streams selected for retrieval are listed in the 'Streams' section. Clicking on 'Add Streams' button will open a window that allows the user to select data streams from an NTRIP broadcaster according to their mountpoints. To remove a stream from the 'Streams' list, highlight it by clicking on it and hit the 'Delete Streams' button. You can also remove multiple streams by highlighting them using +Shift and +Ctrl.</p><p>BNC automatically allocates one of its internal decoders to a stream based on the stream's 'format' as given in the sourcetable. BNC allows users to change this selection by editing the decoder string. Double click on the 'decoder' field, enter your preferred decoder and then hit Enter. The accepted decoder strings are 'RTCM_2.x', 'RTCM_3.x', and 'RTIGS'.</p><p>In case you need to log the raw data as is, BNC allows users to by-pass its decoders and and directly save the input in daily log files. To do this specify the decoder string as 'ZERO'.</p><p>BNC can also retrieve streams from virtual reference stations (VRS). VRS streams are indicated by a 'yes' in the 'nmea' column. To initiate these streams, the approximate latitude/longitude rover position is sent to the NTRIP broadcaster. The default values can be change according to your requirement. Double click on 'lat' and 'long' fields, enter the values you wish to send and then hit Enter.</p>")); 339 339 _log->setWhatsThis(tr("Records of BNC's activities are shown in the 'Logs' section. The message log covers the communication status between BNC and the NTRIP broadcaster as well as any problems that occur in the communication link, stream availability, stream delay, stream conversion etc.")); 340 _ephV3CheckBox->setWhatsThis(tr("The default format for RINEX Navigation filescontaining Broadcast Ephemeris is RINEX Version 2.11. Select 'Version 3' if you want tosavethe ephemeris in RINEX Version 3 format."));340 _ephV3CheckBox->setWhatsThis(tr("The default format for output of RINEX Navigation data containing Broadcast Ephemeris is RINEX Version 2.11. Select 'Version 3' if you want to output the ephemeris in RINEX Version 3 format.")); 341 341 _rnxV3CheckBox->setWhatsThis(tr("The default format for RINEX Observation files is RINEX Version 2.11. Select 'Version 3' if you want to save the observations in RINEX Version 3 format.")); 342 342 _miscMountLineEdit->setWhatsThis(tr("<p>Specify a mountpoint to apply any of the options shown below. Enter 'ALL' if you want to apply these options to all configured streams.</p><p>An empty option field (default) means that you don't want BNC to apply any of these options.</p>")); … … 461 461 connect(_ephPathLineEdit, SIGNAL(textChanged(const QString &)), 462 462 this, SLOT(bncText(const QString &))); 463 if (_ephPathLineEdit->text().isEmpty()) { 463 connect(_outEphPortLineEdit, SIGNAL(textChanged(const QString &)), 464 this, SLOT(bncText(const QString &))); 465 466 if (_ephPathLineEdit->text().isEmpty() && _outEphPortLineEdit->text().isEmpty()) { 464 467 _ephIntrComboBox->setStyleSheet("background-color: lightGray"); 465 _outEphPortLineEdit->setStyleSheet("background-color: lightGray");466 468 palette.setColor(_ephV3CheckBox->backgroundRole(), lightGray); 467 469 _ephV3CheckBox->setPalette(palette); 468 470 _ephIntrComboBox->setEnabled(false); 469 _outEphPortLineEdit->setEnabled(false);470 471 _ephV3CheckBox->setEnabled(false); 471 472 } 473 if (_ephPathLineEdit->text().isEmpty() && !_outEphPortLineEdit->text().isEmpty()) { 474 _ephIntrComboBox->setStyleSheet("background-color: lightGray"); 475 _ephIntrComboBox->setEnabled(false); 476 } 472 477 473 478 // Outages … … 585 590 if (_corrPathLineEdit->text().isEmpty()) { 586 591 _corrIntrComboBox->setStyleSheet("background-color: lightGray"); 587 _corrPortLineEdit->setStyleSheet("background-color: lightGray");588 592 _corrIntrComboBox->setEnabled(false); 589 _corrPortLineEdit->setEnabled(false);590 593 } 591 594 if (_corrPortLineEdit->text().isEmpty()) { … … 1224 1227 // --------------- 1225 1228 if (aogroup->currentIndex() == 3) { 1226 if (!isEmpty ) {1227 _ outEphPortLineEdit->setStyleSheet("background-color: white");1229 if (!_ephPathLineEdit->text().isEmpty() && !_outEphPortLineEdit->text().isEmpty()) { 1230 _ephIntrComboBox->setStyleSheet("background-color: white"); 1228 1231 palette.setColor(_ephV3CheckBox->backgroundRole(), white); 1229 1232 _ephV3CheckBox->setPalette(palette); 1233 _ephIntrComboBox->setEnabled(true); 1234 _ephV3CheckBox->setEnabled(true); 1235 } 1236 if (_ephPathLineEdit->text().isEmpty() && !_outEphPortLineEdit->text().isEmpty()) { 1237 _ephIntrComboBox->setStyleSheet("background-color: lightGray"); 1238 palette.setColor(_ephV3CheckBox->backgroundRole(), white); 1239 _ephV3CheckBox->setPalette(palette); 1240 _ephIntrComboBox->setEnabled(false); 1241 _ephV3CheckBox->setEnabled(true); 1242 } 1243 if (!_ephPathLineEdit->text().isEmpty() && _outEphPortLineEdit->text().isEmpty()) { 1230 1244 _ephIntrComboBox->setStyleSheet("background-color: white"); 1231 _outEphPortLineEdit->setEnabled(true); 1245 palette.setColor(_ephV3CheckBox->backgroundRole(), white); 1246 _ephV3CheckBox->setPalette(palette); 1247 _ephIntrComboBox->setEnabled(true); 1232 1248 _ephV3CheckBox->setEnabled(true); 1233 _ephIntrComboBox->setEnabled(true);1234 } else {1235 _ outEphPortLineEdit->setStyleSheet("background-color: lightGray");1249 } 1250 if (_ephPathLineEdit->text().isEmpty() && _outEphPortLineEdit->text().isEmpty()) { 1251 _ephIntrComboBox->setStyleSheet("background-color: lightGray"); 1236 1252 palette.setColor(_ephV3CheckBox->backgroundRole(), lightGray); 1237 1253 _ephV3CheckBox->setPalette(palette); 1238 _ephIntrComboBox->setStyleSheet("background-color: lightGray"); 1239 _outEphPortLineEdit->setEnabled(false); 1254 _ephIntrComboBox->setEnabled(false); 1240 1255 _ephV3CheckBox->setEnabled(false); 1241 _ephIntrComboBox->setEnabled(false);1242 1256 } 1243 1257 } … … 1260 1274 if (_corrPathLineEdit->text().isEmpty()) { 1261 1275 _corrIntrComboBox->setStyleSheet("background-color: lightGray"); 1262 _corrPortLineEdit->setStyleSheet("background-color: lightGray"); 1263 _corrTimeSpinBox->setStyleSheet("background-color: lightGray"); 1264 _corrIntrComboBox->setEnabled(false); 1265 _corrPortLineEdit->setEnabled(false); 1266 _corrTimeSpinBox->setEnabled(false); 1276 _corrIntrComboBox->setEnabled(false); 1267 1277 } 1268 1278 if (_corrPortLineEdit->text().isEmpty()) {
Note:
See TracChangeset
for help on using the changeset viewer.