summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexei Cazacov <[email protected]>2025-01-15 17:04:36 +0200
committerAlexei Cazacov <[email protected]>2025-01-16 14:21:07 +0200
commit0ec4447d7a535e1d593f3a5db94f0dcd98fe61ec (patch)
treef57e2b49aed3537b97321f268cbcf3306b9064db
parent441a96ba16794dc8621219be705800480654e9e8 (diff)
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.9 6.8 Change-Id: Ib961331d9a06edb2bedf0a6b93afebef0cd467cb Reviewed-by: Shawn Rutledge <[email protected]>
-rw-r--r--src/gui/text/qtextformat.cpp8
1 files 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.