diff --git a/retroshare-gui/src/gui/ApplicationWindow.cpp b/retroshare-gui/src/gui/ApplicationWindow.cpp index 3aa81d38f..a14325d07 100644 --- a/retroshare-gui/src/gui/ApplicationWindow.cpp +++ b/retroshare-gui/src/gui/ApplicationWindow.cpp @@ -65,7 +65,7 @@ #define IMAGE_SEARCH ":/images/filefind.png" #define IMAGE_TRANSFERS ":/images/ktorrent.png" #define IMAGE_FILES ":/images/folder_green.png" -#define IMAGE_FORUMS ":/images/user/agt_forum24.png" +#define IMAGE_FORUMS ":/images/konversation.png" #define IMAGE_CHANNELS ":/images/channels.png" #define IMAGE_PREFERENCES ":/images/settings16.png" #define IMAGE_CHAT ":/images/chats_24x24.png" @@ -83,7 +83,7 @@ #define IMAGE_NEWSFEED ":/images/konqsidebar_news24.png" #define IMAGE_LINKS ":/images/ktorrent.png" #define IMAGE_MESSAGES ":/images/evolution.png" -#define IMAGE_BLOGS ":/images/konversation.png" +#define IMAGE_BLOGS ":/images/kblogger.png" /* Keys for UI Preferences */ diff --git a/retroshare-gui/src/gui/ForumsDialog.cpp b/retroshare-gui/src/gui/ForumsDialog.cpp index 666f6dad7..67f6dc0d2 100644 --- a/retroshare-gui/src/gui/ForumsDialog.cpp +++ b/retroshare-gui/src/gui/ForumsDialog.cpp @@ -49,6 +49,9 @@ #define IMAGE_DOWNLOAD ":/images/start.png" #define IMAGE_DOWNLOADALL ":/images/startall.png" +/* Images for TreeWidget */ +#define IMAGE_FOLDER ":/images/folder16.png" +#define IMAGE_FORUM ":/images/konversation16.png" /** Constructor */ ForumsDialog::ForumsDialog(QWidget *parent) @@ -349,6 +352,7 @@ void ForumsDialog::insertForums() // Id. item -> setText(4, QString::fromStdString(it->forumId)); AdminList.append(item); + item -> setIcon(0,(QIcon(IMAGE_FORUM))); } else if (flags & RS_DISTRIB_SUBSCRIBED) { @@ -382,6 +386,7 @@ void ForumsDialog::insertForums() // Id. item -> setText(4, QString::fromStdString(it->forumId)); SubList.append(item); + item -> setIcon(0,(QIcon(IMAGE_FORUM))); } else { @@ -452,10 +457,12 @@ void ForumsDialog::insertForums() if (it->pop < popLimit) { OtherList.append(item); + item -> setIcon(0,(QIcon(IMAGE_FORUM))); } else { PopList.append(item); + item -> setIcon(0,(QIcon(IMAGE_FORUM))); } } } @@ -464,21 +471,25 @@ void ForumsDialog::insertForums() QList TopList; QTreeWidgetItem *item = new QTreeWidgetItem((QTreeWidget*)0); item -> setText(0, tr("Your Forums")); + item -> setIcon(0,(QIcon(IMAGE_FOLDER))); item -> addChildren(AdminList); TopList.append(item); item = new QTreeWidgetItem((QTreeWidget*)0); item -> setText(0, tr("Subscribed Forums")); + item -> setIcon(0,(QIcon(IMAGE_FOLDER))); item -> addChildren(SubList); TopList.append(item); item = new QTreeWidgetItem((QTreeWidget*)0); item -> setText(0, tr("Popular Forums")); + item -> setIcon(0,(QIcon(IMAGE_FOLDER))); item -> addChildren(PopList); TopList.append(item); item = new QTreeWidgetItem((QTreeWidget*)0); item -> setText(0, tr("Other Forums")); + item -> setIcon(0,(QIcon(IMAGE_FOLDER))); item -> addChildren(OtherList); TopList.append(item); diff --git a/retroshare-gui/src/gui/images.qrc b/retroshare-gui/src/gui/images.qrc index fb4f00ff4..f86e39e9f 100644 --- a/retroshare-gui/src/gui/images.qrc +++ b/retroshare-gui/src/gui/images.qrc @@ -150,10 +150,12 @@ images/invite-friend24.png images/invitefriendlabel.png images/kbackgammon.png + images/kblogger.png images/kdmconfig.png images/konsole.png images/konqsidebar_news24.png images/konversation.png + images/konversation16.png images/ksysguard.png images/ktorrent.png images/ktorrent32.png