qTox
Version: nightly | Commit: bc751c8e1cac455f9690654fcfe0f560d2d7dfdd
|
Go to the documentation of this file.
30 class QStyleOptionGraphicsItem;
68 using Ptr = std::shared_ptr<ChatLine>;
QVector< ColumnFormat > ColumnFormats
void setVisible(bool visible)
static bool lessThanBSRectBottom(const ChatLine::Ptr &lhs, const qreal &rhs)
void replaceContent(int col, ChatLineContent *lineContent)
void fontChanged(const QFont &font)
ChatLineContent * getContent(int col) const
QVector< ColumnFormat > format
void moveBy(qreal deltaY)
bool isOverSelection(QPointF scenePos)
void addToScene(QGraphicsScene *scene)
QRectF sceneBoundingRect() const
static bool lessThanBSRectTop(const ChatLine::Ptr &lhs, const qreal &rhs)
QVector< ChatLineContent * > content
void layout(qreal width, QPointF scenePos)
QPointF mapToContent(ChatLineContent *c, QPointF pos)
void visibilityChanged(bool visible)
void addColumn(ChatLineContent *item, ColumnFormat fmt)
void selectionFocusChanged(bool focusIn)
std::shared_ptr< ChatLine > Ptr