mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-23 16:21:29 -04:00
- Moved display button and new forum/channel button into GroupTreeWidget
- Fixed size of display button in FriendsDialog - Updated english translation git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6645 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
4ee3bec87e
commit
21eed4c956
13 changed files with 137 additions and 265 deletions
|
@ -75,7 +75,6 @@ GxsChannelDialog::GxsChannelDialog(QWidget *parent)
|
|||
|
||||
mChannelQueue = new TokenQueue(rsGxsChannels->getTokenService(), this);
|
||||
|
||||
connect(ui.newChannelButton, SIGNAL(clicked()), this, SLOT(createChannel()));
|
||||
connect(ui.postButton, SIGNAL(clicked()), this, SLOT(createMsg()));
|
||||
// connect(NotifyQt::getInstance(), SIGNAL(channelMsgReadSatusChanged(QString,QString,int)), this, SLOT(channelMsgReadSatusChanged(QString,QString,int)));
|
||||
|
||||
|
@ -93,7 +92,11 @@ GxsChannelDialog::GxsChannelDialog(QWidget *parent)
|
|||
ui.splitter->setSizes(sizes);
|
||||
|
||||
/* Initialize group tree */
|
||||
ui.treeWidget->initDisplayMenu(ui.displayButton);
|
||||
QToolButton *newChannelButton = new QToolButton(this);
|
||||
newChannelButton->setIcon(QIcon(":/images/add_channel24.png"));
|
||||
newChannelButton->setToolTip(tr("Create Channel"));
|
||||
connect(newChannelButton, SIGNAL(clicked()), this, SLOT(createChannel()));
|
||||
ui.treeWidget->addToolButton(newChannelButton);
|
||||
|
||||
ownChannels = ui.treeWidget->addCategoryItem(tr("My Channels"), QIcon(IMAGE_CHANNELBLUE), true);
|
||||
subcribedChannels = ui.treeWidget->addCategoryItem(tr("Subscribed Channels"), QIcon(IMAGE_CHANNELRED), true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue