Index: /trunk/BNC/bncwindow.cpp
===================================================================
--- /trunk/BNC/bncwindow.cpp	(revision 3283)
+++ /trunk/BNC/bncwindow.cpp	(revision 3284)
@@ -357,4 +357,7 @@
   _pppRefCrdYLineEdit    = new QLineEdit(settings.value("pppRefCrdY").toString());
   _pppRefCrdZLineEdit    = new QLineEdit(settings.value("pppRefCrdZ").toString());
+  _pppRefdNLineEdit      = new QLineEdit(settings.value("pppRefdN").toString());
+  _pppRefdELineEdit      = new QLineEdit(settings.value("pppRefdE").toString());
+  _pppRefdULineEdit      = new QLineEdit(settings.value("pppRefdU").toString());
   _pppSync               = new QLineEdit(settings.value("pppSync").toString());
   _pppAntennaLineEdit    = new QLineEdit(settings.value("pppAntenna").toString());
@@ -404,4 +407,10 @@
           this, SLOT(slotBncTextChanged()));
   connect(_pppRefCrdZLineEdit, SIGNAL(textChanged(const QString &)),
+          this, SLOT(slotBncTextChanged()));
+  connect(_pppRefdNLineEdit, SIGNAL(textChanged(const QString &)),
+          this, SLOT(slotBncTextChanged()));
+  connect(_pppRefdELineEdit, SIGNAL(textChanged(const QString &)),
+          this, SLOT(slotBncTextChanged()));
+  connect(_pppRefdULineEdit, SIGNAL(textChanged(const QString &)),
           this, SLOT(slotBncTextChanged()));
 
@@ -596,4 +605,7 @@
   _pppRefCrdYLineEdit->setWhatsThis(tr("<p>Enter reference coordinate Y of the receiver's position.</p>"));
   _pppRefCrdZLineEdit->setWhatsThis(tr("<p>Enter reference coordinate Z of the receiver's position.</p>"));
+  _pppRefdNLineEdit->setWhatsThis(tr("<p>Enter north antenna excentricity.</p>"));
+  _pppRefdELineEdit->setWhatsThis(tr("<p>Enter east antenna excentricity.</p>"));
+  _pppRefdULineEdit->setWhatsThis(tr("<p>Enter up antenna excentricity.</p>"));
   _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."));
   _pppSync->setWhatsThis(tr(
@@ -864,4 +876,7 @@
   _pppRefCrdYLineEdit->setMaximumWidth(10*ww);
   _pppRefCrdZLineEdit->setMaximumWidth(10*ww);
+  _pppRefdNLineEdit->setMaximumWidth(5*ww);
+  _pppRefdELineEdit->setMaximumWidth(5*ww);
+  _pppRefdULineEdit->setMaximumWidth(5*ww);
   _pppSync->setMaximumWidth(6*ww);
   _pppSPPComboBox->setMaximumWidth(8*ww);
@@ -878,4 +893,10 @@
   pppLayout->addWidget(new QLabel("Corr Mountpoint "),       1, 0);
   pppLayout->addWidget(_pppCorrMountLineEdit,                1, 1);
+  pppLayout->addWidget(new QLabel("         dN   "),         1, 3, Qt::AlignRight);
+  pppLayout->addWidget(_pppRefdNLineEdit,                    1, 4);
+  pppLayout->addWidget(new QLabel("       dE   "),           1, 5, Qt::AlignRight);
+  pppLayout->addWidget(_pppRefdELineEdit,                    1, 6);
+  pppLayout->addWidget(new QLabel("     dU   "),             1, 7, Qt::AlignRight);
+  pppLayout->addWidget(_pppRefdULineEdit,                    1, 8);
   pppLayout->addWidget(new QLabel("Options"),                2, 0, 1, 5);
   pppLayout->addWidget(_pppUsePhaseCheckBox,                 2, 1, Qt::AlignRight);
@@ -1379,4 +1400,7 @@
   settings.setValue("pppRefCrdY",  _pppRefCrdYLineEdit->text());
   settings.setValue("pppRefCrdZ",  _pppRefCrdZLineEdit->text());
+  settings.setValue("pppRefdN",  _pppRefdNLineEdit->text());
+  settings.setValue("pppRefdE",  _pppRefdELineEdit->text());
+  settings.setValue("pppRefdU",  _pppRefdULineEdit->text());
   settings.setValue("pppSync",     _pppSync->text());
   settings.setValue("pppUsePhase", _pppUsePhaseCheckBox->checkState());
@@ -1962,4 +1986,7 @@
      || sender() == _pppRefCrdYLineEdit 
      || sender() == _pppRefCrdZLineEdit 
+     || sender() == _pppRefdNLineEdit 
+     || sender() == _pppRefdELineEdit 
+     || sender() == _pppRefdULineEdit 
      || sender() == _pppSync 
      || sender() == _pppSPPComboBox
@@ -1978,4 +2005,7 @@
       _pppRefCrdYLineEdit->setPalette(palette_white);
       _pppRefCrdZLineEdit->setPalette(palette_white);
+      _pppRefdNLineEdit->setPalette(palette_white);
+      _pppRefdELineEdit->setPalette(palette_white);
+      _pppRefdULineEdit->setPalette(palette_white);
       _pppUsePhaseCheckBox->setPalette(palette_white);
       _pppPlotCoordinates->setPalette(palette_white);
@@ -1990,4 +2020,7 @@
       _pppRefCrdYLineEdit->setEnabled(true);
       _pppRefCrdZLineEdit->setEnabled(true);
+      _pppRefdNLineEdit->setEnabled(true);
+      _pppRefdELineEdit->setEnabled(true);
+      _pppRefdULineEdit->setEnabled(true);
       _pppUsePhaseCheckBox->setEnabled(true);
       _pppPlotCoordinates->setEnabled(true);
@@ -1998,4 +2031,7 @@
       _pppRefCrdYLineEdit->setPalette(palette_white);
       _pppRefCrdZLineEdit->setPalette(palette_white);
+      _pppRefdNLineEdit->setPalette(palette_white);
+      _pppRefdELineEdit->setPalette(palette_white);
+      _pppRefdULineEdit->setPalette(palette_white);
       _pppAntexLineEdit->setEnabled(true);
       if (!_pppRefCrdXLineEdit->text().isEmpty() &&
@@ -2079,4 +2115,7 @@
       _pppRefCrdYLineEdit->setPalette(palette_gray);
       _pppRefCrdZLineEdit->setPalette(palette_gray);
+      _pppRefdNLineEdit->setPalette(palette_gray);
+      _pppRefdELineEdit->setPalette(palette_gray);
+      _pppRefdULineEdit->setPalette(palette_gray);
       _pppSync->setPalette(palette_gray);
       _pppUsePhaseCheckBox->setPalette(palette_gray);
@@ -2103,4 +2142,7 @@
       _pppRefCrdYLineEdit->setEnabled(false);
       _pppRefCrdZLineEdit->setEnabled(false);
+      _pppRefdNLineEdit->setEnabled(false);
+      _pppRefdELineEdit->setEnabled(false);
+      _pppRefdULineEdit->setEnabled(false);
       _pppSync->setEnabled(false);
       _pppUsePhaseCheckBox->setEnabled(false);
Index: /trunk/BNC/bncwindow.h
===================================================================
--- /trunk/BNC/bncwindow.h	(revision 3283)
+++ /trunk/BNC/bncwindow.h	(revision 3284)
@@ -139,4 +139,7 @@
     QLineEdit* _pppRefCrdYLineEdit;
     QLineEdit* _pppRefCrdZLineEdit;
+    QLineEdit* _pppRefdNLineEdit;
+    QLineEdit* _pppRefdELineEdit;
+    QLineEdit* _pppRefdULineEdit;
     QCheckBox* _pppPlotCoordinates;
     QCheckBox* _pppUsePhaseCheckBox;
