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
qtquickcontrols-delegates.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 qtquickcontrols-delegates.html
6 \title Delegate Controls
7 \ingroup qtquickcontrols-guidelines
8 \brief Guidelines for delegate controls
9
10 Qt Quick Controls offers a selection of controls that are used as
11 delegates in views.
12
13 \annotatedlist qtquickcontrols-delegates
14
15 Each type of delegate has its own specific target use case. The following
16 sections offer guidelines for choosing the appropriate type of delegate,
17 depending on the use case.
18
19 \section1 CheckDelegate Control
20
21 \image qtquickcontrols-checkdelegate.gif
22
23 \l CheckDelegate presents a checkable control that can be toggled on
24 (checked) or off (unchecked). Check delegates are typically used to
25 select one or more options from a set of options.
26
27 \b {See also} \l {CheckBox Control}.
28
29 \section1 ItemDelegate Control
30
31 \image qtquickcontrols-itemdelegate.gif
32
33 \l ItemDelegate presents a checkable control that can be pressed and
34 clicked by the user.
35
36 \section1 RadioDelegate Control
37
38 \image qtquickcontrols-radiodelegate.gif
39
40 \l RadioDelegate presents a checkable control that can be toggled on
41 (checked) or off (unchecked). Radio delegates are typically used to select
42 one option from a set of options.
43
44 \b {See also} \l {RadioButton Control}.
45
46 \section1 SwipeDelegate Control
47
48 \image qtquickcontrols-swipedelegate.gif
49
50 \l SwipeDelegate presents a view item that can be swiped left or right to
51 expose more options or information.
52
53 \section1 SwitchDelegate Control
54
55 \image qtquickcontrols-switchdelegate.gif
56
57 \l SwitchDelegate presents a switchable delegate that can be toggled on or off.
58
59 \b {See also} \l {Switch Control}.
60
61 \section1 TreeViewDelegate Control
62
63 \image qtquickcontrols-treeviewdelegate.png
64
65 A \l TreeViewDelegate is a delegate that can be assigned to the delegate property
66 of a TreeView.
67
68 \b {See also} \l {TreeView}.
69
70 \section1 Related Information
71 \list
72 \li \l {Qt Quick Controls Guidelines}
73 \endlist
74*/