2 * CarMainWindow main class
4 * @author Janne Änäkkälä <janne.anakkala@fudeco.com>
5 * @author Toni Jussila <toni.jussila@fudeco.com>
6 * @copyright (c) 2010 Speed Freak team
7 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
10 #ifndef RESULTDIALOG_H
11 #define RESULTDIALOG_H
20 class ResultDialog : public QDialog {
23 ResultDialog(QWidget *parent = 0);
26 void setEnd(int pValue);
27 void setValue(int pSpeed, double pTime);
28 void setLabelInfoToUser(QString infoText);
32 void sendresult(double);
35 void changeEvent(QEvent *e);
36 void paintEvent(QPaintEvent *);
39 QPoint changeMeasuresToDiagramPoint(int aSpeed, qreal aTime);
40 void setTimesIntoLabels();
41 void setTimeAxelLength(int pChoice);
43 void showOrHideLabels();
44 int getTargetChoice();
49 double diagramGapStem;
50 double diagramGapHorizontal;
51 QStringList speedList;
57 void on_pushButtonNew_clicked();
58 void on_pushButtonSend_clicked();
61 #endif // RESULTDIALOG_H