Changeset 2341 in ntrip for trunk/BNC/bncwindow.cpp
- Timestamp:
- Feb 27, 2010, 9:47:33 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncwindow.cpp
r2340 r2341 350 350 _pppOriginComboBox->setCurrentIndex(ij); 351 351 } 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 } 355 359 _pppStaticCheckBox = new QCheckBox(); 356 360 _pppStaticCheckBox->setCheckState(Qt::CheckState( … … 447 451 _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>")); 448 452 _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 _ppp NaviCheckBox->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>")); 450 454 _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>")); 451 455 _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>")); … … 696 700 _pppNMEAPortLineEdit->setMaximumWidth(14*ww); 697 701 _pppOriginComboBox->setMaximumWidth(14*ww); 702 _pppSPPComboBox->setMaximumWidth(8*ww); 698 703 pppLayout->setColumnMinimumWidth(0,14*ww); 699 704 pppLayout->addWidget(new QLabel("Mountpoint"), 0, 0); 700 705 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); 703 707 pppLayout->addWidget(new QLabel("Options"), 1, 0); 704 708 pppLayout->addWidget(_pppStaticCheckBox, 1, 1); … … 722 726 pppLayout->addWidget(new QLabel("Port"), 3, 7); 723 727 pppLayout->addWidget(_pppNMEAPortLineEdit, 3, 8); 724 //pppLayout->addWidget(_pppNMEAPortLineEdit, 3, 8, 1, 1);725 728 pppLayout->addWidget(new QLabel("Coordinates from Precise Point Positioning (PPP)."),4, 0,1,15); 726 729 pppLayout->addWidget(new QLabel(" "), 5, 0); … … 1034 1037 settings.setValue("miscMount", _miscMountLineEdit->text()); 1035 1038 settings.setValue("pppMount", _pppMountLineEdit->text()); 1036 settings.setValue("ppp Navi", _pppNaviCheckBox->checkState());1039 settings.setValue("pppSPP", _pppSPPComboBox->currentText()); 1037 1040 settings.setValue("nmeaFile", _pppNMEALineEdit->text()); 1038 1041 settings.setValue("nmeaPort", _pppNMEAPortLineEdit->text()); … … 1580 1583 || sender() == _pppOriginComboBox) { 1581 1584 if (!_pppMountLineEdit->text().isEmpty()) { 1582 _ppp NaviCheckBox->setPalette(palette_white);1585 _pppSPPComboBox->setPalette(palette_white); 1583 1586 _pppNMEALineEdit->setPalette(palette_white); 1584 1587 _pppNMEAPortLineEdit->setPalette(palette_white); … … 1591 1594 _pppGLONASSCheckBox->setPalette(palette_white); 1592 1595 _pppOriginComboBox->setPalette(palette_white); 1593 _ppp NaviCheckBox->setEnabled(true);1596 _pppSPPComboBox->setEnabled(true); 1594 1597 _pppNMEALineEdit->setEnabled(true); 1595 1598 _pppNMEAPortLineEdit->setEnabled(true); … … 1619 1622 } 1620 1623 } else { 1621 _ppp NaviCheckBox->setPalette(palette_gray);1624 _pppSPPComboBox->setPalette(palette_gray); 1622 1625 _pppNMEALineEdit->setPalette(palette_gray); 1623 1626 _pppNMEAPortLineEdit->setPalette(palette_gray); … … 1630 1633 _pppGLONASSCheckBox->setPalette(palette_gray); 1631 1634 _pppOriginComboBox->setPalette(palette_gray); 1632 _ppp NaviCheckBox->setEnabled(false);1635 _pppSPPComboBox->setEnabled(false); 1633 1636 _pppNMEALineEdit->setEnabled(false); 1634 1637 _pppNMEAPortLineEdit->setEnabled(false);
Note:
See TracChangeset
for help on using the changeset viewer.