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
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);
34 void changeEvent(QEvent *e);
35 void paintEvent(QPaintEvent *);
38 QPoint changeMeasuresToDiagramPoint(int aSpeed, qreal aTime);
39 void setTimesIntoLabels();
40 void setTimeAxelLength(int pChoice);
42 void showOrHideLabels();
43 int getTargetChoice();
48 double diagramGapStem;
49 double diagramGapHorizontal;
50 QStringList speedList;
56 void on_pushButtonNew_clicked();
57 void on_pushButtonSend_clicked();
60 #endif // RESULTDIALOG_H