Added custom button for users dialog and changed place of www-button. Www-button...
[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 #include <helpaccelerationdialog.h>
15
16 namespace Ui {
17     class accelerationstart;
18 }
19
20 class accelerationstart : public QDialog {
21     Q_OBJECT
22 public:
23     accelerationstart(QWidget *parent = 0);
24     ~accelerationstart();
25     AccRealTimeDialog* accRealTimeDialog;
26     QString getMeasureCategory();
27     HelpAccelerationDialog *helpAccelerationDialog;
28
29 protected:
30     void changeEvent(QEvent *e);
31
32 private:
33     Ui::accelerationstart *ui;
34
35     double stopMeasureSpeed;
36     QString measureCategory;
37
38 private slots:
39     void on_pushButtonInfo_clicked();
40     void on_categorComboBox_currentIndexChanged(int index);
41     void on_buttonStart_clicked();
42     void on_buttonCalib_clicked();
43     void sendResult(double);
44     void killHelpDialog();
45
46 signals:
47     void sendresult(QString, double);
48 };
49
50 #endif // ACCELERATIONSTART_H