X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=Client%2Faccelerationstart.h;h=1f0dd47547ef640faf504e3021f2289dd417cbc1;hb=e1433788e9e93b87272527aae8670d38c1b18149;hp=e524f882acfc8788e928f725e558dfe792a8e71e;hpb=d1eaf0805e80ba0e9de04d6d91eca7f9dda769e7;p=speedfreak diff --git a/Client/accelerationstart.h b/Client/accelerationstart.h index e524f88..1f0dd47 100644 --- a/Client/accelerationstart.h +++ b/Client/accelerationstart.h @@ -1,7 +1,8 @@ /* * Acceleration start dialog * - * @author Jukka Kurttila + * @author Jukka Kurttila + * @author Toni Jussila * @copyright (c) 2010 Speed Freak team * @license http://opensource.org/licenses/gpl-license.php GNU Public License */ @@ -10,6 +11,7 @@ #include #include "accrealtimedialog.h" +#include namespace Ui { class accelerationstart; @@ -20,19 +22,29 @@ class accelerationstart : public QDialog { public: accelerationstart(QWidget *parent = 0); ~accelerationstart(); + AccRealTimeDialog* accRealTimeDialog; + QString getMeasureCategory(); + HelpAccelerationDialog *helpAccelerationDialog; protected: void changeEvent(QEvent *e); private: Ui::accelerationstart *ui; - AccRealTimeDialog* accRealTimeDialog; + double stopMeasureSpeed; + QString measureCategory; private slots: + void on_pushButtonInfo_clicked(); void on_categorComboBox_currentIndexChanged(int index); void on_buttonStart_clicked(); void on_buttonCalib_clicked(); + void sendResult(double); + void killHelpDialog(); + +signals: + void sendresult(QString, double); }; #endif // ACCELERATIONSTART_H