|
|
|
@ -133,7 +133,9 @@ void GroupChatForm::addMessage(QLabel* author, QLabel* message, QLabel* date)
@@ -133,7 +133,9 @@ void GroupChatForm::addMessage(QLabel* author, QLabel* message, QLabel* date)
|
|
|
|
|
lockSliderToBottom = scroll && scroll->value() == scroll->maximum(); |
|
|
|
|
author->setAlignment(Qt::AlignTop | Qt::AlignLeft); |
|
|
|
|
date->setAlignment(Qt::AlignTop); |
|
|
|
|
message->setTextInteractionFlags(Qt::TextSelectableByMouse); |
|
|
|
|
message->setTextInteractionFlags(Qt::TextBrowserInteraction); |
|
|
|
|
author->setTextInteractionFlags(Qt::TextBrowserInteraction); |
|
|
|
|
date->setTextInteractionFlags(Qt::TextBrowserInteraction); |
|
|
|
|
if (author->text() == Widget::getInstance()->getUsername()) |
|
|
|
|
{ |
|
|
|
|
QPalette pal; |
|
|
|
|