Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qtquicktemplates-index.qdoc
Go to the documentation of this file.
1// Copyright (C) 2017 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
3
4/*!
5 \page qtquicktemplates2-index.html
6 \title Qt Quick Templates 2
7 \brief A set of templates to create user interface controls in Qt Quick
8
9 Qt Quick Templates are the foundations of \l {Qt Quick Controls}. Templates
10 are non-visual implementations of controls' logic and behavior. They offer
11 an interface to visualize the controls in QML using \l {Qt Quick}.
12
13 Even though the templates aim to be as style-agnostic as possible, in some
14 cases they have to make certain assumptions about the visual structure of
15 a control. For example, a spinbox has buttons that increment and decrement
16 the value of the spinbox. In order to implement the behavior of a spinbox,
17 the spinbox template needs to know if the user is interacting with the up
18 or down button. A visual implementation of the spinbox template merely needs
19 to position the up and down buttons and visualize them in normal, pressed,
20 and disabled states. Any input event handling and state processing is taken
21 care of by the underlying template.
22
23 \section1 Module Evolution
24 \l{Changes to Qt Quick Controls} lists important changes in the
25 module API and functionality that were done for the Qt 6 series of Qt.
26
27 \section1 Related Information
28
29 \list
30 \li \l{Qt Quick}
31 \li \l{Qt Quick Controls}
32 \li \l{Qt Quick Templates 2 QML Types}
33 \endlist
34*/