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


Ignore:
Timestamp:
Jan 3, 2010, 9:47:44 AM (14 years ago)
Author:
weber
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncwindow.cpp

    r2164 r2165  
    336336  // PPP Options
    337337  // -----------
    338   _pppMountLineEdit  = new QLineEdit(settings.value("pppMount").toString());
    339   _pppNMEALineEdit   = new QLineEdit(settings.value("nmeaFile").toString());
    340   _pppRefCrdLineEdit = new QLineEdit(settings.value("pppRefCrd").toString());
    341   _pppStaticCheckBox = new QCheckBox();
     338  _pppMountLineEdit    = new QLineEdit(settings.value("pppMount").toString());
     339  _pppNMEALineEdit     = new QLineEdit(settings.value("nmeaFile").toString());
     340  _pppRefCrdXLineEdit  = new QLineEdit(settings.value("pppRefCrdX").toString());
     341  _pppRefCrdYLineEdit  = new QLineEdit(settings.value("pppRefCrdY").toString());
     342  _pppRefCrdZLineEdit  = new QLineEdit(settings.value("pppRefCrdZ").toString());
     343  _pppStaticCheckBox   = new QCheckBox();
    342344  _pppStaticCheckBox->setCheckState(Qt::CheckState(
    343345                                    settings.value("pppStatic").toInt()));
     
    434436  _pppGLONASSCheckBox->setWhatsThis(tr("<p>By default BNC does not use GLONASS observations in PPP mode.</p><p>Tick 'Use GLONASS' for a combined processing of both, GPS and GLONASS observations in PPP mode.</p>"));
    435437  _pppNMEALineEdit->setWhatsThis(tr("<p>Specify the full path to a file where PPP results are saved as NMEA messages.</p>"));
     438  _pppRefCrdXLineEdit->setWhatsThis(tr("<p>You may enter reference coordinates of the receiver position if known.</p>"));
     439  _pppRefCrdYLineEdit->setWhatsThis(tr("<p>You may enter reference coordinates of the receiver position if known.</p>"));
     440  _pppRefCrdZLineEdit->setWhatsThis(tr("<p>You may enter reference coordinates of the receiver position if known.</p>"));
     441  _bncFigurePPP->setWhatsThis(tr("PPP time series of North (red), East (green) and Up (blue) coordinate components are shown in the 'PPP' tab. Values are either referred to reference coordinates (if specified) or referred to mean values calculated from results received over the latest 5 minues."));
    436442
    437443  // Canvas with Editable Fields
     
    468474  _loggroup->addTab(_bncFigure,tr("Throughput"));
    469475  _loggroup->addTab(_bncFigureLate,tr("Latency"));
    470   _loggroup->addTab(_bncFigurePPP,tr("PPP"));
     476  _loggroup->addTab(_bncFigurePPP,tr("PPP (NEU)"));
    471477
    472478  // Proxy Tab
     
    677683  pppLayout->addWidget(_pppGLONASSCheckBox,                  1, 7);
    678684  pppLayout->addWidget(new QLabel("Use GLONASS           "), 1, 8, 1, 1, Qt::AlignLeft);
    679   pppLayout->addWidget(new QLabel("NMEA file (full path)"),  2, 0);
    680   pppLayout->addWidget(_pppNMEALineEdit,                     2, 1, 1, 6);
    681   pppLayout->addWidget(new QLabel("Reference Coordinates"),  3, 0);
    682   pppLayout->addWidget(_pppRefCrdLineEdit,                   3, 1, 1, 6);
     685  pppLayout->addWidget(new QLabel("Ref. coordinates"),       2, 0);
     686  pppLayout->addWidget(_pppRefCrdXLineEdit,                  2, 1, 1, 2);
     687  pppLayout->addWidget(new QLabel("X"),                      2, 3, 1, 1);
     688  pppLayout->addWidget(_pppRefCrdYLineEdit,                  2, 4, 1, 1);
     689  pppLayout->addWidget(new QLabel("Y"),                      2, 5, 1, 1);
     690  pppLayout->addWidget(_pppRefCrdZLineEdit,                  2, 6, 1, 1);
     691  pppLayout->addWidget(new QLabel("Z"),                      2, 7, 1, 1);
     692  pppLayout->addWidget(new QLabel("NMEA file (full path)"),  3, 0);
     693  pppLayout->addWidget(_pppNMEALineEdit,                     3, 1, 1, 6);
    683694  pppLayout->addWidget(new QLabel("Coordinates from Precise Point Positioning (PPP)."),4, 0,1,30);
    684   pppLayout->addWidget(new QLabel("    "),                5, 0);
    685   pppLayout->addWidget(new QLabel("    "),                6, 0);
     695  pppLayout->addWidget(new QLabel("    "),                   5, 0);
     696  pppLayout->addWidget(new QLabel("    "),                   6, 0);
    686697  pppgroup->setLayout(pppLayout);
    687698
     
    9941005  settings.setValue("pppMount",    _pppMountLineEdit->text());
    9951006  settings.setValue("nmeaFile",    _pppNMEALineEdit->text());
    996   settings.setValue("pppRefCrd",   _pppRefCrdLineEdit->text());
     1007  settings.setValue("pppRefCrdX",  _pppRefCrdXLineEdit->text());
     1008  settings.setValue("pppRefCrdY",  _pppRefCrdYLineEdit->text());
     1009  settings.setValue("pppRefCrdZ",  _pppRefCrdZLineEdit->text());
    9971010  settings.setValue("pppStatic",   _pppStaticCheckBox->checkState());
    9981011  settings.setValue("pppUsePhase", _pppUsePhaseCheckBox->checkState());
     
    15301543    if (!_pppMountLineEdit->text().isEmpty()) {
    15311544      _pppNMEALineEdit->setPalette(palette_white);
    1532       _pppRefCrdLineEdit->setPalette(palette_white);
     1545      _pppRefCrdXLineEdit->setPalette(palette_white);
     1546      _pppRefCrdYLineEdit->setPalette(palette_white);
     1547      _pppRefCrdZLineEdit->setPalette(palette_white);
    15331548      _pppStaticCheckBox->setPalette(palette_white);
    15341549      _pppUsePhaseCheckBox->setPalette(palette_white);
     
    15361551      _pppGLONASSCheckBox->setPalette(palette_white);
    15371552      _pppNMEALineEdit->setEnabled(true);
    1538       _pppRefCrdLineEdit->setEnabled(true);
     1553      _pppRefCrdXLineEdit->setEnabled(true);
     1554      _pppRefCrdYLineEdit->setEnabled(true);
     1555      _pppRefCrdZLineEdit->setEnabled(true);
    15391556      _pppStaticCheckBox->setEnabled(true);
    15401557      _pppUsePhaseCheckBox->setEnabled(true);
     
    15431560    } else {
    15441561      _pppNMEALineEdit->setPalette(palette_gray);
    1545       _pppRefCrdLineEdit->setPalette(palette_gray);
     1562      _pppRefCrdXLineEdit->setPalette(palette_gray);
     1563      _pppRefCrdYLineEdit->setPalette(palette_gray);
     1564      _pppRefCrdZLineEdit->setPalette(palette_gray);
    15461565      _pppStaticCheckBox->setPalette(palette_gray);
    15471566      _pppUsePhaseCheckBox->setPalette(palette_gray);
     
    15491568      _pppGLONASSCheckBox->setPalette(palette_gray);
    15501569      _pppNMEALineEdit->setEnabled(false);
    1551       _pppRefCrdLineEdit->setEnabled(false);
     1570      _pppRefCrdXLineEdit->setEnabled(false);
     1571      _pppRefCrdYLineEdit->setEnabled(false);
     1572      _pppRefCrdZLineEdit->setEnabled(false);
    15521573      _pppStaticCheckBox->setEnabled(false);
    15531574      _pppUsePhaseCheckBox->setEnabled(false);
Note: See TracChangeset for help on using the changeset viewer.