Added new images for route to cursor and clear route buttons
[situare] / src / ui / routingpanel.cpp
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);