aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/draganddrop/doc/src/draganddrop.qdoc
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2019-02-20 08:25:10 +0100
committerShawn Rutledge <shawn.rutledge@qt.io>2019-02-26 11:18:28 +0000
commitca8f4300245d289fa24b4cbd594ef25ec62c40c8 (patch)
tree58d878ca9acabcb683a319cd2560e4882326b405 /examples/quick/draganddrop/doc/src/draganddrop.qdoc
parent6618e4aed563c99c03904c9cf1e6e272d05315e3 (diff)
doc: Clarify that DelegateModel is a kind of proxy model
It was not quite clear in the GridView DnD example that the ListModel doesn't get reordered, so if new ListElements are inserted after reordering the DelegateModel by DnD, predicting the position where new delegates will appear becomes a bit of a riddle. Also: - the QQmlDelegateModelAttached::model is a model, not an int - disambiguate the properties that have the same names in QQmlDelegateModel and QQmlDelegateModelAttached, using \keyword for linking. Task-number: QTBUG-34891 Change-Id: I485fd632f67d607652428b4e3c9ca528e57f7348 Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
Diffstat (limited to 'examples/quick/draganddrop/doc/src/draganddrop.qdoc')
-rw-r--r--examples/quick/draganddrop/doc/src/draganddrop.qdoc5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/quick/draganddrop/doc/src/draganddrop.qdoc b/examples/quick/draganddrop/doc/src/draganddrop.qdoc
index b740582cc4..754fa8f8cb 100644
--- a/examples/quick/draganddrop/doc/src/draganddrop.qdoc
+++ b/examples/quick/draganddrop/doc/src/draganddrop.qdoc
@@ -57,8 +57,9 @@
\section1 GridView Example
- The \e {GridView Example} adds drag and drop to a \l GridView, allowing you to reorder the
- list. It also uses a \l DelegateModel to move a delegate item to the
+ The \e {GridView Example} adds drag and drop to a \l GridView, allowing you
+ to visually reorder the delegates without changing the underlying
+ \l ListModel. It uses a \l DelegateModel to move a delegate item to the
position of another item it is dragged over.
\snippet draganddrop/views/gridview.qml 0