+private:
+ QSize _sizeHint;
+ QTextOption::WrapMode _wrapMode{QTextOption::NoWrap};
+ Qt::Alignment _alignment;
+ QTextLayout _layout;
+ ClickableList _clickables;
+ bool _toolTipEnabled{true};
+ ResizeMode _resizeMode{NoResize};
+
+ QList<QTextLayout::FormatRange> _layoutList;
+ QVector<QTextLayout::FormatRange> _extraLayoutList;
+
+ void layout();
+ void updateSizeHint();
+ void updateToolTip();
+
+ void setHoverMode(int start, int length);
+ void endHoverMode();
+};