X-Git-Url: http://git.maemo.org/git/?p=speedfreak;a=blobdiff_plain;f=Client%2Fresultdialog.h;h=e8828c7cf95d26519739ed575b22bdb30324dbc4;hp=cf3cc400320abeb32b788e6eab10fe4c3117085f;hb=2def6ac6fbe568b654a15a6317f30c73969f1dad;hpb=61afa4c9acc74203ec203acaa9e64927ae73c83b diff --git a/Client/resultdialog.h b/Client/resultdialog.h index cf3cc40..e8828c7 100644 --- a/Client/resultdialog.h +++ b/Client/resultdialog.h @@ -21,15 +21,13 @@ class ResultDialog : public QDialog { public: ResultDialog(QWidget *parent = 0); ~ResultDialog(); - //void saveMeasuresToArray(Measures *pMeasures); - void setDiagramGapStem(double pDiagramGapStem); - void setDiagramGapHorizontal(double pDiagramGapHorizontal); void setEnd(int pValue); void setValue(int pSpeed, double pTime); + void setLabelInfoToUser(QString infoText); signals: - void sendresult(double result); + void sendresult(double); protected: void changeEvent(QEvent *e); @@ -38,7 +36,10 @@ protected: private: QPoint changeMeasuresToDiagramPoint(int aSpeed, qreal aTime); void setTimesIntoLabels(); - void setTimeAxelLength(); + void setTimeAxelLength(int pChoice); + void setHeaders(); + void showOrHideLabels(); + int getTargetChoice(); private: Ui::ResultDialog *ui; @@ -48,6 +49,7 @@ private: QStringList speedList; QStringList timeList; int timeAxelLength; + QString resultString; private slots: void on_pushButtonNew_clicked();