mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-03 06:35:08 -04:00
Added icons for the Channel TreeWidget
Added placeholder text for Search Filter items on Group TreeWidget Added placeholder text for Search Filter items in Messages Dialog git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5746 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
bfe037e029
commit
aadb408533
8 changed files with 24 additions and 12 deletions
|
@ -48,6 +48,12 @@
|
|||
|
||||
#define WARNING_LIMIT 3600*24*2
|
||||
|
||||
/* Images for TreeWidget */
|
||||
#define IMAGE_CHANNELBLUE ":/images/channelsblue.png"
|
||||
#define IMAGE_CHANNELGREEN ":/images/channelsgreen.png"
|
||||
#define IMAGE_CHANNELRED ":/images/channelsred.png"
|
||||
#define IMAGE_CHANNELYELLOW ":/images/channelsyellow.png"
|
||||
|
||||
/****
|
||||
* #define CHAN_DEBUG
|
||||
***/
|
||||
|
@ -80,10 +86,10 @@ ChannelFeed::ChannelFeed(QWidget *parent)
|
|||
/* Initialize group tree */
|
||||
treeWidget->initDisplayMenu(displayButton);
|
||||
|
||||
ownChannels = treeWidget->addCategoryItem(tr("Own Channels"), QIcon(), true);
|
||||
subcribedChannels = treeWidget->addCategoryItem(tr("Subscribed Channels"), QIcon(), true);
|
||||
popularChannels = treeWidget->addCategoryItem(tr("Popular Channels"), QIcon(), false);
|
||||
otherChannels = treeWidget->addCategoryItem(tr("Other Channels"), QIcon(), false);
|
||||
ownChannels = treeWidget->addCategoryItem(tr("Own Channels"), QIcon(IMAGE_CHANNELBLUE), true);
|
||||
subcribedChannels = treeWidget->addCategoryItem(tr("Subscribed Channels"), QIcon(IMAGE_CHANNELRED), true);
|
||||
popularChannels = treeWidget->addCategoryItem(tr("Popular Channels"), QIcon(IMAGE_CHANNELGREEN ), false);
|
||||
otherChannels = treeWidget->addCategoryItem(tr("Other Channels"), QIcon(IMAGE_CHANNELYELLOW), false);
|
||||
|
||||
progressLabel->hide();
|
||||
progressBar->hide();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue