ce4a6a5a4b7ec8833c438f812eff0a41a2df859c
[speedfreak] / Client / routedialog.h
1 #ifndef ROUTEDIALOG_H
2 #define ROUTEDIALOG_H
3
4 #include <QDialog>
5
6 namespace Ui {
7     class RouteDialog;
8 }
9
10 class RouteDialog : public QDialog {
11     Q_OBJECT
12 public:
13     RouteDialog(QWidget *parent = 0);
14     ~RouteDialog();
15     bool readRouteFromFile( QString &routeFile);
16
17 protected:
18     void changeEvent(QEvent *e);
19     void paintEvent(QPaintEvent *);
20
21 private:
22     Ui::RouteDialog *ui;
23     int left, top, right, bottom;       // Limits in screen coordinates in route dialog
24
25 private slots:
26     void on_closePushButton_clicked();
27 };
28
29 #endif // ROUTEDIALOG_H