#include <MessageLayoutElement.hpp>
◆ TextLayoutElement()
chatterino::TextLayoutElement::TextLayoutElement |
( |
MessageElement & |
creator_, |
|
|
QString & |
text, |
|
|
const QSize & |
size, |
|
|
QColor |
color_, |
|
|
FontStyle |
style_, |
|
|
float |
scale_ |
|
) |
| |
◆ addCopyTextToString()
void chatterino::TextLayoutElement::addCopyTextToString |
( |
QString & |
str, |
|
|
uint32_t |
from = 0 , |
|
|
uint32_t |
to = UINT32_MAX |
|
) |
| const |
|
overrideprotectedvirtual |
◆ getMouseOverIndex()
int chatterino::TextLayoutElement::getMouseOverIndex |
( |
const QPoint & |
abs | ) |
const |
|
overrideprotectedvirtual |
◆ getSelectionIndexCount()
int chatterino::TextLayoutElement::getSelectionIndexCount |
( |
| ) |
const |
|
overrideprotectedvirtual |
◆ getXFromIndex()
int chatterino::TextLayoutElement::getXFromIndex |
( |
int |
index | ) |
|
|
overrideprotectedvirtual |
◆ listenToLinkChanges()
void chatterino::TextLayoutElement::listenToLinkChanges |
( |
| ) |
|
◆ paint()
void chatterino::TextLayoutElement::paint |
( |
QPainter & |
painter | ) |
|
|
overrideprotectedvirtual |
◆ paintAnimated()
void chatterino::TextLayoutElement::paintAnimated |
( |
QPainter & |
painter, |
|
|
int |
yOffset |
|
) |
| |
|
overrideprotectedvirtual |
◆ color_
QColor chatterino::TextLayoutElement::color_ |
|
protected |
◆ managedConnections_
pajlada::Signals::SignalHolder chatterino::TextLayoutElement::managedConnections_ |
|
protected |
◆ scale_
float chatterino::TextLayoutElement::scale_ |
|
protected |
◆ style_
FontStyle chatterino::TextLayoutElement::style_ |
|
protected |
The documentation for this class was generated from the following files: