Uername block highlighting

I was able to find a simple way to achive the block highlighting.
This commit is contained in:
Matt Lowe 2015-01-17 13:23:30 +01:00
parent e4afd9fa4d
commit 49d3ad73d5
2 changed files with 21 additions and 6 deletions

View file

@ -22,6 +22,10 @@ private:
enum HoveredItemType { HoveredNothing, HoveredUrl, HoveredCard, HoveredUser };
UserContextMenu *userContextMenu;
QString lastSender;
QString userName;
QString mention;
QTextCharFormat mentionFormat;
QTextCharFormat defaultFormat;
bool evenNumber;
bool showTimestamps;
HoveredItemType hoveredItemType;