Added new images for route to cursor and clear route buttons
authorPekka Nissinen <pekka.nissinen@ixonos.com>
Thu, 9 Sep 2010 00:10:00 +0000 (03:10 +0300)
committerPekka Nissinen <pekka.nissinen@ixonos.com>
Thu, 9 Sep 2010 00:10:00 +0000 (03:10 +0300)
images.qrc
res/images/clear_route.png [new file with mode: 0755]
res/images/clear_route_d.png [new file with mode: 0755]
res/images/clear_route_s.png [new file with mode: 0755]
res/images/route_to_cursor.png [new file with mode: 0755]
res/images/route_to_cursor_d.png [new file with mode: 0755]
res/images/route_to_cursor_s.png [new file with mode: 0755]
src/ui/routingpanel.cpp

index e671c06..a606356 100644 (file)
@@ -16,6 +16,9 @@
         <file>res/images/back_s.png</file>
         <file>res/images/calendar.png</file>
         <file>res/images/car_icon_gray.png</file>
+        <file>res/images/clear_route.png</file>
+        <file>res/images/clear_route_d.png</file>
+        <file>res/images/clear_route_s.png</file>
         <file>res/images/clock.png</file>
         <file>res/images/compass.png</file>
         <file>res/images/contact.png</file>
@@ -51,6 +54,9 @@
         <file>res/images/refresh_s.png</file>
         <file>res/images/rocket_icon_gray.png</file>
         <file>res/images/routing.png</file>
+        <file>res/images/route_to_cursor.png</file>
+        <file>res/images/route_to_cursor_d.png</file>
+        <file>res/images/route_to_cursor_s.png</file>
         <file>res/images/route_to_friend.png</file>
         <file>res/images/route_to_friend_s.png</file>
         <file>res/images/route_to_location.png</file>
diff --git a/res/images/clear_route.png b/res/images/clear_route.png
new file mode 100755 (executable)
index 0000000..c6dabbd
Binary files /dev/null and b/res/images/clear_route.png differ
diff --git a/res/images/clear_route_d.png b/res/images/clear_route_d.png
new file mode 100755 (executable)
index 0000000..d1198b2
Binary files /dev/null and b/res/images/clear_route_d.png differ
diff --git a/res/images/clear_route_s.png b/res/images/clear_route_s.png
new file mode 100755 (executable)
index 0000000..6241871
Binary files /dev/null and b/res/images/clear_route_s.png differ
diff --git a/res/images/route_to_cursor.png b/res/images/route_to_cursor.png
new file mode 100755 (executable)
index 0000000..eba54e3
Binary files /dev/null and b/res/images/route_to_cursor.png differ
diff --git a/res/images/route_to_cursor_d.png b/res/images/route_to_cursor_d.png
new file mode 100755 (executable)
index 0000000..97f2081
Binary files /dev/null and b/res/images/route_to_cursor_d.png differ
diff --git a/res/images/route_to_cursor_s.png b/res/images/route_to_cursor_s.png
new file mode 100755 (executable)
index 0000000..e0059c9
Binary files /dev/null and b/res/images/route_to_cursor_s.png differ
index 75d969b..bc93972 100644 (file)
@@ -63,13 +63,15 @@ RoutingPanel::RoutingPanel(QWidget *parent)
     setLayout(panelLayout);
 
     // --- CONTEXT BUTTONS ---
-    ImageButton *routeToCursorButton = new ImageButton(":res/images/sight.png",
-                                                       "", "", this);
+    ImageButton *routeToCursorButton = new ImageButton(":res/images/route_to_cursor.png",
+                                                       ":res/images/route_to_cursor_s.png",
+                                                       ":res/images/route_to_cursor_d.png", this);
     connect(routeToCursorButton, SIGNAL(clicked()),
             this, SIGNAL(routeToCursor()));
 
-    m_clearRouteButton = new ImageButton(":/res/images/gps_position.png",
-                                         "", "", this);
+    m_clearRouteButton = new ImageButton(":/res/images/clear_route.png",
+                                         ":/res/images/clear_route_s.png",
+                                         ":/res/images/clear_route_d.png", this);
     connect(m_clearRouteButton, SIGNAL(clicked()),
             this, SLOT(clearRouteButtonClicked()));
     m_clearRouteButton->setDisabled(true);