Youtube video and text (draft).
[speedfreak] / Client / routedialog.h
index ce4a6a5..708e74a 100644 (file)
@@ -1,3 +1,11 @@
+/*
+ * RouteDialog class
+ *
+ * @author     Olavi Pulkkinen <olavi.pulkkinen@fudeco.com>
+ * @copyright  (c) 2010 Speed Freak team
+ * @license    http://opensource.org/licenses/gpl-license.php GNU Public License
+ */
+
 #ifndef ROUTEDIALOG_H
 #define ROUTEDIALOG_H
 
@@ -13,6 +21,14 @@ 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);
@@ -23,7 +39,8 @@ private:
     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