Changeset 3813 in ntrip for trunk/BNC/bncwindow.cpp


Ignore:
Timestamp:
Apr 7, 2012, 9:54:32 PM (12 years ago)
Author:
weber
Message:

Online help completed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncwindow.cpp

    r3812 r3813  
    496496  QPushButton* delCmbRowButton = new QPushButton("Delete");
    497497
    498   connect(_cmbTable, SIGNAL(itemSelectionChanged()), 
    499           SLOT(slotBncTextChanged()));
     498  connect(_cmbTable, SIGNAL(itemSelectionChanged()),
     499          SLOT(slotBncTextChanged())); 
    500500
    501501  _cmbMethodComboBox = new QComboBox();
     
    505505  if (im != -1) {
    506506    _cmbMethodComboBox->setCurrentIndex(im);
     507  }
     508
     509  int iRow = _cmbTable->rowCount();
     510  if (iRow > 0) {
     511    enableWidget(true, _cmbMethodComboBox);
     512    _cmbMaxresLineEdit->setStyleSheet("background-color: white");
     513    _cmbMaxresLineEdit->setEnabled(true);
     514  }
     515  else {
     516    enableWidget(false, _cmbMethodComboBox);
     517    _cmbMaxresLineEdit->setStyleSheet("background-color: lightGray");
     518    _cmbMaxresLineEdit->setEnabled(false);
    507519  }
    508520
     
    554566  _uploadSamplOrbSpinBox->setValue(settings.value("uploadSamplOrb").toInt());
    555567  _uploadSamplOrbSpinBox->setSuffix(" sec");
     568
     569  int iRowT = _uploadTable->rowCount();
     570  if (iRowT > 0) {
     571    enableWidget(true, _uploadIntrComboBox);
     572    enableWidget(true, _uploadSamplSpinBox);
     573    enableWidget(true, _uploadSamplOrbSpinBox);
     574//  enableWidget(true, setUploadTrafoButton); // weber
     575  }
     576  else {
     577    enableWidget(false, _uploadIntrComboBox);
     578    enableWidget(false, _uploadSamplSpinBox);
     579    enableWidget(false, _uploadSamplOrbSpinBox);
     580//  enableWidget(false, setUploadTrafoButton); // weber
     581  }
    556582
    557583  // Upload RTCM3 Ephemeris
     
    11951221  _pppAntennaLineEdit->setWhatsThis(tr("<p>Specify the receiver's antenna name as defined in your ANTEX file. Observations will be corrected for the antenna phase center's offset which may result in a reduction of a few centimeters at max. Corrections for phase center variations are not yet applied by BNC. The specified name must consist of 20 characters. Add trailing blanks if the antenna name has less then 20 characters.</p><p>Default is an empty option field meaning that you don't want to correct observations for antenna phase center offsets.</p>"));
    11961222  _pppApplySatAntCheckBox->setWhatsThis(tr("<p>This option is not yet working.</p><p>Satellite orbit and clock corrections refer to the satellite's antenna phase centers and hence observations are actually <u>not</u> to be corrected for satellite antenna phase center offsets. However, you may like to tick 'Apply Offsets' to force BNC to correct observations for satellite antenna phase center offsets.</p><p>Default is to <u>not</u> correct observations for satellite antenna phase center offsets."));
    1197   _cmbTable->setWhatsThis(tr("<p>BNC allows to process several orbit and clock corrections streams in real-time to produce, encode, upload and save a combination of correctors coming from various providers. Hit the 'Add Row' button, double click on the 'Mountpoint' field to enter a Broadcast Ephemeris corrections mountpoint from the 'Streams' section below and hit Enter. Then double click on the 'AC Name' field to enter your choice of an abbreviation for the Analysis Center (AC) providing the stream. Finally, double click on the 'Weight' field to enter the weight to be applied for this stream in the combination.</p><p>Note that an appropriate 'Wait for full epoch' value needs to be specified for the combination under the 'Broadcast Corrections' tab. A value of 15 seconds would make sense there if the update rate of incoming clock corrections is i.e. 10 seconds.</p><p>Note further that the orbit information in the final combination stream is just copied from one of the incoming streams. The stream used for providing the orbits may vary over time: if the orbit providing stream has an outage then BNC switches to the next remaining streams to get hold of the orbit information.</p><p>The combination process requires Broadcast Ephemeris. Besides the orbit and clock corrections stream(s) BNC must therefore pull a stream carrying Broadcast Ephemeris in the form of RTCM Version 3 messages.</p>"));
     1223  _cmbTable->setWhatsThis(tr("<p>BNC allows to process several orbit and clock corrections streams in real-time to produce, encode, upload and save a combination of correctors coming from various providers. Hit the 'Add Row' button, double click on the 'Mountpoint' field to enter a Broadcast Ephemeris corrections mountpoint from the 'Streams' section below and hit Enter. Then double click on the 'AC Name' field to enter your choice of an abbreviation for the Analysis Center (AC) providing the stream. Finally, double click on the 'Weight' field to enter the weight to be applied for this stream in the combination.</p><p>Note that an appropriate 'Wait for full epoch' value needs to be specified for the combination under the 'Broadcast Corrections' tab. A value of 15 seconds would make sense there if the update rate of incoming clock corrections is i.e. 10 seconds.</p><p>Note also that you need to tick 'Use GLONASS' which is part ot the 'PPP (2)' panel in case you want to produce an GPS plus GLONASS combination.</p><p>Note further that the orbit information in the final combination stream is just copied from one of the incoming streams. The stream used for providing the orbits may vary over time: if the orbit providing stream has an outage then BNC switches to the next remaining stream for getting hold of the orbit information.</p><p>The combination process requires Broadcast Ephemeris. Besides the orbit and clock corrections stream(s) BNC must therefore pull a stream carrying Broadcast Ephemeris in the form of RTCM Version 3 messages.</p>"));
    11981224  _cmbMaxresLineEdit->setWhatsThis(tr("<p>BNC combines all incoming clocks according to specified weights. Individual clock estimates that differ by more than 'Maximal Residuum' meters from the average of all clocks will be ignored.<p></p>It is suggested to specify a value of about 0.2 m for the Kalman filter combination approach and a value of about 3.0 meters for the Single-Epoch combination approach.</p><p>Default is a value of '999.0'.</p>"));
    11991225  _cmbMethodComboBox->setWhatsThis(tr("<p>Select a clock combination approach. Options are 'Single-Epoch' and Kalman 'Filter'. It is suggested to use the Kalman filter approach for the purpose of Precise Point Positioning.</p>"));
     
    20872113  }
    20882114
    2089   // Enable/disable Broadcast Ephemerides // weber
     2115  // Enable/disable Broadcast Ephemerides
    20902116  // ------------------------------------
    20912117  if (sender() == 0 || sender() == _uploadEphHostLineEdit) {
     
    21122138  }
    21132139
     2140  // Combination
     2141  // -----------
     2142  if (sender() == 0 || sender() == _cmbTable) {
     2143    int iRow = _cmbTable->rowCount();
     2144    if (iRow > 0) {
     2145      enableWidget(true, _cmbMethodComboBox);
     2146      _cmbMaxresLineEdit->setStyleSheet("background-color: white");
     2147      _cmbMaxresLineEdit->setEnabled(true);
     2148    }
     2149    else {
     2150      enableWidget(false, _cmbMethodComboBox);
     2151      _cmbMaxresLineEdit->setStyleSheet("background-color: lightGray");
     2152      _cmbMaxresLineEdit->setEnabled(false);
     2153    }
     2154  }
     2155
     2156  // Upload(clk)
     2157  // -----------
     2158  int iRow = _uploadTable->rowCount();
     2159  if (iRow > 0) {
     2160    enableWidget(true, _uploadIntrComboBox);
     2161    enableWidget(true, _uploadSamplSpinBox);
     2162    enableWidget(true, _uploadSamplOrbSpinBox);
     2163//  enableWidget(true, setUploadTrafoButton); // weber
     2164  }
     2165  else {
     2166    enableWidget(false, _uploadIntrComboBox);
     2167    enableWidget(false, _uploadSamplSpinBox);
     2168    enableWidget(false, _uploadSamplOrbSpinBox);
     2169//  enableWidget(false, setUploadTrafoButton); // weber
     2170  }
     2171
    21142172  // PPP Client
    21152173  // ----------
     
    22302288    }
    22312289  }
     2290  nRows = _cmbTable->rowCount();
     2291  if (nRows < 1) {
     2292    enableWidget(false, _cmbMethodComboBox);
     2293    _cmbMaxresLineEdit->setStyleSheet("background-color: lightGray");
     2294    _cmbMaxresLineEdit->setEnabled(false);
     2295  }
    22322296}
    22332297
     
    23132377    ((bncApp*)qApp)->_uploadTableItems[iRow] =
    23142378                                (bncTableItem*) _uploadTable->item(iRow, 8);
     2379  }
     2380  nRows = _uploadTable->rowCount();
     2381  if (nRows < 1) {
     2382    enableWidget(false, _uploadIntrComboBox);
     2383    enableWidget(false, _uploadSamplSpinBox);
     2384    enableWidget(false, _uploadSamplOrbSpinBox);
     2385//  enableWidget(false, setUploadTrafoButton); // weber
    23152386  }
    23162387}
Note: See TracChangeset for help on using the changeset viewer.