mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-24 15:09:33 -05:00
* 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:
parent
30b6e6c423
commit
92ffcec3ed
@ -336,7 +336,11 @@ void PeersDialog::insertPeers()
|
|||||||
// CsoLer: I uncommented the color because it's really confortable
|
// CsoLer: I uncommented the color because it's really confortable
|
||||||
// to be able to see at some distance that people are connected.
|
// to be able to see at some distance that people are connected.
|
||||||
// The blue/gray icons need a close look indeed.
|
// 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)));
|
item -> setIcon(0,(QIcon(IMAGE_ONLINE)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -992,10 +996,10 @@ void PeersDialog::displayInfoChatMenu(const QPoint& pos)
|
|||||||
void PeersDialog::loadEmoticonsgroupchat()
|
void PeersDialog::loadEmoticonsgroupchat()
|
||||||
{
|
{
|
||||||
QString sm_codes;
|
QString sm_codes;
|
||||||
#if defined(Q_OS_WIN32)
|
#if defined(Q_OS_WIN32)
|
||||||
QFile sm_file(QApplication::applicationDirPath() + "/emoticons/emotes.acs");
|
QFile sm_file(QApplication::applicationDirPath() + "/emoticons/emotes.acs");
|
||||||
#else
|
#else
|
||||||
QFile sm_file(QString(":/emoticons/emotes.acs"));
|
QFile sm_file(QString(":/emoticons/emotes.acs"));
|
||||||
#endif
|
#endif
|
||||||
if(!sm_file.open(QIODevice::ReadOnly))
|
if(!sm_file.open(QIODevice::ReadOnly))
|
||||||
{
|
{
|
||||||
@ -1043,10 +1047,10 @@ void PeersDialog::loadEmoticonsgroupchat()
|
|||||||
}
|
}
|
||||||
i++;
|
i++;
|
||||||
if(!smcode.isEmpty() && !smfile.isEmpty())
|
if(!smcode.isEmpty() && !smfile.isEmpty())
|
||||||
#if defined(Q_OS_WIN32)
|
#if defined(Q_OS_WIN32)
|
||||||
smileys.insert(smcode, smfile);
|
smileys.insert(smcode, smfile);
|
||||||
#else
|
#else
|
||||||
smileys.insert(smcode, ":/"+smfile);
|
smileys.insert(smcode, ":/"+smfile);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user