Changeset 8403 in ntrip for trunk/BNC/src/pppWidgets.cpp
- Timestamp:
- Jul 5, 2018, 12:51:40 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/pppWidgets.cpp
r8252 r8403 72 72 _nmeaPath = new QLineEdit(); _nmeaPath ->setObjectName("PPP/nmeaPath"); _widgets << _nmeaPath; 73 73 _snxtroPath = new QLineEdit(); _snxtroPath ->setObjectName("PPP/snxtroPath"); _widgets << _snxtroPath; 74 _snxtroSampl = new Q SpinBox(); _snxtroSampl->setObjectName("PPP/snxtroSampl"); _widgets << _snxtroSampl;74 _snxtroSampl = new QComboBox(); _snxtroSampl->setObjectName("PPP/snxtroSampl"); _widgets << _snxtroSampl; 75 75 _snxtroIntr = new QComboBox(); _snxtroIntr ->setObjectName("PPP/snxtroIntr"); _widgets << _snxtroIntr; 76 76 _snxtroAc = new QLineEdit(); _snxtroAc ->setObjectName("PPP/snxtroAc"); _widgets << _snxtroAc; … … 151 151 #endif 152 152 153 _snxtroSampl->setMinimum(0); 154 _snxtroSampl->setMaximum(300); 155 _snxtroSampl->setSingleStep(30); 156 _snxtroSampl->setSuffix(" sec"); 153 _snxtroSampl->setEditable(false); 154 _snxtroSampl->addItems(QString("1 sec,5 sec,10 sec,30 sec,60 sec,300 sec").split(",")); 157 155 158 156 _snxtroIntr->setEditable(false); … … 368 366 _minEle->setValue(settings.value(_minEle->objectName()).toInt()); 369 367 _corrWaitTime->setValue(settings.value(_corrWaitTime->objectName()).toInt()); 370 _snxtroSampl->setValue(settings.value(_snxtroSampl->objectName()).toInt()); 368 369 370 ii = _snxtroSampl->findText(settings.value(_snxtroSampl->objectName()).toString()); 371 if (ii != -1) { 372 _snxtroSampl->setCurrentIndex(ii); 373 } 371 374 372 375 // Table with stations … … 421 424 settings.setValue(_nmeaPath ->objectName(), _nmeaPath ->text()); 422 425 settings.setValue(_snxtroPath ->objectName(), _snxtroPath ->text()); 423 settings.setValue(_snxtroSampl ->objectName(), _snxtroSampl -> value());426 settings.setValue(_snxtroSampl ->objectName(), _snxtroSampl ->currentText()); 424 427 settings.setValue(_snxtroIntr ->objectName(), _snxtroIntr ->currentText()); 425 428 settings.setValue(_snxtroAc ->objectName(), _snxtroAc ->text());
Note:
See TracChangeset
for help on using the changeset viewer.