Added quick & dirty buttons for friend list filtering and route to friend
authorPekka Nissinen <pekka.nissinen@ixonos.com>
Tue, 31 Aug 2010 08:51:50 +0000 (11:51 +0300)
committerPekka Nissinen <pekka.nissinen@ixonos.com>
Tue, 31 Aug 2010 08:51:50 +0000 (11:51 +0300)
images.qrc
res/images/filtered.png
res/images/filtered_d.png [new file with mode: 0644]
res/images/filtered_s.png
res/images/route_to_friend.png
res/images/route_to_friend_d.png [new file with mode: 0644]
res/images/route_to_friend_s.png
src/ui/friendlistpanel.cpp

index 11917e1..7c7f5f9 100644 (file)
@@ -16,6 +16,7 @@
         <file>res/images/compass.png</file>
         <file>res/images/envelope.png</file>
         <file>res/images/filtered.png</file>
+        <file>res/images/filtered_d.png</file>
         <file>res/images/filtered_s.png</file>
         <file>res/images/friend_group.png</file>
         <file>res/images/friend_list.png</file>
@@ -41,6 +42,7 @@
         <file>res/images/rocket_icon_gray.png</file>
         <file>res/images/routing.png</file>
         <file>res/images/route_to_friend.png</file>
+        <file>res/images/route_to_friend_d.png</file>
         <file>res/images/route_to_friend_s.png</file>
         <file>res/images/route_to_location.png</file>
         <file>res/images/route_to_location_s.png</file>
index ec3f00a..75f043f 100644 (file)
Binary files a/res/images/filtered.png and b/res/images/filtered.png differ
diff --git a/res/images/filtered_d.png b/res/images/filtered_d.png
new file mode 100644 (file)
index 0000000..645a711
Binary files /dev/null and b/res/images/filtered_d.png differ
index ef663fb..e01b26f 100644 (file)
Binary files a/res/images/filtered_s.png and b/res/images/filtered_s.png differ
index be6ec9a..3bb5f12 100644 (file)
Binary files a/res/images/route_to_friend.png and b/res/images/route_to_friend.png differ
diff --git a/res/images/route_to_friend_d.png b/res/images/route_to_friend_d.png
new file mode 100644 (file)
index 0000000..28eb8bb
Binary files /dev/null and b/res/images/route_to_friend_d.png differ
index 9db8f32..8461860 100644 (file)
Binary files a/res/images/route_to_friend_s.png and b/res/images/route_to_friend_s.png differ
index 9c1b6c9..3dfd9e5 100644 (file)
@@ -119,13 +119,15 @@ FriendListPanel::FriendListPanel(QWidget *parent)
 
     // --- CONTEXT BUTTONS ---
     m_routeButton = new ImageButton(":res/images/route_to_friend.png",
-                                    ":res/images/route_to_friend_s.png", "", this);
+                                    ":res/images/route_to_friend_s.png",
+                                    ":res/images/route_to_friend_d.png", this);
     m_routeButton->setDisabled(true);
     connect(m_routeButton, SIGNAL(clicked()),
             this, SLOT(routeToSelectedFriend()));
 
     m_clearGroupFilteringButton = new ImageButton(":res/images/filtered.png",
-                                                  ":res/images/filtered_s.png", "", this);
+                                                  ":res/images/filtered_s.png",
+                                                  ":res/images/filtered_d.png", this);
     m_clearGroupFilteringButton->setCheckable(true);
     m_clearGroupFilteringButton->setDisabled(true);
     connect(m_clearGroupFilteringButton, SIGNAL(clicked()),