Changeset 1350 in ntrip


Ignore:
Timestamp:
Dec 27, 2008, 1:22:41 PM (15 years ago)
Author:
mervart
Message:

* empty log message *

Location:
trunk/BNC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bnctabledlg.cpp

    r1349 r1350  
    7474  _casterPasswordLineEdit->setEchoMode(QLineEdit::Password);
    7575
     76  _ntripVersionComboBox = new QComboBox();
     77  _ntripVersionComboBox->addItems(QString("1,2,AUTO").split(","));
     78  int kk = _ntripVersionComboBox->findText(settings.value("ntripVersion").toString());
     79  if (kk != -1) {
     80    _ntripVersionComboBox->setCurrentIndex(kk);
     81  }
     82
    7683  // WhatsThis
    7784  // ---------
     
    8693  editLayout->addWidget(new QLabel(tr("Caster port")), 0, 2);
    8794  editLayout->addWidget(_casterPortLineEdit,           0, 3);
     95  editLayout->addWidget(new QLabel(tr("NTRIP Version")), 0, 4);
     96  editLayout->addWidget(_ntripVersionComboBox,           0, 5);
    8897  editLayout->addWidget(new QLabel(tr("User")),        1, 0);
    8998  editLayout->addWidget(_casterUserLineEdit,           1, 1);
  • trunk/BNC/bnctabledlg.h

    r1273 r1350  
    5656    QLineEdit*   _casterUserLineEdit;
    5757    QLineEdit*   _casterPasswordLineEdit;
     58    QComboBox*   _ntripVersionComboBox;
    5859
    5960    QPushButton* _buttonSkl;
Note: See TracChangeset for help on using the changeset viewer.