X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=Client%2Fresultdialog.h;h=32818d307001c79c29b2c022a615157da37a1fc7;hb=650127cdd4d2a4f8c7ade0f227b0d3f11073e6bc;hp=d8ab72a194fc7478c1144919c50ebf3da9eebf85;hpb=2c79d9d6a47a811ca0f399b975f43fd28addaafe;p=speedfreak diff --git a/Client/resultdialog.h b/Client/resultdialog.h index d8ab72a..32818d3 100644 --- a/Client/resultdialog.h +++ b/Client/resultdialog.h @@ -1,3 +1,11 @@ +/* + * CarMainWindow main class + * + * @author Janne Änäkkälä + * @copyright (c) 2010 Speed Freak team + * @license http://opensource.org/licenses/gpl-license.php GNU Public License + */ + #ifndef RESULTDIALOG_H #define RESULTDIALOG_H @@ -14,6 +22,8 @@ public: ResultDialog(QWidget *parent = 0); ~ResultDialog(); void saveMeasuresToArray(Measures *pMeasures); + void setDiagramGapStem(double pDiagramGapStem); + void setDiagramGapHorizontal(double pDiagramGapHorizontal); signals: void sendresult(); @@ -24,10 +34,17 @@ protected: private: QPoint changeMeasuresToDiagramPoint(int aSpeed, qreal aTime); - qreal timeArray[10]; + void setTimesIntoLabels(); + void setTimeAxelLength(); private: Ui::ResultDialog *ui; + qreal timeArray[11]; + double diagramGapStem; + double diagramGapHorizontal; + QStringList speedList; + QStringList timeList; + int timeAxelLength; private slots: void on_pushButtonSend_clicked();