diff --git a/src/layouts/doc/qtquicklayouts-index.qdoc b/src/layouts/doc/qtquicklayouts-index.qdoc index 7077e1d5190417b3dfe684f03c1e452e77f9feef..73425f84927e29457408c8bfe607501382145908 100644 --- a/src/layouts/doc/qtquicklayouts-index.qdoc +++ b/src/layouts/doc/qtquicklayouts-index.qdoc @@ -29,7 +29,7 @@ \page qtquicklayouts-index.html \title Qt Quick Layouts - \brief The Qt Quick Layouts module is an add-on module of Qt. + \brief A module with a set of QML elements that arranges QML items in an user interface. \section1 Getting started @@ -40,9 +40,10 @@ \endcode \section1 Layouts - Layouts are items that are used to arrange items in the user interface. Layout are dynamic - - when the layout changes geometry it will typically incluence the arrangement of its child - items. + Layouts are items that are used to arrange items in the user interface. The layout is dynamic - + when the layout changes geometry it will typically influence the arrangement of its child + items. Since a layout is an item, layouts can consequently be nested. + \annotatedlist layouts */ diff --git a/src/layouts/qquicklinearlayout.cpp b/src/layouts/qquicklinearlayout.cpp index f01a02685e8e46e4b458c7b058929f9f6d996729..fc8dc707ff9ce8934f5ecb57413509c9e9960484 100644 --- a/src/layouts/qquicklinearlayout.cpp +++ b/src/layouts/qquicklinearlayout.cpp @@ -49,7 +49,7 @@ \instantiates QQuickRowLayout \inqmlmodule QtQuick.Layouts 1.0 \ingroup layouts - \brief RowLayout is the same as a \l GridLayout with just one row. + \brief Identical to \l GridLayout, but having only one row. It is available as a convenience for developers, as it offers a cleaner API. @@ -62,7 +62,7 @@ \instantiates QQuickColumnLayout \inqmlmodule QtQuick.Layouts 1.0 \ingroup layouts - \brief ColumnLayout is the same as a \l GridLayout with just one column. + \brief Identical to \l GridLayout, but having only one column. It is available as a convenience for developers, as it offers a cleaner API. @@ -118,7 +118,7 @@ Preferred size can be specified with the Layout.preferredWidth and Layout.preferredHeight properties. If Layout.preferredWidth or Layout.preferredHeight is not specified, it will - use the items implicitWidth or implicitHeight as the items preferred size. Finally, if + use the items' implicitWidth or implicitHeight as the preferred size. Finally, if neither of these properties are set, it will use the width and height properties of the item. \note It is not recommended to have bindings to the width and height properties of items in a @@ -396,7 +396,7 @@ QQuickGridLayout::QQuickGridLayout(QQuickItem *parent /* = 0*/) \qmlproperty double GridLayout::columnSpacing This property holds the spacing between each column. - The default value is 4. + The default value is \c 4. */ qreal QQuickGridLayout::columnSpacing() const { @@ -419,7 +419,7 @@ void QQuickGridLayout::setColumnSpacing(qreal spacing) \qmlproperty double GridLayout::rowSpacing This property holds the spacing between each row. - The default value is 4. + The default value is \c 4. */ qreal QQuickGridLayout::rowSpacing() const { @@ -441,9 +441,9 @@ void QQuickGridLayout::setRowSpacing(qreal spacing) /*! \qmlproperty int GridLayout::columns - This property holds the column bound for items positioned if \l flow is + This property holds the column limit for items positioned if \l flow is \c GridLayout.LeftToRight. - The default value is treated as infinite. + The default value is that there is no limit. */ int QQuickGridLayout::columns() const { @@ -465,8 +465,8 @@ void QQuickGridLayout::setColumns(int columns) /*! \qmlproperty int GridLayout::rows - This property holds the row bound for items positioned if \l flow is \c GridLayout.TopToBottom. - The default value is treated as infinite. + This property holds the row limit for items positioned if \l flow is \c GridLayout.TopToBottom. + The default value is that there is no limit. */ int QQuickGridLayout::rows() const { @@ -652,13 +652,13 @@ QQuickLinearLayout::QQuickLinearLayout(Qt::Orientation orientation, \qmlproperty double RowLayout::spacing This property holds the spacing between each cell. - The default value 4. + The default value is \c 4. */ /*! \qmlproperty double ColumnLayout::spacing This property holds the spacing between each cell. - The default value 4. + The default value is \c 4. */ qreal QQuickLinearLayout::spacing() const