mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-25 23:49:35 -05:00
removed column 1 and 2 of lobby lists. Put the info in tooltip => space gained. Enabled sorting in lobby list
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6244 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
bffef991d8
commit
ef240cc6f0
@ -97,6 +97,9 @@ ChatLobbyWidget::ChatLobbyWidget(QWidget *parent, Qt::WFlags flags)
|
||||
stackedWidget->addWidget(_lobby_blank_page) ;
|
||||
|
||||
lobbyTreeWidget->expandAll();
|
||||
lobbyTreeWidget->setColumnHidden(1,true) ;
|
||||
lobbyTreeWidget->setColumnHidden(2,true) ;
|
||||
lobbyTreeWidget->setSortingEnabled(true) ;
|
||||
|
||||
lobbyChanged();
|
||||
showBlankPage(0) ;
|
||||
@ -172,6 +175,7 @@ static void updateItem(QTreeWidgetItem *item, ChatLobbyId id, const std::string
|
||||
for (int column = 0; column < COLUMN_COUNT; ++column) {
|
||||
item->setTextColor(column, color);
|
||||
}
|
||||
item->setToolTip(0,QObject::tr("Subject: ")+item->text(COLUMN_TOPIC)+"\n"+QObject::tr("Participants: ")+QString::number(count)) ;
|
||||
}
|
||||
|
||||
void ChatLobbyWidget::addChatPage(ChatLobbyDialog *d)
|
||||
|
Loading…
Reference in New Issue
Block a user