diff options
author | Frederik Gladhorn <frederik.gladhorn@digia.com> | 2013-03-27 14:27:14 +0100 |
---|---|---|
committer | Frederik Gladhorn <frederik.gladhorn@digia.com> | 2013-03-27 14:27:14 +0100 |
commit | 46bb36f983fc503d36b5ff9d31677153d4aa8086 (patch) | |
tree | ef3977d0bdb11777e5e1be9e18fb803c9b2ab5aa /src/quick/doc/src/dynamicview-tutorial.qdoc | |
parent | 969dc839c3b0028e821d15015f99bd70d76fbc03 (diff) | |
parent | f7ada9b9325c7adc10da6a3a4e7f887452682260 (diff) |
Merge remote-tracking branch 'origin/stable' into dev
Change-Id: I324152dc6eec44e4f5524ff87b136f0ae20635c0
Diffstat (limited to 'src/quick/doc/src/dynamicview-tutorial.qdoc')
-rw-r--r-- | src/quick/doc/src/dynamicview-tutorial.qdoc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/quick/doc/src/dynamicview-tutorial.qdoc b/src/quick/doc/src/dynamicview-tutorial.qdoc index 26f418516a..9c224f8642 100644 --- a/src/quick/doc/src/dynamicview-tutorial.qdoc +++ b/src/quick/doc/src/dynamicview-tutorial.qdoc @@ -142,7 +142,7 @@ so that is above other items in the stacking order and isn't obscured as it is d \example quick/tutorials/dynamicview/dynamicview3 The next step in our application to move items within the list as they're dragged so that we -can re-order the list. To achieve this we introduce three new elements to our application; +can re-order the list. To achieve this we introduce three new types to our application; VisualDataModel, \l Drag and DropArea. \snippet quick/tutorials/dynamicview/dynamicview3/dynamicview.qml 0 @@ -169,8 +169,8 @@ to the index of the item it was dragged over. \snippet quick/tutorials/dynamicview/dynamicview3/dynamicview.qml 3 -To move the items within the view we use a VisualDataModel. The VisualDataModel element is used by -the view elements to instantiate delegate items from model data and when constructed explicitly can +To move the items within the view we use a VisualDataModel. The VisualDataModel type is used by +the view types to instantiate delegate items from model data and when constructed explicitly can be used to filter and re-order the model items provided to ListView. The \l {QtQuick2::VisualDataModel::items}{items} property of VisualDataModel provides access to the view's items and allows us to change the visible order without modifying the source model. To |