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);
30 void setSendServerButtonEnabled();
33 void sendresult(double);
36 void changeEvent(QEvent *e);
37 void paintEvent(QPaintEvent *);
40 QPoint changeMeasuresToDiagramPoint(int aSpeed, qreal aTime);
41 void setTimesIntoLabels();
42 void setTimeAxelLength(int pChoice);
44 void showOrHideLabels();
45 int getTargetChoice();
50 double diagramGapStem;
51 double diagramGapHorizontal;
52 QStringList speedList;
58 void on_pushButtonNew_clicked();
59 void on_pushButtonSend_clicked();
62 #endif // RESULTDIALOG_H