Added measures.h and measures.cpp files. Changed resultdialog.h, .cpp and measuredial...
[speedfreak] / Client / resultdialog.h
1 #ifndef RESULTDIALOG_H
2 #define RESULTDIALOG_H
3
4 #include <QDialog>
5 #include "measures.h"
6
7 namespace Ui {
8     class ResultDialog;
9 }
10
11 class ResultDialog : public QDialog {
12     Q_OBJECT
13 public:
14     ResultDialog(QWidget *parent = 0);
15     ~ResultDialog();
16     void saveMeasuresToArray(Measures *pMeasures);
17
18 protected:
19     void changeEvent(QEvent *e);
20     void paintEvent(QPaintEvent *);
21
22 private:
23     QPoint changeMeasuresToDiagramPoint(int aSpeed, qreal aTime);
24     qreal timeArray[10];
25
26 private:
27     Ui::ResultDialog *ui;
28 };
29
30 #endif // RESULTDIALOG_H