Updated colors and alignment

+ star is now gold with black outline
+ aligned for users who are not buddies
This commit is contained in:
Matt Lowe 2015-01-23 14:34:20 +01:00
parent 0aef6ecc94
commit ccccc78f91
4 changed files with 171 additions and 4 deletions

View file

@ -137,6 +137,8 @@ void ChatView::appendMessage(QString message, QString sender, UserLevelFlags use
QMap<QString, UserListTWI *> buddyList = tabSupervisor->getUserListsTab()->getBuddyList()->getUsers();
if (buddyList.contains(sender))
cursor.insertImage(PixmapGenerator::generatePixmap(pixelSize, ":/resources/buddy_icon.svg").toImage());
else
cursor.insertImage(PixmapGenerator::generatePixmap(pixelSize, ":/resources/empty_icon.svg").toImage());
}
cursor.insertText(" ");
}