aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/qquickrepeater.cpp
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2012-07-11 16:29:42 +1000
committerQt by Nokia <qt-info@nokia.com>2012-07-16 04:50:48 +0200
commit50ec85e368a15236812776c274cdb10ac2be0ccd (patch)
tree5666c7bba41a2895340f91b4c1a5efcb1a11078e /src/quick/items/qquickrepeater.cpp
parent7ddd5308946f32f4f0514c493a0a0f01c2bdc840 (diff)
Change Quick docs to refer to "types" rather than "elements"
Task-number: QTBUG-24785 Change-Id: I223479b879514abaacb123852323c1cfada7a5e1 Reviewed-by: Bea Lam <bea.lam@nokia.com>
Diffstat (limited to 'src/quick/items/qquickrepeater.cpp')
-rw-r--r--src/quick/items/qquickrepeater.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/quick/items/qquickrepeater.cpp b/src/quick/items/qquickrepeater.cpp
index c688fade92..31609515c7 100644
--- a/src/quick/items/qquickrepeater.cpp
+++ b/src/quick/items/qquickrepeater.cpp
@@ -67,13 +67,13 @@ QQuickRepeaterPrivate::~QQuickRepeaterPrivate()
\ingroup qtquick-models
\ingroup qtquick-positioning
\inherits Item
- \brief Specifies how to repeately create an Item-based component using a model
+ \brief Instantiates a number of Item-based components using a provided model
- The Repeater element is used to create a large number of
- similar items. Like other view elements, a Repeater has a \l model and a \l delegate:
+ The Repeater type is used to create a large number of
+ similar items. Like other view types, a Repeater has a \l model and a \l delegate:
for each entry in the model, the delegate is instantiated
in a context seeded with data from the model. A Repeater item is usually
- enclosed in a positioner element such as \l Row or \l Column to visually
+ enclosed in a positioner type such as \l Row or \l Column to visually
position the multiple delegate items created by the Repeater.
The following Repeater creates three instances of a \l Rectangle item within
@@ -107,10 +107,10 @@ QQuickRepeaterPrivate::~QQuickRepeaterPrivate()
\section2 Considerations when using Repeater
- The Repeater element creates all of its delegate items when the repeater is first
+ The Repeater type creates all of its delegate items when the repeater is first
created. This can be inefficient if there are a large number of delegate items and
not all of the items are required to be visible at the same time. If this is the case,
- consider using other view elements like ListView (which only creates delegate items
+ consider using other view types like ListView (which only creates delegate items
when they are scrolled into view) or use the \l {Dynamic Object Creation} methods to
create items as they are required.