Changeset 2967 in ntrip


Ignore:
Timestamp:
Feb 4, 2011, 11:56:03 AM (13 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncpppclient.cpp

    r2966 r2967  
    9090          this,   SIGNAL(newNMEAstr(QByteArray)));
    9191
    92   _pppCorrMountpoint = settings.value("pppCorrMountpoint").toString();
     92  _pppCorrMount = settings.value("pppCorrMount").toString();
    9393}
    9494
     
    265265  // Check the Mountpoint (source of corrections)
    266266  // --------------------------------------------
    267   if (_pppCorrMountpoint.isEmpty() ) {
     267  if (_pppCorrMount.isEmpty() ) {
    268268    QMutableListIterator<QString> itm(corrList);
    269269    while (itm.hasNext()) {
     
    271271      if (hlp.size() > 0) {
    272272        QString mountpoint = hlp[hlp.size()-1];
    273         if (mountpoint != _pppCorrMountpoint) {
     273        if (mountpoint != _pppCorrMount) {
    274274          itm.remove();     
    275275        }
  • trunk/BNC/bncpppclient.h

    r2966 r2967  
    154154  bool                    _pppMode;
    155155  QMap<QString, slipInfo> _slips;
    156   QString                 _pppCorrMountpoint;
     156  QString                 _pppCorrMount;
    157157};
    158158
  • trunk/BNC/bncwindow.cpp

    r2965 r2967  
    338338  // -----------
    339339  _pppMountLineEdit      = new QLineEdit(settings.value("pppMount").toString());
     340  _pppCorrMountLineEdit  = new QLineEdit(settings.value("pppCorrMount").toString());
    340341  _pppNMEALineEdit       = new QLineEdit(settings.value("nmeaFile").toString());
    341342  _pppNMEAPortLineEdit   = new QLineEdit(settings.value("nmeaPort").toString());
     
    385386
    386387  connect(_pppMountLineEdit, SIGNAL(textChanged(const QString &)),
     388          this, SLOT(slotBncTextChanged()));
     389
     390  connect(_pppCorrMountLineEdit, SIGNAL(textChanged(const QString &)),
    387391          this, SLOT(slotBncTextChanged()));
    388392
     
    768772  _pppSPPComboBox->setMaximumWidth(8*ww);
    769773  _pppNMEAPortLineEdit->setMaximumWidth(6*ww);
     774  _pppCorrMountLineEdit->setMaximumWidth(5*ww);
    770775  pppLayout->addWidget(new QLabel("Mountpoint"),             0, 0);
    771776  pppLayout->addWidget(_pppMountLineEdit,                    0, 1);
     
    800805  pppLayout->addWidget(_pppNMEAPortLineEdit,                 3, 5, Qt::AlignRight);
    801806  pppLayout->addWidget(new QLabel("Port"),                   3, 6);
     807  pppLayout->addWidget(_pppCorrMountLineEdit,                3, 7);
     808  pppLayout->addWidget(new QLabel("Corr Mountpoint"),        3, 8, Qt::AlignLeft);
    802809  pppLayout->addWidget(new QLabel("Coordinates from Precise Point Positioning (PPP)."),4, 0,1,5);
    803810  pppLayout->addWidget(new QLabel("    "),                   5, 0);
     
    12111218  settings.setValue("miscMount",   _miscMountLineEdit->text());
    12121219  settings.setValue("pppMount",    _pppMountLineEdit->text());
     1220  settings.setValue("pppCorrMount",_pppCorrMountLineEdit->text());
    12131221  settings.setValue("pppSPP",      _pppSPPComboBox->currentText());
    12141222  settings.setValue("nmeaFile",    _pppNMEALineEdit->text());
     
    17851793  if (sender() == 0
    17861794     || sender() == _pppMountLineEdit
     1795     || sender() == _pppCorrMountLineEdit
    17871796     || sender() == _pppRefCrdXLineEdit
    17881797     || sender() == _pppRefCrdYLineEdit
  • trunk/BNC/bncwindow.h

    r2950 r2967  
    117117    QLineEdit* _miscMountLineEdit;
    118118    QLineEdit* _pppMountLineEdit;
     119    QLineEdit* _pppCorrMountLineEdit;
    119120    QLineEdit* _pppNMEALineEdit;
    120121    QLineEdit* _pppNMEAPortLineEdit;
Note: See TracChangeset for help on using the changeset viewer.