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


Ignore:
Timestamp:
Jan 1, 2010, 6:28:21 PM (15 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncwindow.cpp

    r2145 r2164  
    338338  _pppMountLineEdit  = new QLineEdit(settings.value("pppMount").toString());
    339339  _pppNMEALineEdit   = new QLineEdit(settings.value("nmeaFile").toString());
     340  _pppRefCrdLineEdit = new QLineEdit(settings.value("pppRefCrd").toString());
    340341  _pppStaticCheckBox = new QCheckBox();
    341342  _pppStaticCheckBox->setCheckState(Qt::CheckState(
     
    678679  pppLayout->addWidget(new QLabel("NMEA file (full path)"),  2, 0);
    679680  pppLayout->addWidget(_pppNMEALineEdit,                     2, 1, 1, 6);
    680   pppLayout->addWidget(new QLabel("Coordinates from Precise Point Positioning (PPP)."),3, 0,1,30);
    681   pppLayout->addWidget(new QLabel("    "),                4, 0);
     681  pppLayout->addWidget(new QLabel("Reference Coordinates"),  3, 0);
     682  pppLayout->addWidget(_pppRefCrdLineEdit,                   3, 1, 1, 6);
     683  pppLayout->addWidget(new QLabel("Coordinates from Precise Point Positioning (PPP)."),4, 0,1,30);
    682684  pppLayout->addWidget(new QLabel("    "),                5, 0);
     685  pppLayout->addWidget(new QLabel("    "),                6, 0);
    683686  pppgroup->setLayout(pppLayout);
    684687
     
    991994  settings.setValue("pppMount",    _pppMountLineEdit->text());
    992995  settings.setValue("nmeaFile",    _pppNMEALineEdit->text());
     996  settings.setValue("pppRefCrd",   _pppRefCrdLineEdit->text());
    993997  settings.setValue("pppStatic",   _pppStaticCheckBox->checkState());
    994998  settings.setValue("pppUsePhase", _pppUsePhaseCheckBox->checkState());
     
    15261530    if (!_pppMountLineEdit->text().isEmpty()) {
    15271531      _pppNMEALineEdit->setPalette(palette_white);
     1532      _pppRefCrdLineEdit->setPalette(palette_white);
    15281533      _pppStaticCheckBox->setPalette(palette_white);
    15291534      _pppUsePhaseCheckBox->setPalette(palette_white);
     
    15311536      _pppGLONASSCheckBox->setPalette(palette_white);
    15321537      _pppNMEALineEdit->setEnabled(true);
     1538      _pppRefCrdLineEdit->setEnabled(true);
    15331539      _pppStaticCheckBox->setEnabled(true);
    15341540      _pppUsePhaseCheckBox->setEnabled(true);
     
    15371543    } else {
    15381544      _pppNMEALineEdit->setPalette(palette_gray);
     1545      _pppRefCrdLineEdit->setPalette(palette_gray);
    15391546      _pppStaticCheckBox->setPalette(palette_gray);
    15401547      _pppUsePhaseCheckBox->setPalette(palette_gray);
     
    15421549      _pppGLONASSCheckBox->setPalette(palette_gray);
    15431550      _pppNMEALineEdit->setEnabled(false);
     1551      _pppRefCrdLineEdit->setEnabled(false);
    15441552      _pppStaticCheckBox->setEnabled(false);
    15451553      _pppUsePhaseCheckBox->setEnabled(false);
Note: See TracChangeset for help on using the changeset viewer.