* Added darkBlue TextColor for Connected Friend

* Set TextColor Bold


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@949 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2009-01-25 19:02:52 +00:00
parent 30b6e6c423
commit 92ffcec3ed

View File

@ -336,7 +336,11 @@ void PeersDialog::insertPeers()
// CsoLer: I uncommented the color because it's really confortable
// to be able to see at some distance that people are connected.
// The blue/gray icons need a close look indeed.
item -> setBackground(i,QBrush(Qt::green));
//item -> setBackground(i,QBrush(Qt::green))
item -> setTextColor(i,(Qt::darkBlue));
QFont font ;
font.setBold(true);
item -> setFont(i,font);
item -> setIcon(0,(QIcon(IMAGE_ONLINE)));
}
}
@ -992,10 +996,10 @@ void PeersDialog::displayInfoChatMenu(const QPoint& pos)
void PeersDialog::loadEmoticonsgroupchat()
{
QString sm_codes;
#if defined(Q_OS_WIN32)
QFile sm_file(QApplication::applicationDirPath() + "/emoticons/emotes.acs");
#else
QFile sm_file(QString(":/emoticons/emotes.acs"));
#if defined(Q_OS_WIN32)
QFile sm_file(QApplication::applicationDirPath() + "/emoticons/emotes.acs");
#else
QFile sm_file(QString(":/emoticons/emotes.acs"));
#endif
if(!sm_file.open(QIODevice::ReadOnly))
{
@ -1043,10 +1047,10 @@ void PeersDialog::loadEmoticonsgroupchat()
}
i++;
if(!smcode.isEmpty() && !smfile.isEmpty())
#if defined(Q_OS_WIN32)
#if defined(Q_OS_WIN32)
smileys.insert(smcode, smfile);
#else
smileys.insert(smcode, ":/"+smfile);
#else
smileys.insert(smcode, ":/"+smfile);
#endif
}
}