+ if(!resultDialog)
+ {
+ resultDialog = new ResultDialog(this);
+ connect(resultDialog, SIGNAL(rejected()), this, SLOT(killResultDialog()));
+ connect(resultDialog, SIGNAL(sendresult(double)), this, SLOT(sendResult(double)));
+ }
+ if(resultDialog)
+ {
+ resultDialog->setEnd(stopMeasureSpeed);
+ //Put all times from all speeds
+ QMap<int,double> tempMap = calculate->getValuesMap();
+
+ for( int i = 1 ; i <= tempMap.count() ; i++ )
+ {
+ resultDialog->setValue(i*10,tempMap[i*10]);
+ }
+ resultDialog->show();
+ this->hide();
+ }