From 932100115bfd4d0ad5a3d8dad03c7af3b393a8b6 Mon Sep 17 00:00:00 2001 From: Mitch Curtis Date: Tue, 4 Sep 2018 15:32:31 +0200 Subject: Doc: add Qt.labs.qmlmodels module Change-Id: Ic79f2e16c7b9a8c156cffd69f156e43bf565320d Reviewed-by: Paolo Angelelli Reviewed-by: Frederik Gladhorn --- src/qml/types/qqmldelegatecomponent.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/qml/types') diff --git a/src/qml/types/qqmldelegatecomponent.cpp b/src/qml/types/qqmldelegatecomponent.cpp index e52a7879a4..fa7e994afd 100644 --- a/src/qml/types/qqmldelegatecomponent.cpp +++ b/src/qml/types/qqmldelegatecomponent.cpp @@ -58,6 +58,19 @@ QVariant QQmlAbstractDelegateComponent::value(QQmlAdaptorModel *adaptorModel, in return adaptorModel->value(adaptorModel->indexAt(row, column), role); } +/*! + \qmlmodule Qt.labs.qmlmodels 1.0 + \title Qt Labs QML Models - QML Types + \ingroup qmlmodules + \brief The Qt Labs QML Models module provides various model-related types for use with views. + + To use this module, import the module with the following line: + + \code + import Qt.labs.qmlmodels 1.0 + \endcode +*/ + /*! \qmltype DelegateChoice \instantiates QQmlDelegateChoice -- cgit v1.2.3