-
Notifications
You must be signed in to change notification settings - Fork 116
Status dot icon #126
base: master
Are you sure you want to change the base?
Status dot icon #126
Conversation
Any reason against using image files from the mockup UI repo? |
To be honest, I don't really like that status indicator also being used to indicate unread messages, but I guess following the mockup for now it's fine, we always can change things if needed. If you want to work on styling, one of the steps of styling would be porting the way Quassel does themeing, with those Qt style sheet files (Qt doc, Quassel themes). I think Quassel just uses a custom parser which feeds things in Qt, so there is not that much code (I might be wrong). |
src/frienditemdelegate.cpp
Outdated
painter->setBrush(Qt::NoBrush); | ||
painter->drawEllipse(dotPos, 4, 4); | ||
if (getUnreadMessages(index)) { | ||
painter->setPen(QPen(QColor("#CEBE44"), 1.5)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just didn't know, that the mockup repo exists, so there is no reason. I will change do those icons. Currently I'm still working on smileys, emoji and chat view. But I'm very busy with my masters, and I needed a simple task to do. |
Change the painting of FriendItemDelegate
Simple implementation of the status icons of the mockup images.