Added help and setting dialog's fonts changed bigger.
[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
32     double stopMeasureSpeed;
33     QString measureCategory;
34
35 private slots:
36     void on_categorComboBox_currentIndexChanged(int index);
37     void on_buttonStart_clicked();
38     void on_buttonCalib_clicked();
39     void sendResult(double);
40
41 signals:
42     void sendresult(QString, double);
43 };
44
45 #endif // ACCELERATIONSTART_H