#include <chat_view.h>
◆ HoveredItemType
| Enumerator |
|---|
| HoveredNothing | |
| HoveredUrl | |
| HoveredCard | |
| HoveredUser | |
◆ ChatView()
| ChatView::ChatView |
( |
TabSupervisor * | _tabSupervisor, |
|
|
AbstractGame * | _game, |
|
|
bool | _showTimestamps, |
|
|
QWidget * | parent = nullptr ) |
◆ actMessageClicked
| void ChatView::actMessageClicked |
( |
| ) |
|
|
privateslot |
◆ addMentionTag
| void ChatView::addMentionTag |
( |
QString | mentionTag | ) |
|
|
signal |
◆ appendCardTag()
| void ChatView::appendCardTag |
( |
QTextCursor & | cursor, |
|
|
const QString & | cardName ) |
|
private |
◆ appendHtml()
| void ChatView::appendHtml |
( |
const QString & | html | ) |
|
◆ appendHtmlServerMessage()
| void ChatView::appendHtmlServerMessage |
( |
const QString & | html, |
|
|
bool | optionalIsBold = false, |
|
|
QString | optionalFontColor = QString() ) |
|
virtual |
◆ appendMessage()
| void ChatView::appendMessage |
( |
QString | message, |
|
|
RoomMessageTypeFlags | messageType = {}, |
|
|
const ServerInfo_User & | userInfo = {}, |
|
|
bool | playerBold = false ) |
◆ appendUrlTag()
| void ChatView::appendUrlTag |
( |
QTextCursor & | cursor, |
|
|
QString | url ) |
|
private |
◆ cardNameHovered
| void ChatView::cardNameHovered |
( |
QString | cardName | ) |
|
|
signal |
◆ checkMention()
| void ChatView::checkMention |
( |
QTextCursor & | cursor, |
|
|
QString & | message, |
|
|
const QString & | userName, |
|
|
UserLevelFlags | userLevel ) |
|
private |
◆ checkTag()
| void ChatView::checkTag |
( |
QTextCursor & | cursor, |
|
|
QString & | message ) |
|
private |
◆ checkWord()
| void ChatView::checkWord |
( |
QTextCursor & | cursor, |
|
|
QString & | message ) |
|
private |
◆ clearChat()
| void ChatView::clearChat |
( |
| ) |
|
◆ deleteCardInfoPopup
| void ChatView::deleteCardInfoPopup |
( |
QString | cardName | ) |
|
|
signal |
◆ enterEvent()
| void ChatView::enterEvent |
( |
QEnterEvent * | event | ) |
|
|
overrideprotected |
◆ extractNextWord()
| QString ChatView::extractNextWord |
( |
QString & | message, |
|
|
QString & | rest ) |
|
private |
◆ getCustomHighlightColor()
| QColor ChatView::getCustomHighlightColor |
( |
| ) |
|
|
staticprivate |
◆ getCustomMentionColor()
| QColor ChatView::getCustomMentionColor |
( |
| ) |
|
|
staticprivate |
◆ getFragmentUnderMouse()
| QTextFragment ChatView::getFragmentUnderMouse |
( |
const QPoint & | pos | ) |
const |
|
nodiscardprivate |
◆ isModeratorSendingGlobal()
| bool ChatView::isModeratorSendingGlobal |
( |
QFlags< ServerInfo_User::UserLevelFlag > | userLevelFlag, |
|
|
QString | message ) |
|
private |
◆ leaveEvent()
| void ChatView::leaveEvent |
( |
QEvent * | event | ) |
|
|
overrideprotected |
◆ messageClickedSignal
| void ChatView::messageClickedSignal |
( |
| ) |
|
|
signal |
◆ mouseMoveEvent()
| void ChatView::mouseMoveEvent |
( |
QMouseEvent * | event | ) |
|
|
overrideprotected |
◆ mousePressEvent()
| void ChatView::mousePressEvent |
( |
QMouseEvent * | event | ) |
|
|
overrideprotected |
◆ mouseReleaseEvent()
| void ChatView::mouseReleaseEvent |
( |
QMouseEvent * | event | ) |
|
|
overrideprotected |
◆ openLink
| void ChatView::openLink |
( |
const QUrl & | link | ) |
|
|
privateslot |
◆ openMessageDialog
| void ChatView::openMessageDialog |
( |
const QString & | userName, |
|
|
bool | focus ) |
|
signal |
◆ prepareBlock()
| QTextCursor ChatView::prepareBlock |
( |
bool | same = false | ) |
|
|
private |
◆ redactMessages()
| void ChatView::redactMessages |
( |
const QString & | userName, |
|
|
int | amount ) |
◆ retranslateUi()
| void ChatView::retranslateUi |
( |
| ) |
|
◆ showCardInfoPopup
| void ChatView::showCardInfoPopup |
( |
const QPoint & | pos, |
|
|
const CardRef & | cardRef ) |
|
signal |
◆ showMentionPopup
| void ChatView::showMentionPopup |
( |
const QString & | userName | ) |
|
|
signal |
◆ showSystemPopup()
| void ChatView::showSystemPopup |
( |
const QString & | userName | ) |
|
|
private |
◆ defaultFormat
| QTextCharFormat ChatView::defaultFormat |
|
private |
◆ evenNumber
| bool ChatView::evenNumber |
|
private |
◆ game
◆ highlightedWords
| QStringList ChatView::highlightedWords |
|
private |
◆ highlightFormat
| QTextCharFormat ChatView::highlightFormat |
|
private |
◆ hoveredContent
| QString ChatView::hoveredContent |
|
private |
◆ hoveredItemType
◆ lastSender
| QString ChatView::lastSender |
|
private |
◆ linkColor
| QColor ChatView::linkColor |
|
private |
◆ mention
| QString ChatView::mention |
|
private |
◆ mentionFormat
| QTextCharFormat ChatView::mentionFormat |
|
private |
◆ mentionFormatOtherUser
| QTextCharFormat ChatView::mentionFormatOtherUser |
|
private |
◆ messageClicked
| QAction* ChatView::messageClicked |
|
private |
◆ otherUserColor
| QColor ChatView::otherUserColor = QColor(0, 65, 255) |
|
private |
◆ ownUserName
| QString ChatView::ownUserName |
|
private |
◆ serverMessageColor
| QColor ChatView::serverMessageColor = QColor(0x85, 0x15, 0x15) |
|
private |
◆ showTimestamps
| bool ChatView::showTimestamps |
|
private |
◆ tabSupervisor
◆ userContextMenu
◆ userListProxy
◆ userMessagePositions
The documentation for this class was generated from the following files:
- cockatrice/src/interface/widgets/server/chat_view/chat_view.h
- cockatrice/src/interface/widgets/server/chat_view/chat_view.cpp