X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=Client%2Froutedialog.h;h=bea6150632edcff77237b13fbf78eab92055b1dc;hb=369b8cc7f1a9417c6b0c525903d083da3849466b;hp=333b0972bddac291cf8a1fae9995d5c0a8810e3c;hpb=e5596c8e8492c120bb15c404d3e0142061ad09ab;p=speedfreak diff --git a/Client/routedialog.h b/Client/routedialog.h index 333b097..bea6150 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,15 +20,23 @@ class RouteDialog : public QDialog { public: RouteDialog(QWidget *parent = 0); ~RouteDialog(); + bool readRouteFromFile( QString &routeFile); + int getLeft(); + int getTop(); + int getRight(); + int getBottom(); 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_closePushButton_clicked(); + void on_sendPushButton_clicked(); + void on_newPushButton_clicked(); }; #endif // ROUTEDIALOG_H