1// Copyright (C) 2017 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
5 \qmlmodule QtQuick.Templates
6 \title Qt Quick Templates 2 QML Types
8 \brief Provides QML types for templates (Qt Quick Templates).
10 The \l {Qt Quick Templates 2} module provides a set of non-visual templates
11 that can be used to build user interface controls in QML using \l {Qt Quick}.
13 The QML types can be imported using the following import statement in your
17 import QtQuick.Templates as T
20 For the sake of clarity, there is a one-to-one mapping between the types
21 provided by the \c QtQuick.Templates and \c QtQuick.Controls imports. For
22 every type available in the \c QtQuick.Controls import, a non-visual template
23 type by the same name exists in the \c QtQuick.Templates import.
25 \note It is recommended to use a namespace for the templates import to avoid
26 overlap with the types provided by the \c QtQuick.Controls import.
30 \generatelist {qmltypesbymodule QtQuick.Controls}
32 \section1 Related Information
35 \li \l {Qt Quick Controls QML Types}
36 \li \l {Using Qt Quick Controls types in property declarations}