diff options
author | Topi Reinio <topi.reinio@qt.io> | 2020-11-04 12:37:45 +0100 |
---|---|---|
committer | Topi Reinio <topi.reinio@qt.io> | 2020-11-05 09:00:48 +0100 |
commit | 0b12055548a8781b0c328991c267d62222667e8e (patch) | |
tree | de91b0183203dd00318fed9fa5ca4cff6713142a /src/quick/items/qquicktext.cpp | |
parent | c01ad45d67ec0ce96d6944496dc292a94f17efea (diff) |
Doc: Fix documentation warnings for Qt Quick
- Remove links to modules and examples that are not part of Qt 6.
- Remove links to entities marked as \internal
- Add missing enum value and QML property docs where it's trivial
to do so.
Task-number: QTBUG-88156
Change-Id: I10a1c7bcc5fe0e2354ea69eaf24930362edb7415
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'src/quick/items/qquicktext.cpp')
-rw-r--r-- | src/quick/items/qquicktext.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/quick/items/qquicktext.cpp b/src/quick/items/qquicktext.cpp index e89bb49e83..384b395f70 100644 --- a/src/quick/items/qquicktext.cpp +++ b/src/quick/items/qquicktext.cpp @@ -1400,11 +1400,11 @@ QQuickText::~QQuickText() \row \li implicitWidth (read-only) \li The width that the line would naturally occupy based on its contents, - not taking into account any modifications made to \a width. + not taking into account any modifications made to \e width. \row \li isLast (read-only) \li Whether the line is the last. This property can change if you - set the \a width property to a different value. + set the \e width property to a different value. \endtable For example, this will move the first 5 lines of a Text item by 100 pixels to the right: @@ -2650,8 +2650,8 @@ void QQuickText::setLineHeightMode(LineHeightMode mode) If the text does not fit within the item bounds with the minimum font size the text will be elided as per the \l elide property. - If the \l textFormat property is set to \l Text.RichText, this will have no effect at all as the - property will be ignored completely. If \l textFormat is set to \l Text.StyledText, then the + If the \l textFormat property is set to \c Text.RichText, this will have no effect at all as the + property will be ignored completely. If \l textFormat is set to \c Text.StyledText, then the property will be respected provided there is no font size tags inside the text. If there are font size tags, the property will still respect those. This can cause it to not fully comply with the fontSizeMode setting. |