New background and button picture.
[speedfreak] / Client / accelerationstart.h
1 /*
2  * Acceleration start dialog
3  *
4  * @author      Jukka Kurttila <jukka.kurttila@fudeco.com>
5  * @copyright   (c) 2010 Speed Freak team
6  * @license     http://opensource.org/licenses/gpl-license.php GNU Public License
7  */
8 #ifndef ACCELERATIONSTART_H
9 #define ACCELERATIONSTART_H
10
11 #include <QDialog>
12 #include "accrealtimedialog.h"
13
14 namespace Ui {
15     class accelerationstart;
16 }
17
18 class accelerationstart : public QDialog {
19     Q_OBJECT
20 public:
21     accelerationstart(QWidget *parent = 0);
22     ~accelerationstart();
23     QString getMeasureCategory();
24
25 protected:
26     void changeEvent(QEvent *e);
27
28 private:
29     Ui::accelerationstart *ui;
30     AccRealTimeDialog* accRealTimeDialog;
31     double stopMeasureSpeed;
32     QString measureCategory;
33
34 private slots:
35     void on_categorComboBox_currentIndexChanged(int index);
36     void on_buttonStart_clicked();
37     void on_buttonCalib_clicked();
38 };
39
40 #endif // ACCELERATIONSTART_H