little improvements for Channels and Forums Design

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1977 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2010-01-05 01:49:58 +00:00
parent 2f9f390dbf
commit c9e5e72edd
4 changed files with 399 additions and 95 deletions

View file

@ -80,7 +80,7 @@ ForumsDialog::ForumsDialog(QWidget *parent)
connect( ui.forumTreeWidget, SIGNAL( customContextMenuRequested( QPoint ) ), this, SLOT( forumListCustomPopupMenu( QPoint ) ) );
connect( ui.threadTreeWidget, SIGNAL( customContextMenuRequested( QPoint ) ), this, SLOT( threadListCustomPopupMenu( QPoint ) ) );
connect(ui.newForumButton, SIGNAL(clicked()), this, SLOT(newforum()));
connect(ui.actionCreate_Forum, SIGNAL(triggered()), this, SLOT(newforum()));
connect(ui.newmessageButton, SIGNAL(clicked()), this, SLOT(createmessage()));
connect(ui.newthreadButton, SIGNAL(clicked()), this, SLOT(showthread()));
@ -118,6 +118,11 @@ ForumsDialog::ForumsDialog(QWidget *parent)
ui.threadTitle->setFont(mForumNameFont);
loadForumEmoticons();
QMenu *forummenu = new QMenu();
forummenu->addAction(ui.actionCreate_Forum);
forummenu->addSeparator();
ui.forumpushButton->setMenu(forummenu);
/* Hide platform specific features */