mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-08 22:32:34 -04:00
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:
parent
2f9f390dbf
commit
c9e5e72edd
4 changed files with 399 additions and 95 deletions
|
@ -47,7 +47,7 @@ ChannelFeed::ChannelFeed(QWidget *parent)
|
|||
/* Invoke the Qt Designer generated object setup routine */
|
||||
setupUi(this);
|
||||
|
||||
connect(chanButton, SIGNAL(clicked()), this, SLOT(createChannel()));
|
||||
connect(actionCreate_Channel, SIGNAL(triggered()), this, SLOT(createChannel()));
|
||||
connect(postButton, SIGNAL(clicked()), this, SLOT(sendMsg()));
|
||||
connect(subscribeButton, SIGNAL( clicked( void ) ), this, SLOT( subscribeChannel ( void ) ) );
|
||||
connect(unsubscribeButton, SIGNAL( clicked( void ) ), this, SLOT( unsubscribeChannel ( void ) ) );
|
||||
|
@ -171,6 +171,11 @@ ChannelFeed::ChannelFeed(QWidget *parent)
|
|||
item2->setForeground(QBrush(QColor(79, 79, 79)));
|
||||
item3->setForeground(QBrush(QColor(79, 79, 79)));
|
||||
item4->setForeground(QBrush(QColor(79, 79, 79)));
|
||||
|
||||
QMenu *channelmenu = new QMenu();
|
||||
channelmenu->addAction(actionCreate_Channel);
|
||||
channelmenu->addSeparator();
|
||||
channelpushButton->setMenu(channelmenu);
|
||||
|
||||
|
||||
QTimer *timer = new QTimer(this);
|
||||
|
@ -718,3 +723,4 @@ void ChannelFeed::toggleSelection(const QModelIndex &index)
|
|||
if (index.child(0, 0).isValid())
|
||||
selectionModel->select(index, QItemSelectionModel::Toggle);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue