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