aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2016-09-19 08:34:27 +0200
committerMitch Curtis <mitch.curtis@qt.io>2016-09-19 14:01:15 +0000
commit0f6c236f47087ea96e587a9f03d18996551f8764 (patch)
treeb40492b71a4066600576548cca8e49c2d3559c68 /src
parent0365837e6658829b287a5196d3e0ebb1389a8c38 (diff)
Container: rephrase paragraph about declaring children
The more common use case is static declaration of children. Change-Id: Ie1c7b44ae9e738e02f89957b27f6111a1e798736 Task-number: QTBUG-55904 Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/quicktemplates2/qquickcontainer.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/quicktemplates2/qquickcontainer.cpp b/src/quicktemplates2/qquickcontainer.cpp
index 43fda437..34e198fc 100644
--- a/src/quicktemplates2/qquickcontainer.cpp
+++ b/src/quicktemplates2/qquickcontainer.cpp
@@ -55,9 +55,11 @@ QT_BEGIN_NAMESPACE
\section2 Using Containers
- Container provides an API to \l {addItem}{add}, \l {insertItem}{insert},
+ Typically, items are statically declared as children of Container, but it
+ is also possible to \l {addItem}{add}, \l {insertItem}{insert},
\l {moveItem}{move} and \l {removeItem}{remove} items dynamically. The
- items in a container can be accessed using \l itemAt() or \l contentChildren.
+ items in a container can be accessed using \l itemAt() or
+ \l contentChildren.
Most containers have the concept of a "current" item. The current item is
specified via the \l currentIndex property, and can be accessed using the