aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKai Köhne <[email protected]>2025-05-28 09:16:30 +0200
committerKai Köhne <[email protected]>2025-06-06 06:53:18 +0000
commit5eb134663e08a85991be248c1fd972f1e6631be8 (patch)
treee6b0b7b6aa6405ad5f4a7920c3d126248277ee22
parent7b7c63d2606b9d0c7947d2bd7f2195f4ce08829a (diff)
Doc: Fix qdoc link errors in qquickflexboxlayout.cppHEADdev
Simplify references to properties, where possible. No need to fully qualify them by the type (except if they are an attached property). References to QML attached properties need to be fully qualified in qdoc with ::. Pick-to: 6.10 Change-Id: Ic841cc11c98dce1e3c177016f85c8c6be88c6603 Reviewed-by: Santhosh Kumar <[email protected]>
-rw-r--r--src/quicklayouts/qquickflexboxlayout.cpp44
1 files changed, 22 insertions, 22 deletions
diff --git a/src/quicklayouts/qquickflexboxlayout.cpp b/src/quicklayouts/qquickflexboxlayout.cpp
index 44bd3409a4..87cbf2cc64 100644
--- a/src/quicklayouts/qquickflexboxlayout.cpp
+++ b/src/quicklayouts/qquickflexboxlayout.cpp
@@ -33,20 +33,20 @@
The items within the FlexboxLayout can be configured with preferred,
minimum and maximum sizes through the existing layout attached properties.
For instance, if the item within the FlexboxLayout need to be stretched,
- the layout attached property \l {Layout.fillWidth} or
- \l {Layout.fillHeight} can be set.
+ the layout attached property \l{Layout::fillWidth}{Layout.fillWidth} or
+ \l{Layout::fillHeight}{Layout.fillHeight} can be set.
Items in a FlexboxLayout support these attached properties:
\list
- \li \l{FlexboxLayout.alignSelf}
- \li \l{Layout.minimumWidth}
- \li \l{Layout.minimumHeight}
- \li \l{Layout.preferredWidth}
- \li \l{Layout.preferredHeight}
- \li \l{Layout.maximumWidth}
- \li \l{Layout.maximumHeight}
- \li \l{Layout.fillWidth}
- \li \l{Layout.fillHeight}
+ \li \l{FlexboxLayout::alignSelf}{FlexboxLayout.alignSelf}
+ \li \l{Layout::minimumWidth}{Layout.minimumWidth}
+ \li \l{Layout::minimumHeight}{Layout.minimumHeight}
+ \li \l{Layout::preferredWidth}{Layout.preferredWidth}
+ \li \l{Layout::preferredHeight}{Layout.preferredHeight}
+ \li \l{Layout::maximumWidth}{Layout.maximumWidth}
+ \li \l{Layout::maximumHeight}{Layout.maximumHeight}
+ \li \l{Layout::fillWidth}{Layout.fillWidth}
+ \li \l{Layout::fillHeight}{Layout.fillHeight}
\endlist
Read more about attached properties \l{QML Object Attributes}{here}.
@@ -200,9 +200,9 @@ void QQuickFlexboxLayout::setWrap(QQuickFlexboxLayout::FlexboxWrap wrapMode)
flex box layout and its aligned along the
\l {https://www.w3.org/TR/css-flexbox-1/#box-model}{cross-axis}
(which is orthogonal to the main-axis, as defined by the property
- \l {FlexboxLayout::direction}). This property can be overridden by the items
- within the flex box layout through the property
- \l {FlexboxLayoutAttached::alignSelf}.
+ \l {direction}). This property can be overridden by the
+ items within the flex box layout through the attached property
+ \l {FlexboxLayout::alignSelf}{FlexboxLayout.alignSelf}.
Possible values:
@@ -215,7 +215,7 @@ void QQuickFlexboxLayout::setWrap(QQuickFlexboxLayout::FlexboxWrap wrapMode)
flex box layout cross-axis.
\note The alignments mentioned in possible values are only applicable for
- the \l {FlexboxLayout::alignItems} property
+ the \l{alignItems} property
The default value is \c FlexboxLayout.AlignStart.
*/
@@ -388,7 +388,7 @@ void QQuickFlexboxLayout::resetGap()
This property holds the amount of space that need to be applied to the
\l {FlexboxLayout} along the
\l {https://www.w3.org/TR/css-align-3/#gaps}{block axis}. Setting this
- property override the \l {FlexboxLayout::gap} value affecting the
+ property overrides the \l{gap} value affecting the
\l {https://www.w3.org/TR/css-align-3/#gaps}{block axis}.
The default value is \c 0.
@@ -426,7 +426,7 @@ void QQuickFlexboxLayout::resetRowGap()
This property holds the amount of space that need to be applied
to the \l {FlexboxLayout} along the
\l {https://www.w3.org/TR/css-align-3/#gaps}{inline axis}. Setting this
- property override the \l {FlexboxLayout::gap} value affecting the
+ property override the \l{gap} value affecting the
\l {https://www.w3.org/TR/css-align-3/#gaps}{inline axis}.
The default value is \c 0.
@@ -624,15 +624,15 @@ QQuickFlexboxLayoutAttached::QQuickFlexboxLayoutAttached(QObject *object)
This attached property allows to align this item in the flex box layout
along the \l {https://www.w3.org/TR/css-flexbox-1/#box-model}{cross-axis}
and it overrides the parent flex box layout property
- \l {FlexboxLayout::alignItems}.
+ \l{alignItems}.
By default, the child item inherit the alignment from the parent and it can
override the parent flex box layout
- \l {FlexboxLayout::alignItems} property with the values
- \l {FlexboxLayout::AlignStart}, \l {FlexboxLayout::AlignCenter}
- and \l {FlexboxLayout::AlignEnd}.
+ \l{alignItems} property with the values
+ \c {FlexboxLayout.AlignStart}, \c {FlexboxLayout.AlignCenter}
+ and \c {FlexboxLayout.AlignEnd}.
- The default value is \l {FlexboxLayout::AlignAuto}.
+ The default value is \c {FlexboxLayout.AlignAuto}.
*/
QQuickFlexboxLayout::FlexboxAlignment QQuickFlexboxLayoutAttached::alignSelf() const
{