Changeset 1454 in ntrip


Ignore:
Timestamp:
Jan 8, 2009, 1:10:04 PM (15 years ago)
Author:
weber
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncwindow.cpp

    r1453 r1454  
    338338  _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>"));
    339339  _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 files containing Broadcast Ephemeris is RINEX Version 2.11. Select 'Version 3' if you want to save the 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."));
    341341  _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."));
    342342  _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>"));
     
    461461  connect(_ephPathLineEdit, SIGNAL(textChanged(const QString &)),
    462462          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()) {
    464467    _ephIntrComboBox->setStyleSheet("background-color: lightGray");
    465     _outEphPortLineEdit->setStyleSheet("background-color: lightGray");
    466468    palette.setColor(_ephV3CheckBox->backgroundRole(), lightGray);
    467469    _ephV3CheckBox->setPalette(palette);
    468470    _ephIntrComboBox->setEnabled(false);
    469     _outEphPortLineEdit->setEnabled(false);
    470471    _ephV3CheckBox->setEnabled(false);
    471472  }
     473  if (_ephPathLineEdit->text().isEmpty() && !_outEphPortLineEdit->text().isEmpty()) {
     474    _ephIntrComboBox->setStyleSheet("background-color: lightGray");
     475    _ephIntrComboBox->setEnabled(false);
     476  }   
    472477
    473478  // Outages
     
    585590  if (_corrPathLineEdit->text().isEmpty()) {
    586591    _corrIntrComboBox->setStyleSheet("background-color: lightGray");
    587     _corrPortLineEdit->setStyleSheet("background-color: lightGray");
    588592    _corrIntrComboBox->setEnabled(false);
    589     _corrPortLineEdit->setEnabled(false);
    590593  }
    591594  if (_corrPortLineEdit->text().isEmpty()) {
     
    12241227  // ---------------
    12251228  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");
    12281231      palette.setColor(_ephV3CheckBox->backgroundRole(), white);
    12291232      _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()) {
    12301244      _ephIntrComboBox->setStyleSheet("background-color: white");
    1231       _outEphPortLineEdit->setEnabled(true);
     1245      palette.setColor(_ephV3CheckBox->backgroundRole(), white);
     1246      _ephV3CheckBox->setPalette(palette);
     1247      _ephIntrComboBox->setEnabled(true);
    12321248      _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");
    12361252      palette.setColor(_ephV3CheckBox->backgroundRole(), lightGray);
    12371253      _ephV3CheckBox->setPalette(palette);
    1238       _ephIntrComboBox->setStyleSheet("background-color: lightGray");
    1239       _outEphPortLineEdit->setEnabled(false);
     1254      _ephIntrComboBox->setEnabled(false);
    12401255      _ephV3CheckBox->setEnabled(false);
    1241       _ephIntrComboBox->setEnabled(false);
    12421256    }
    12431257  }
     
    12601274      if (_corrPathLineEdit->text().isEmpty()) {
    12611275      _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);
    12671277      }
    12681278      if (_corrPortLineEdit->text().isEmpty()) {
Note: See TracChangeset for help on using the changeset viewer.