X-Git-Url: http://git.maemo.org/git/?p=speedfreak;a=blobdiff_plain;f=Client%2Fresultdialog.h;h=752b7905f49619aa2f7204e8e93b99af1c8a9d95;hp=6f19c38f0acf406e8533979162266d053e31ee70;hb=04e7348e047307f792f88b7a3e198a008eef0e8b;hpb=8c9820474eea3f55f92e183fdc15d534322bb06f diff --git a/Client/resultdialog.h b/Client/resultdialog.h index 6f19c38..752b790 100644 --- a/Client/resultdialog.h +++ b/Client/resultdialog.h @@ -1,7 +1,8 @@ /* - * CarMainWindow main class + * Result dialog * - * @author Janne Änäkkälä + * @author Janne Änäkkälä + * @author Toni Jussila * @copyright (c) 2010 Speed Freak team * @license http://opensource.org/licenses/gpl-license.php GNU Public License */ @@ -10,7 +11,8 @@ #define RESULTDIALOG_H #include -//#include "measures.h" +#include + namespace Ui { class ResultDialog; @@ -21,12 +23,16 @@ class ResultDialog : public QDialog { public: ResultDialog(QWidget *parent = 0); ~ResultDialog(); + HelpAccelerationDialog *helpAccelerationDialog; void setEnd(int pValue); void setValue(int pSpeed, double pTime); + void setLabelInfoToUser(QString infoText); + double getResult(); + void setSendServerButtonEnabled(); signals: - void sendresult(double result); + void sendresult(double); protected: void changeEvent(QEvent *e); @@ -51,8 +57,10 @@ private: QString resultString; private slots: + void on_pushButtonInfo_clicked(); void on_pushButtonNew_clicked(); void on_pushButtonSend_clicked(); + void killHelpDialog(); }; #endif // RESULTDIALOG_H