From 813ea954b3e383681c16b90476a81b9d17fb1566 Mon Sep 17 00:00:00 2001 From: Alexei Cazacov Date: Wed, 15 Jan 2025 17:04:36 +0200 Subject: [PATCH] Docs: Describe QTextFormat::TextUnderlineStyle property This commit describes the QTextFormat::TextUnderlineStyle, TextVerticalAlignment, and TextOutline properties and their allowed values Task-number: QTBUG-126954 Pick-to: 6.8 Change-Id: Ib961331d9a06edb2bedf0a6b93afebef0cd467cb Reviewed-by: Shawn Rutledge (cherry picked from commit 0ec4447d7a535e1d593f3a5db94f0dcd98fe61ec) Reviewed-by: Qt Cherry-pick Bot --- src/gui/text/qtextformat.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/gui/text/qtextformat.cpp b/src/gui/text/qtextformat.cpp index 48106ab31e3..161cfb1abad 100644 --- a/src/gui/text/qtextformat.cpp +++ b/src/gui/text/qtextformat.cpp @@ -658,9 +658,11 @@ Q_GUI_EXPORT QDataStream &operator>>(QDataStream &stream, QTextTableCellFormat & \omitvalue LastFontProperty \value TextUnderlineColor Specifies the color to draw underlines, overlines and strikeouts. - \value TextVerticalAlignment - \value TextOutline - \value TextUnderlineStyle + \value TextVerticalAlignment Specifies the type of text vertical alignment according to + the values of the QTextCharFormat::VerticalAlignment enum. + \value TextOutline Specifies a \l QPen used to draw the text outline. + \value TextUnderlineStyle Specifies the style of text underline according to + the values of the QTextCharFormat::UnderlineStyle enum. \value TextToolTip Specifies the (optional) tool tip to be displayed for a fragment of text. \value TextSuperScriptBaseline Specifies the baseline (in % of height) of superscript texts. \value TextSubScriptBaseline Specifies the baseline (in % of height) of subscript texts.