aboutsummaryrefslogtreecommitdiffstats
path: root/src/quicktemplates/doc/src/qtquicktemplates-index.qdoc
blob: 49d4c96b4456a5a1a3c82b82e0cc20feab09a787 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// Copyright (C) 2017 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only

/*!
    \page qtquicktemplates2-index.html
    \title Qt Quick Templates 2
    \brief A set of templates to create user interface controls in Qt Quick

    Qt Quick Templates are the foundations of \l {Qt Quick Controls}. Templates
    are non-visual implementations of controls' logic and behavior. They offer
    an interface to visualize the controls in QML using \l {Qt Quick}.

    Even though the templates aim to be as style-agnostic as possible, in some
    cases they have to make certain assumptions about the visual structure of
    a control. For example, a spinbox has buttons that increment and decrement
    the value of the spinbox. In order to implement the behavior of a spinbox,
    the spinbox template needs to know if the user is interacting with the up
    or down button. A visual implementation of the spinbox template merely needs
    to position the up and down buttons and visualize them in normal, pressed,
    and disabled states. Any input event handling and state processing is taken
    care of by the underlying template.

    \section1 Module Evolution
    \l{Changes to Qt Quick Controls} lists important changes in the
    module API and functionality that were done for the Qt 6 series of Qt.

    \section1 Related Information

    \list
      \li \l{Qt Quick}
      \li \l{Qt Quick Controls}
      \li \l{Qt Quick Templates 2 QML Types}
    \endlist
*/