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);
27 void setLabelInfoToUser(QString infoText);
30 void sendresult(double);
33 void changeEvent(QEvent *e);
34 void paintEvent(QPaintEvent *);
37 QPoint changeMeasuresToDiagramPoint(int aSpeed, qreal aTime);
38 void setTimesIntoLabels();
39 void setTimeAxelLength(int pChoice);
41 void showOrHideLabels();
42 int getTargetChoice();
47 double diagramGapStem;
48 double diagramGapHorizontal;
49 QStringList speedList;
55 void on_pushButtonNew_clicked();
56 void on_pushButtonSend_clicked();
59 #endif // RESULTDIALOG_H