projects
/
speedfreak
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implementd user name in window title
[speedfreak]
/
Client
/
measuredialog.h
diff --git
a/Client/measuredialog.h
b/Client/measuredialog.h
index
b33450a
..
399522d
100644
(file)
--- a/
Client/measuredialog.h
+++ b/
Client/measuredialog.h
@@
-1,7
+1,16
@@
+/*
+ * 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 MEASUREDIALOG_H
#define MEASUREDIALOG_H
#include "accelerometer.h"
#ifndef MEASUREDIALOG_H
#define MEASUREDIALOG_H
#include "accelerometer.h"
+#include "measures.h"
#include <QDialog>
#include <QTimer>
#include <QDialog>
#include <QTimer>
@@
-14,7
+23,8
@@
class MeasureDialog : public QDialog {
public:
MeasureDialog(QWidget *parent = 0);
~MeasureDialog();
public:
MeasureDialog(QWidget *parent = 0);
~MeasureDialog();
-
+ Measures *measures;
+ void initializeMeasures();
protected:
void changeEvent(QEvent *e);
protected:
void changeEvent(QEvent *e);
@@
-24,9
+34,8
@@
private:
QTimer *timer;
Accelerometer *accelerometer;
QTimer *timer;
Accelerometer *accelerometer;
-
- int time;
- qreal speed;
+ double time;
+ double speed;
signals:
void speedAchieved();
signals:
void speedAchieved();