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


Ignore:
Timestamp:
May 24, 2011, 11:10:47 AM (13 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncwindow.cpp

    r3271 r3284  
    357357  _pppRefCrdYLineEdit    = new QLineEdit(settings.value("pppRefCrdY").toString());
    358358  _pppRefCrdZLineEdit    = new QLineEdit(settings.value("pppRefCrdZ").toString());
     359  _pppRefdNLineEdit      = new QLineEdit(settings.value("pppRefdN").toString());
     360  _pppRefdELineEdit      = new QLineEdit(settings.value("pppRefdE").toString());
     361  _pppRefdULineEdit      = new QLineEdit(settings.value("pppRefdU").toString());
    359362  _pppSync               = new QLineEdit(settings.value("pppSync").toString());
    360363  _pppAntennaLineEdit    = new QLineEdit(settings.value("pppAntenna").toString());
     
    404407          this, SLOT(slotBncTextChanged()));
    405408  connect(_pppRefCrdZLineEdit, SIGNAL(textChanged(const QString &)),
     409          this, SLOT(slotBncTextChanged()));
     410  connect(_pppRefdNLineEdit, SIGNAL(textChanged(const QString &)),
     411          this, SLOT(slotBncTextChanged()));
     412  connect(_pppRefdELineEdit, SIGNAL(textChanged(const QString &)),
     413          this, SLOT(slotBncTextChanged()));
     414  connect(_pppRefdULineEdit, SIGNAL(textChanged(const QString &)),
    406415          this, SLOT(slotBncTextChanged()));
    407416
     
    596605  _pppRefCrdYLineEdit->setWhatsThis(tr("<p>Enter reference coordinate Y of the receiver's position.</p>"));
    597606  _pppRefCrdZLineEdit->setWhatsThis(tr("<p>Enter reference coordinate Z of the receiver's position.</p>"));
     607  _pppRefdNLineEdit->setWhatsThis(tr("<p>Enter north antenna excentricity.</p>"));
     608  _pppRefdELineEdit->setWhatsThis(tr("<p>Enter east antenna excentricity.</p>"));
     609  _pppRefdULineEdit->setWhatsThis(tr("<p>Enter up antenna excentricity.</p>"));
    598610  _bncFigurePPP->setWhatsThis(tr("PPP time series of North (red), East (green) and Up (blue) coordinate components are shown in the 'PPP Plot' tab when the corresponting option is selected above. Values are either referred to an XYZ reference coordinate (if specified) or referred to the first estimated set of coordinate compoments. The sliding PPP time series window covers the period of the latest 5 minutes."));
    599611  _pppSync->setWhatsThis(tr(
     
    864876  _pppRefCrdYLineEdit->setMaximumWidth(10*ww);
    865877  _pppRefCrdZLineEdit->setMaximumWidth(10*ww);
     878  _pppRefdNLineEdit->setMaximumWidth(5*ww);
     879  _pppRefdELineEdit->setMaximumWidth(5*ww);
     880  _pppRefdULineEdit->setMaximumWidth(5*ww);
    866881  _pppSync->setMaximumWidth(6*ww);
    867882  _pppSPPComboBox->setMaximumWidth(8*ww);
     
    878893  pppLayout->addWidget(new QLabel("Corr Mountpoint "),       1, 0);
    879894  pppLayout->addWidget(_pppCorrMountLineEdit,                1, 1);
     895  pppLayout->addWidget(new QLabel("         dN   "),         1, 3, Qt::AlignRight);
     896  pppLayout->addWidget(_pppRefdNLineEdit,                    1, 4);
     897  pppLayout->addWidget(new QLabel("       dE   "),           1, 5, Qt::AlignRight);
     898  pppLayout->addWidget(_pppRefdELineEdit,                    1, 6);
     899  pppLayout->addWidget(new QLabel("     dU   "),             1, 7, Qt::AlignRight);
     900  pppLayout->addWidget(_pppRefdULineEdit,                    1, 8);
    880901  pppLayout->addWidget(new QLabel("Options"),                2, 0, 1, 5);
    881902  pppLayout->addWidget(_pppUsePhaseCheckBox,                 2, 1, Qt::AlignRight);
     
    13791400  settings.setValue("pppRefCrdY",  _pppRefCrdYLineEdit->text());
    13801401  settings.setValue("pppRefCrdZ",  _pppRefCrdZLineEdit->text());
     1402  settings.setValue("pppRefdN",  _pppRefdNLineEdit->text());
     1403  settings.setValue("pppRefdE",  _pppRefdELineEdit->text());
     1404  settings.setValue("pppRefdU",  _pppRefdULineEdit->text());
    13811405  settings.setValue("pppSync",     _pppSync->text());
    13821406  settings.setValue("pppUsePhase", _pppUsePhaseCheckBox->checkState());
     
    19621986     || sender() == _pppRefCrdYLineEdit
    19631987     || sender() == _pppRefCrdZLineEdit
     1988     || sender() == _pppRefdNLineEdit
     1989     || sender() == _pppRefdELineEdit
     1990     || sender() == _pppRefdULineEdit
    19641991     || sender() == _pppSync
    19651992     || sender() == _pppSPPComboBox
     
    19782005      _pppRefCrdYLineEdit->setPalette(palette_white);
    19792006      _pppRefCrdZLineEdit->setPalette(palette_white);
     2007      _pppRefdNLineEdit->setPalette(palette_white);
     2008      _pppRefdELineEdit->setPalette(palette_white);
     2009      _pppRefdULineEdit->setPalette(palette_white);
    19802010      _pppUsePhaseCheckBox->setPalette(palette_white);
    19812011      _pppPlotCoordinates->setPalette(palette_white);
     
    19902020      _pppRefCrdYLineEdit->setEnabled(true);
    19912021      _pppRefCrdZLineEdit->setEnabled(true);
     2022      _pppRefdNLineEdit->setEnabled(true);
     2023      _pppRefdELineEdit->setEnabled(true);
     2024      _pppRefdULineEdit->setEnabled(true);
    19922025      _pppUsePhaseCheckBox->setEnabled(true);
    19932026      _pppPlotCoordinates->setEnabled(true);
     
    19982031      _pppRefCrdYLineEdit->setPalette(palette_white);
    19992032      _pppRefCrdZLineEdit->setPalette(palette_white);
     2033      _pppRefdNLineEdit->setPalette(palette_white);
     2034      _pppRefdELineEdit->setPalette(palette_white);
     2035      _pppRefdULineEdit->setPalette(palette_white);
    20002036      _pppAntexLineEdit->setEnabled(true);
    20012037      if (!_pppRefCrdXLineEdit->text().isEmpty() &&
     
    20792115      _pppRefCrdYLineEdit->setPalette(palette_gray);
    20802116      _pppRefCrdZLineEdit->setPalette(palette_gray);
     2117      _pppRefdNLineEdit->setPalette(palette_gray);
     2118      _pppRefdELineEdit->setPalette(palette_gray);
     2119      _pppRefdULineEdit->setPalette(palette_gray);
    20812120      _pppSync->setPalette(palette_gray);
    20822121      _pppUsePhaseCheckBox->setPalette(palette_gray);
     
    21032142      _pppRefCrdYLineEdit->setEnabled(false);
    21042143      _pppRefCrdZLineEdit->setEnabled(false);
     2144      _pppRefdNLineEdit->setEnabled(false);
     2145      _pppRefdELineEdit->setEnabled(false);
     2146      _pppRefdULineEdit->setEnabled(false);
    21052147      _pppSync->setEnabled(false);
    21062148      _pppUsePhaseCheckBox->setEnabled(false);
Note: See TracChangeset for help on using the changeset viewer.