mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-09 23:22:48 -04:00
* redesign Channel Menu Item, more userfriendly
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@808 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
de8df4d55b
commit
30338246f2
6 changed files with 325 additions and 316 deletions
|
@ -42,6 +42,8 @@ ChanMenuItem::ChanMenuItem(std::string chanId)
|
|||
small();
|
||||
updateItemStatic();
|
||||
updateItem();
|
||||
expandButton->setIcon(QIcon(QString(":/images/hide_frame.png")));
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
@ -88,10 +90,15 @@ void ChanMenuItem::toggle()
|
|||
if (expandFrame->isHidden())
|
||||
{
|
||||
expandFrame->show();
|
||||
expandButton->setIcon(QIcon(QString(":/images/expand_frame.png")));
|
||||
expandButton->setToolTip("Hide");
|
||||
}
|
||||
else
|
||||
{
|
||||
expandFrame->hide();
|
||||
expandButton->setIcon(QIcon(QString(":/images/hide_frame.png")));
|
||||
expandButton->setToolTip("Expand");
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue