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


Ignore:
Timestamp:
Feb 27, 2010, 9:47:33 PM (14 years ago)
Author:
weber
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncwindow.cpp

    r2340 r2341  
    350350    _pppOriginComboBox->setCurrentIndex(ij);
    351351  }
    352   _pppNaviCheckBox     = new QCheckBox();
    353   _pppNaviCheckBox->setCheckState(Qt::CheckState(
    354                                     settings.value("pppNavi").toInt()));
     352  _pppSPPComboBox = new QComboBox();
     353  _pppSPPComboBox->setEditable(false);
     354  _pppSPPComboBox->addItems(QString("PPP,SPP").split(","));
     355  int ik = _pppSPPComboBox->findText(settings.value("pppSPP").toString());
     356  if (ik != -1) {
     357    _pppSPPComboBox->setCurrentIndex(ik);
     358  }
    355359  _pppStaticCheckBox   = new QCheckBox();
    356360  _pppStaticCheckBox->setCheckState(Qt::CheckState(
     
    447451  _serialHeightNMEALineEdit->setWhatsThis(tr("<p>Specify an approximate 'Height' above mean sea level in meter for your VRS to simulate an inital NMEA-GGA message.</p><p>The setting of this option is ignored in case of streams coming from physical reference stations.</p>"));
    448452  _pppMountLineEdit->setWhatsThis(tr("<p>Specify a mountpoint if you want BNC to estimate coordinates for the affected receiver position through a PPP solution.</p><p>Note that PPP in BNC requires to also pull a stream carrying RTCM Version 3 satellite orbit and clock corrections to Broadcast Ephemeris referring to the satellites' Antenna Phase Centers (APC). Stream CLK11 on NTRIP broadcaster www.igs-ip.net is an example.</p><p>Pulling in addition a third stream carrying Broadcast Ephemeris messages in high repetition rate is suggested if such messages are comeing from the receiver only in low repetition rate or dont come at all from there.</p>"));
    449   _pppNaviCheckBox->setWhatsThis(tr("<p>Don't apply any Broadcast Ephemeris Corrections, carry out plain Navigation Solution.</p>"));
     453  _pppSPPComboBox->setWhatsThis(tr("<p>Choose between plain Single Point Positioning (SPP) and Precise Point Positioning (PPP).</p><p>Note that SPP doesn not require to pull a stream of Broadcast Ephemeris Corrections.</p>"));
    450454  _pppStaticCheckBox->setWhatsThis(tr("<p>By default BNC considers the rover receiver as mobile.</p><p>Tick 'Static' to consider a static observation sitatuion and adapt appropriate filter characteristics for that.</p>"));
    451455  _pppUsePhaseCheckBox->setWhatsThis(tr("<p>By default BNC applies a PPP solution using an ionosphere free P3 linear combination of code observations.</p><p>Tick 'Use phase obs' for an ionosphere free L3 linear combination of phase observations.</p>"));
     
    696700  _pppNMEAPortLineEdit->setMaximumWidth(14*ww);
    697701  _pppOriginComboBox->setMaximumWidth(14*ww);
     702  _pppSPPComboBox->setMaximumWidth(8*ww);
    698703  pppLayout->setColumnMinimumWidth(0,14*ww);
    699704  pppLayout->addWidget(new QLabel("Mountpoint"),             0, 0);
    700705  pppLayout->addWidget(_pppMountLineEdit,                    0, 1, 1, 2);
    701   pppLayout->addWidget(_pppNaviCheckBox,                     0, 3);
    702   pppLayout->addWidget(new QLabel("Navigation solution"),    0, 4);
     706  pppLayout->addWidget(_pppSPPComboBox,                      0, 4);
    703707  pppLayout->addWidget(new QLabel("Options"),                1, 0);
    704708  pppLayout->addWidget(_pppStaticCheckBox,                   1, 1);
     
    722726  pppLayout->addWidget(new QLabel("Port"),                   3, 7);
    723727  pppLayout->addWidget(_pppNMEAPortLineEdit,                 3, 8);
    724 //pppLayout->addWidget(_pppNMEAPortLineEdit,                 3, 8, 1, 1);
    725728  pppLayout->addWidget(new QLabel("Coordinates from Precise Point Positioning (PPP)."),4, 0,1,15);
    726729  pppLayout->addWidget(new QLabel("    "),                   5, 0);
     
    10341037  settings.setValue("miscMount",   _miscMountLineEdit->text());
    10351038  settings.setValue("pppMount",    _pppMountLineEdit->text());
    1036   settings.setValue("pppNavi",     _pppNaviCheckBox->checkState());
     1039  settings.setValue("pppSPP",      _pppSPPComboBox->currentText());
    10371040  settings.setValue("nmeaFile",    _pppNMEALineEdit->text());
    10381041  settings.setValue("nmeaPort",    _pppNMEAPortLineEdit->text());
     
    15801583     || sender() == _pppOriginComboBox) {
    15811584    if (!_pppMountLineEdit->text().isEmpty()) {
    1582       _pppNaviCheckBox->setPalette(palette_white);
     1585      _pppSPPComboBox->setPalette(palette_white);
    15831586      _pppNMEALineEdit->setPalette(palette_white);
    15841587      _pppNMEAPortLineEdit->setPalette(palette_white);
     
    15911594      _pppGLONASSCheckBox->setPalette(palette_white);
    15921595      _pppOriginComboBox->setPalette(palette_white);
    1593       _pppNaviCheckBox->setEnabled(true);
     1596      _pppSPPComboBox->setEnabled(true);
    15941597      _pppNMEALineEdit->setEnabled(true);
    15951598      _pppNMEAPortLineEdit->setEnabled(true);
     
    16191622      }
    16201623    } else {
    1621       _pppNaviCheckBox->setPalette(palette_gray);
     1624      _pppSPPComboBox->setPalette(palette_gray);
    16221625      _pppNMEALineEdit->setPalette(palette_gray);
    16231626      _pppNMEAPortLineEdit->setPalette(palette_gray);
     
    16301633      _pppGLONASSCheckBox->setPalette(palette_gray);
    16311634      _pppOriginComboBox->setPalette(palette_gray);
    1632       _pppNaviCheckBox->setEnabled(false);
     1635      _pppSPPComboBox->setEnabled(false);
    16331636      _pppNMEALineEdit->setEnabled(false);
    16341637      _pppNMEAPortLineEdit->setEnabled(false);
Note: See TracChangeset for help on using the changeset viewer.