Changeset 3620 in ntrip


Ignore:
Timestamp:
Jan 22, 2012, 4:38:35 PM (12 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncwindow.cpp

    r3619 r3620  
    380380  _pppSync               = new QLineEdit(settings.value("pppSync").toString());
    381381  _pppAntennaLineEdit    = new QLineEdit(settings.value("pppAntenna").toString());
    382   _pppAntexLineEdit      = new QLineEdit(settings.value("pppAntex").toString());
     382  _pppAntexFileChooser   = new qtFileChooser;
     383  _pppAntexFileChooser->setFileName(settings.value("pppAntex").toString());
    383384
    384385
     
    442443          this, SLOT(slotBncTextChanged()));
    443444
    444   connect(_pppAntexLineEdit, SIGNAL(textChanged(const QString &)),
     445  connect(_pppAntexFileChooser, SIGNAL(fileNameChanged(const QString &)),
    445446          this, SLOT(slotBncTextChanged()));
    446447
     
    650651    "are buffered and the processing of each epoch is postponed till the satellite clock "
    651652    "corrections not older than 'Sync Corr' seconds are available.<p>"));
    652   _pppAntexLineEdit->setWhatsThis(tr("<p>IGS provides a file containing absolute phase center corrections for GNSS satellite and receiver antennas in ANTEX format. Entering the full path to such an ANTEX file is required for correcting observations for antenna phase center offsets and variations. It allows you to specify the name of your receiver's antenna (as contained in the ANTEX file) to apply such corrections.</p><p>Default is an empty option field meaning that you don't want to correct observations for antenna phase center offsets and variations.</p>"));
     653  _pppAntexFileChooser->setWhatsThis(tr("<p>IGS provides a file containing absolute phase center corrections for GNSS satellite and receiver antennas in ANTEX format. Entering the full path to such an ANTEX file is required for correcting observations for antenna phase center offsets and variations. It allows you to specify the name of your receiver's antenna (as contained in the ANTEX file) to apply such corrections.</p><p>Default is an empty option field meaning that you don't want to correct observations for antenna phase center offsets and variations.</p>"));
    653654  _pppAntennaLineEdit->setWhatsThis(tr("<p>Specify the receiver's antenna name as defined in your ANTEX file. Observations will be corrected for the antenna phase center's offset which may result in a reduction of a few centimeters at max. Corrections for phase center variations are not yet applied by BNC. The specified name must consist of 20 characters. Add trailing blanks if the antenna name has less then 20 characters.</p><p>Default is an empty option field meaning that you don't want to correct observations for antenna phase center offsets.</p>"));
    654655  _pppApplySatAntCheckBox->setWhatsThis(tr("<p>This option is not yet working.</p><p>Satellite orbit and clock corrections refer to the satellite's antenna phase centers and hence observations are actually <u>not</u> to be corrected for satellite antenna phase center offsets. However, you may like to tick 'Apply Offsets' to force BNC to correct observations for satellite antenna phase center offsets.</p><p>Default is to <u>not</u> correct observations for satellite antenna phase center offsets."));
     
    991992  ++ir;
    992993  ppp2Layout->addWidget(new QLabel("Antennas"),             ir, 0);
    993   ppp2Layout->addWidget(_pppAntexLineEdit,                  ir, 1, 1, 3);
     994  ppp2Layout->addWidget(_pppAntexFileChooser,               ir, 1, 1, 3);
    994995  ppp2Layout->addWidget(new QLabel("ANTEX File   "),        ir, 4);
    995996  ppp2Layout->addWidget(_pppAntennaLineEdit,                ir, 5, 1, 3);
     
    14971498  settings.setValue("pppGalileo",  _pppGalileoCheckBox->checkState());
    14981499  settings.setValue("pppAntenna",      _pppAntennaLineEdit->text());
    1499   settings.setValue("pppAntex",        _pppAntexLineEdit->text());         
     1500  settings.setValue("pppAntex",        _pppAntexFileChooser->fileName());
    15001501  settings.setValue("pppApplySatAnt", _pppApplySatAntCheckBox->checkState());
    15011502  settings.setValue("mountPoints", mountPoints);
     
    20002001     || sender() == _pppEstTropoCheckBox
    20012002     || sender() == _pppUsePhaseCheckBox   
    2002      || sender() == _pppAntexLineEdit ) {
     2003     || sender() == _pppAntexFileChooser ) {
    20032004
    20042005    enable = (!_pppMountLineEdit->text().isEmpty() && !_pppCorrMountLineEdit->text().isEmpty()) ||
     
    20192020    enableWidget(enable, _pppGLONASSCheckBox);
    20202021    enableWidget(enable, _pppGalileoCheckBox);
    2021     enableWidget(enable, _pppAntexLineEdit);
     2022    enableWidget(enable, _pppAntexFileChooser);
    20222023    enableWidget(enable, _pppSigCLineEdit);
    20232024    enableWidget(enable, _pppSigCrd0);
     
    20342035    enableWidget(enable3, _pppMaxSolGapLineEdit);
    20352036
    2036     bool enable4 = enable && !_pppAntexLineEdit->text().isEmpty();
     2037    bool enable4 = enable && !_pppAntexFileChooser->fileName().isEmpty();
    20372038    enableWidget(enable4, _pppAntennaLineEdit);
    20382039    enableWidget(enable4, _pppApplySatAntCheckBox);
  • trunk/BNC/bncwindow.h

    r3618 r3620  
    154154    QCheckBox* _pppGalileoCheckBox;
    155155    QLineEdit* _pppAntennaLineEdit;
    156     QLineEdit* _pppAntexLineEdit;
     156    qtFileChooser* _pppAntexFileChooser;
    157157    QCheckBox* _pppApplySatAntCheckBox;
    158158
Note: See TracChangeset for help on using the changeset viewer.