* 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:
defnax 2008-11-15 23:42:47 +00:00
parent de8df4d55b
commit 30338246f2
6 changed files with 325 additions and 316 deletions

View file

@ -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");
}
}