49
50
void initLayoutHelper(QTextLayout *layout, QTextOption::WrapMode, Qt::Alignment = Qt::AlignLeft) const;
50
51
virtual inline void initLayout(QTextLayout *layout) const {
54
55
virtual void doLayout(QTextLayout *) const;
56
58
virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0);
57
59
enum { Type = ChatScene::ChatItemType };