mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-13 03:22:34 -04:00
Added for Create Channel the Channel Logo Button + Display
Added for Forums Collapse all/Expand all git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2079 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
c62daadacd
commit
98820697d4
4 changed files with 197 additions and 8 deletions
|
@ -178,11 +178,21 @@ void ForumsDialog::threadListCustomPopupMenu( QPoint point )
|
|||
|
||||
QAction *replyauthorAct = new QAction(QIcon(IMAGE_MESSAGEREPLY), tr( "Reply to Author" ), this );
|
||||
connect( replyauthorAct , SIGNAL( triggered() ), this, SLOT( replytomessage() ) );
|
||||
|
||||
QAction* expandAll = new QAction(tr( "Expand all" ), this );
|
||||
connect( expandAll , SIGNAL( triggered() ), ui.threadTreeWidget, SLOT (expandAll()) );
|
||||
|
||||
QAction* collapseAll = new QAction(tr( "Collapse all" ), this );
|
||||
connect( collapseAll , SIGNAL( triggered() ), ui.threadTreeWidget, SLOT(collapseAll()) );
|
||||
|
||||
|
||||
contextMnu.clear();
|
||||
contextMnu.addAction( replyAct);
|
||||
contextMnu.addAction( viewAct);
|
||||
contextMnu.addAction( replyauthorAct);
|
||||
contextMnu.addSeparator();
|
||||
contextMnu.addAction( expandAll);
|
||||
contextMnu.addAction( collapseAll);
|
||||
contextMnu.exec( mevent->globalPos() );
|
||||
|
||||
}
|
||||
|
@ -1040,7 +1050,7 @@ void ForumsDialog::replytomessage()
|
|||
}
|
||||
|
||||
fId = mCurrForumId;
|
||||
pId = mCurrPostId;
|
||||
pId = mCurrPostId;
|
||||
|
||||
ForumMsgInfo msgInfo ;
|
||||
rsForums->getForumMessage(fId,pId,msgInfo) ;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue