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);
24 //void saveMeasuresToArray(Measures *pMeasures);
25 void setDiagramGapStem(double pDiagramGapStem);
26 void setDiagramGapHorizontal(double pDiagramGapHorizontal);
28 void setEnd(int pValue);
29 void setValue(int pSpeed, double pTime);
32 void sendresult(double result);
35 void changeEvent(QEvent *e);
36 void paintEvent(QPaintEvent *);
39 QPoint changeMeasuresToDiagramPoint(int aSpeed, qreal aTime);
40 void setTimesIntoLabels();
41 void setTimeAxelLength();
46 double diagramGapStem;
47 double diagramGapHorizontal;
48 QStringList speedList;
53 void on_pushButtonNew_clicked();
54 void on_pushButtonSend_clicked();
57 #endif // RESULTDIALOG_H