Changeset 3469 in ntrip


Ignore:
Timestamp:
Oct 14, 2011, 4:11:08 PM (13 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncwindow.cpp

    r3367 r3469  
    483483  connect(_cmbTable, SIGNAL(itemSelectionChanged()),
    484484          SLOT(slotBncTextChanged()));
     485
     486  _cmbMethodComboBox = new QComboBox();
     487  _cmbMethodComboBox->setEditable(false);
     488  _cmbMethodComboBox->addItems(QString("Single-Epoch,Filter").split(","));
     489  int im = _cmbMethodComboBox->findText(settings.value("cmbMethod").toString());
     490  if (im != -1) {
     491    _cmbMethodComboBox->setCurrentIndex(im);
     492  }
    485493
    486494  // Upload Results
     
    984992  connect(addCmbRowButton, SIGNAL(clicked()), this, SLOT(slotAddCmbRow()));
    985993  cmbLayout->addWidget(delCmbRowButton,2,3);
     994  cmbLayout->addWidget(new QLabel("Method"), 3, 3);
     995  cmbLayout->addWidget(_cmbMethodComboBox,             3, 4, Qt::AlignRight);
    986996  cmbLayout->addWidget(new QLabel("Maximal Residuum"), 4, 3);
    987997  cmbLayout->addWidget(_cmbMaxresLineEdit,             4, 4, Qt::AlignRight);
     
    14711481  }
    14721482  settings.setValue("cmbMaxres", _cmbMaxresLineEdit->text());
     1483  settings.setValue("cmbMethod", _cmbMethodComboBox->currentText());
    14731484
    14741485  if (!uploadMountpointsOut.isEmpty()) {
  • trunk/BNC/bncwindow.h

    r3356 r3469  
    204204    QTableWidget* _cmbTable;
    205205    QLineEdit*    _cmbMaxresLineEdit;
     206    QComboBox*    _cmbMethodComboBox;
    206207
    207208    QTableWidget* _uploadTable;
Note: See TracChangeset for help on using the changeset viewer.