* Enabled by default to display Friends Avatar on Friendslist

* Changed for RS 0.6 the status icons
* beautify the status string which displays after nicknames

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7695 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2014-11-21 01:54:21 +00:00
parent 3ef04a61c9
commit 4cdd83cc89
11 changed files with 39 additions and 12 deletions

View file

@ -82,6 +82,25 @@ const char *StatusDefs::imageUser(unsigned int status)
return "";
}
const char *StatusDefs::imageStatus(unsigned int status)
{
switch (status) {
case RS_STATUS_OFFLINE:
return ":/images/status/user-offline.png";
case RS_STATUS_AWAY:
return ":/images/status/user-away.png";
case RS_STATUS_BUSY:
return ":/images/status/user-busy.png";
case RS_STATUS_ONLINE:
return ":/images/status/user-online.png";
case RS_STATUS_INACTIVE:
return ":/images/status/user-away-extended.png";
}
std::cerr << "StatusDefs::imageUser: Unknown status requested " << status;
return "";
}
QString StatusDefs::tooltip(unsigned int status)
{
switch (status) {