X-Git-Url: http://git.maemo.org/git/?p=speedfreak;a=blobdiff_plain;f=Client%2Froutedialog.h;h=708e74a59f48f8425c881465345413a27fe12a99;hp=3386311488a0132dc1e79e0e2958d79bd01486f2;hb=4dad132ee89fdd68067a3cab27ecc095f0f863dc;hpb=9393cb324847eb03de0f95abcbe5da74e9d36370 diff --git a/Client/routedialog.h b/Client/routedialog.h index 3386311..708e74a 100644 --- a/Client/routedialog.h +++ b/Client/routedialog.h @@ -1,3 +1,11 @@ +/* + * RouteDialog class + * + * @author Olavi Pulkkinen + * @copyright (c) 2010 Speed Freak team + * @license http://opensource.org/licenses/gpl-license.php GNU Public License + */ + #ifndef ROUTEDIALOG_H #define ROUTEDIALOG_H @@ -12,12 +20,27 @@ class RouteDialog : public QDialog { public: RouteDialog(QWidget *parent = 0); ~RouteDialog(); + bool readRouteFromFile( QString &routeFile); + int getLeft(); + int getTop(); + int getRight(); + int getBottom(); + void setLabelInfoToUser(QString infoText); + +signals: + void sendroute(); protected: void changeEvent(QEvent *e); + void paintEvent(QPaintEvent *); private: Ui::RouteDialog *ui; + int left, top, right, bottom; // Limits in screen coordinates in route dialog + +private slots: + void on_sendPushButton_clicked(); + void on_newPushButton_clicked(); }; #endif // ROUTEDIALOG_H