+/*
+ * CarMainWindow main class
+ *
+ * @author Janne Änäkkälä <janne.anakkala@fudeco.com>
+ * @copyright (c) 2010 Speed Freak team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ */
+
#ifndef RESULTDIALOG_H
#define RESULTDIALOG_H
#include <QDialog>
+#include "measures.h"
namespace Ui {
class ResultDialog;
public:
ResultDialog(QWidget *parent = 0);
~ResultDialog();
+ void saveMeasuresToArray(Measures *pMeasures);
+
+signals:
+ void sendresult();
protected:
void changeEvent(QEvent *e);
void paintEvent(QPaintEvent *);
private:
- QPoint changeMeasuresToDiagramPoint(int aSpeed, int aTime);
+ QPoint changeMeasuresToDiagramPoint(int aSpeed, qreal aTime);
+ qreal timeArray[10];
private:
Ui::ResultDialog *ui;
+
+private slots:
+ void on_pushButtonSend_clicked();
};
#endif // RESULTDIALOG_H