Conflict
[speedfreak] / Client / accelerationstart.h
1 /*
2  * Acceleration start dialog
3  *
4  * @author      Jukka Kurttila  <jukka.kurttila@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
8  */
9 #ifndef ACCELERATIONSTART_H
10 #define ACCELERATIONSTART_H
11
12 #include <QDialog>
13 #include "accrealtimedialog.h"
14
15 namespace Ui {
16     class accelerationstart;
17 }
18
19 class accelerationstart : public QDialog {
20     Q_OBJECT
21 public:
22     accelerationstart(QWidget *parent = 0);
23     ~accelerationstart();
24     AccRealTimeDialog* accRealTimeDialog;
25     QString getMeasureCategory();
26
27 protected:
28     void changeEvent(QEvent *e);
29
30 private:
31     Ui::accelerationstart *ui;
32
33     double stopMeasureSpeed;
34     QString measureCategory;
35
36 private slots:
37     void on_categorComboBox_currentIndexChanged(int index);
38     void on_buttonStart_clicked();
39     void on_buttonCalib_clicked();
40     void sendResult(double);
41
42 signals:
43     void sendresult(QString, double);
44 };
45
46 #endif // ACCELERATIONSTART_H