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> |
||
---|---|---|
.. | ||
qml | ||
qmltest | ||
quick | ||
HACKING | ||
README | ||
examples.pro |
README
The Qt Quick module provides the basic elements to specify and implement your user interface declaratively, using the Qt Meta-Object Language (QML). The Qt QML module provides the engine and language infrastructure for QML itself. This language is very expressive and human readable, and can be used by designers to actually implement their UI vision. QML UIs can integrate with C++ code in many ways, including being loaded as a part of a C++ UI and loading data models from C++ and interacting with them. Mostof these examples can be viewed directly with the QML viewer utility, without requiring compilation. Documentation for these examples can be found via the Examples link in the main Qt documentation.