Changeset 5226 in ntrip


Ignore:
Timestamp:
Jun 16, 2013, 3:56:55 PM (9 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bncwindow.cpp

    r5225 r5226  
    10721072  _mapSpeedSlider = new QSlider;
    10731073  _mapSpeedSlider->setOrientation(Qt::Horizontal);
     1074  _mapSpeedSlider->setRange(1, 10);
     1075  int speed = settings.value("mapSpeed").toInt();
     1076  if (speed == 0) speed = _mapSpeedSlider->maximum();
     1077  _mapSpeedSlider->setSliderPosition(speed);
    10741078  ppp3LayoutHlp2->addWidget(new QLabel("Speed"));
    10751079  ppp3LayoutHlp2->addWidget(_mapSpeedSlider);
     
    19051909  settings.setValue("useOsmMap",          _osmRadioButton->isChecked());
    19061910  settings.setValue("mapWinTrace",        _mapWinTraceCheckBox->checkState());
     1911  settings.setValue("mapSpeed",           _mapSpeedSlider->value());
    19071912  settings.setValue("postObsFile",  _postObsFileChooser->fileName());
    19081913  settings.setValue("postNavFile",  _postNavFileChooser->fileName());
     
    25232528    enableWidget(enable, _osmRadioButton);
    25242529    enableWidget(enable, _mapWinTraceCheckBox);
     2530    enableWidget(enable, _mapSpeedSlider);
    25252531    enableWidget(enable, _pppEstTropoCheckBox);
    25262532//  enableWidget(enable, _pppGLONASSCheckBox);
Note: See TracChangeset for help on using the changeset viewer.