diff options
author | Martin Jones <[email protected]> | 2012-07-11 16:29:42 +1000 |
---|---|---|
committer | Qt by Nokia <[email protected]> | 2012-07-16 04:50:48 +0200 |
commit | 50ec85e368a15236812776c274cdb10ac2be0ccd (patch) | |
tree | 5666c7bba41a2895340f91b4c1a5efcb1a11078e /src/quick/items/qquicklistview.cpp | |
parent | 7ddd5308946f32f4f0514c493a0a0f01c2bdc840 (diff) |
Change Quick docs to refer to "types" rather than "elements"
Task-number: QTBUG-24785
Change-Id: I223479b879514abaacb123852323c1cfada7a5e1
Reviewed-by: Bea Lam <[email protected]>
Diffstat (limited to 'src/quick/items/qquicklistview.cpp')
-rw-r--r-- | src/quick/items/qquicklistview.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/quick/items/qquicklistview.cpp b/src/quick/items/qquicklistview.cpp index 80b4cb59df..547b033400 100644 --- a/src/quick/items/qquicklistview.cpp +++ b/src/quick/items/qquicklistview.cpp @@ -1655,7 +1655,7 @@ bool QQuickListViewPrivate::flick(AxisData &data, qreal minExtent, qreal maxExte \inherits Flickable \brief Provides a list view of items provided by a model - A ListView displays data from models created from built-in QML elements like ListModel + A ListView displays data from models created from built-in QML types like ListModel and XmlListModel, or custom model classes defined in C++ that inherit from QAbstractListModel. @@ -1679,7 +1679,7 @@ bool QQuickListViewPrivate::flick(AxisData &data, qreal minExtent, qreal maxExte \image listview-simple.png - Here, the ListView creates a \c ContactModel component for its model, and a \l Text element + Here, the ListView creates a \c ContactModel component for its model, and a \l Text item for its delegate. The view will create a new \l Text component for each item in the model. Notice the delegate is able to access the model's \c name and \c number data directly. @@ -1854,10 +1854,10 @@ QQuickListView::~QQuickListView() The index is exposed as an accessible \c index property. Properties of the model are also available depending upon the type of \l {qmlmodels}{Data Model}. - The number of elements in the delegate has a direct effect on the + The number of objects and bindings in the delegate has a direct effect on the flicking performance of the view. If at all possible, place functionality that is not needed for the normal display of the delegate in a \l Loader which - can load additional elements when needed. + can load additional components when needed. The ListView will lay out the items based on the size of the root item in the delegate. @@ -2125,7 +2125,7 @@ void QQuickListView::setOrientation(QQuickListView::Orientation orientation) Setting this value can improve the smoothness of scrolling behavior at the expense of additional memory usage. It is not a substitute for creating efficient - delegates; the fewer elements in a delegate, the faster a view can be + delegates; the fewer objects and bindings in a delegate, the faster a view can be scrolled. */ |