29         connect(
ui.sliderMotor1Speed, SIGNAL(valueChanged(
int)), 
ui.spinBoxMotor1Speed, SLOT(setValue(
int)));
 
   30         connect(
ui.sliderMotor2Speed, SIGNAL(valueChanged(
int)), 
ui.spinBoxMotor2Speed, SLOT(setValue(
int)));
 
   31         connect(
ui.sliderMotor3Speed, SIGNAL(valueChanged(
int)), 
ui.spinBoxMotor3Speed, SLOT(setValue(
int)));
 
   32         connect(
ui.sliderMotor4Speed, SIGNAL(valueChanged(
int)), 
ui.spinBoxMotor4Speed, SLOT(setValue(
int)));
 
   34         connect(
ui.spinBoxMotor1Speed, SIGNAL(valueChanged(
int)), 
ui.sliderMotor1Speed, SLOT(setValue(
int)));
 
   35         connect(
ui.spinBoxMotor2Speed, SIGNAL(valueChanged(
int)), 
ui.sliderMotor2Speed, SLOT(setValue(
int)));
 
   36         connect(
ui.spinBoxMotor3Speed, SIGNAL(valueChanged(
int)), 
ui.sliderMotor3Speed, SLOT(setValue(
int)));
 
   37         connect(
ui.spinBoxMotor4Speed, SIGNAL(valueChanged(
int)), 
ui.sliderMotor4Speed, SLOT(setValue(
int)));
 
   40         connect(
ui.sliderMaximumSpeed, SIGNAL(valueChanged(
int)), 
ui.spinBoxMaximumSpeed, SLOT(setValue(
int)));
 
   41         connect(
ui.sliderMinimumSpeed, SIGNAL(valueChanged(
int)), 
ui.spinBoxMinimumSpeed, SLOT(setValue(
int)));
 
   42         connect(
ui.sliderAllMotorsSpeed, SIGNAL(valueChanged(
int)), 
ui.spinBoxAllMotorsSpeed, SLOT(setValue(
int)));
 
   44         connect(
ui.spinBoxMaximumSpeed, SIGNAL(valueChanged(
int)), 
ui.sliderMaximumSpeed, SLOT(setValue(
int)));
 
   45         connect(
ui.spinBoxMinimumSpeed, SIGNAL(valueChanged(
int)), 
ui.sliderMinimumSpeed, SLOT(setValue(
int)));
 
   46         connect(
ui.spinBoxAllMotorsSpeed, SIGNAL(valueChanged(
int)), 
ui.sliderAllMotorsSpeed, SLOT(setValue(
int)));
 
   49         connect(
ui.sliderPassageWidth, SIGNAL(valueChanged(
int)), 
ui.spinBoxPassageWidth, SLOT(setValue(
int)));
 
   51         connect(
ui.spinBoxPassageWidth, SIGNAL(valueChanged(
int)), 
ui.sliderPassageWidth, SLOT(setValue(
int)));
 
   54         connect(
ui.sliderStraightForwardDeviation, SIGNAL(valueChanged(
int)), 
ui.spinBoxStraightForwardDeviation, SLOT(setValue(
int)));
 
   56         connect(
ui.spinBoxStraightForwardDeviation, SIGNAL(valueChanged(
int)), 
ui.sliderStraightForwardDeviation, SLOT(setValue(
int)));
 
   59         connect(
ui.sliderObstacleLaserScanner, SIGNAL(valueChanged(
int)), 
ui.spinBoxObstacleLaserScanner, SLOT(setValue(
int)));
 
   61         connect(
ui.spinBoxObstacleLaserScanner, SIGNAL(valueChanged(
int)), 
ui.sliderObstacleLaserScanner, SLOT(setValue(
int)));
 
   64         connect(
ui.sliderObstacle, SIGNAL(valueChanged(
int)), 
ui.spinBoxObstacle, SLOT(setValue(
int)));
 
   66         connect(
ui.spinBoxObstacle, SIGNAL(valueChanged(
int)), 
ui.sliderObstacle, SLOT(setValue(
int)));
 
   72         connect(
ui.sliderPassageWidth, SIGNAL(valueChanged(
int)), SIGNAL(
setPassageWidth(
int)));
 
   91                         return ui.sliderMotor1Speed->value();
 
   94                         return ui.sliderMotor2Speed->value();
 
  105         return ui.sliderMinimumSpeed->value();
 
  111         return ui.sliderMaximumSpeed->value();
 
  117         return ui.sliderObstacle->value();
 
  123         return ui.sliderObstacleLaserScanner->value();
 
  129         return ui.sliderPassageWidth->value();
 
  135         return ui.sliderStraightForwardDeviation->value();
 
  141         return ui.checkBoxSaveSettings->checkState();
 
  150                         ui.sliderMotor1Speed->setValue(value);
 
  151                         ui.spinBoxMotor1Speed->setValue(value);
 
  154                         ui.sliderMotor2Speed->setValue(value);
 
  155                         ui.spinBoxMotor2Speed->setValue(value);
 
  234         ui.sliderMinimumSpeed->setValue(speed);
 
  240         ui.sliderMaximumSpeed->setValue(speed);
 
  246         ui.sliderObstacle->setValue(value);
 
  252         ui.sliderObstacleLaserScanner->setValue(value);
 
  258         ui.sliderPassageWidth->setValue(width);
 
  264         ui.sliderStraightForwardDeviation->setValue(angle);
 
  270         ui.checkBoxSaveSettings->setCheckState(state);