2 * CarMainWindow main class
4 * @author Janne Änäkkälä <janne.anakkala@fudeco.com>
5 * @copyright (c) 2010 Speed Freak team
6 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
10 #define RESULTDIALOG_H
13 //#include "measures.h"
19 class ResultDialog : public QDialog {
22 ResultDialog(QWidget *parent = 0);
25 void setEnd(int pValue);
26 void setValue(int pSpeed, double pTime);
29 void sendresult(double result);
32 void changeEvent(QEvent *e);
33 void paintEvent(QPaintEvent *);
36 QPoint changeMeasuresToDiagramPoint(int aSpeed, qreal aTime);
37 void setTimesIntoLabels();
38 void setTimeAxelLength(int pChoice);
40 void showOrHideLabels();
41 int getTargetChoice();
46 double diagramGapStem;
47 double diagramGapHorizontal;
48 QStringList speedList;
54 void on_pushButtonNew_clicked();
55 void on_pushButtonSend_clicked();
58 #endif // RESULTDIALOG_H