mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-23 14:39:34 -05:00
added to forums some usefull icons
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@676 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
189dcbb482
commit
c410fc5fff
@ -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 */
|
||||
|
@ -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<QTreeWidgetItem *> 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);
|
||||
|
||||
|
@ -150,10 +150,12 @@
|
||||
<file>images/invite-friend24.png</file>
|
||||
<file>images/invitefriendlabel.png</file>
|
||||
<file>images/kbackgammon.png</file>
|
||||
<file>images/kblogger.png</file>
|
||||
<file>images/kdmconfig.png</file>
|
||||
<file>images/konsole.png</file>
|
||||
<file>images/konqsidebar_news24.png</file>
|
||||
<file>images/konversation.png</file>
|
||||
<file>images/konversation16.png</file>
|
||||
<file>images/ksysguard.png</file>
|
||||
<file>images/ktorrent.png</file>
|
||||
<file>images/ktorrent32.png</file>
|
||||
|
Loading…
Reference in New Issue
Block a user