Delegate Controls
Qt Quick Controls 2 offers a selection of controls that are used as delegates in views.
An item delegate that can be checked or unchecked | |
An item delegate that can be checked or unchecked | |
A swipable item delegate | |
An item delegate that can be toggled on or off |
Each type of delegate has its own specific target use case. The following sections offer guidelines for choosing the appropriate type of delegate, depending on the use case.
ItemDelegate Control
ItemDelegate presents a checkable control that can be pressed and clicked by the user.
RadioDelegate Control
RadioDelegate presents a checkable control that can be toggled on (checked) or off (unchecked). Radio delegates are typically used to select one option from a set of options.
See also RadioButton Control.
SwipeDelegate Control
SwipeDelegate presents a view item that can be swiped left or right to expose more options or information.
SwitchDelegate Control
SwitchDelegate presents a switchable delegate that can be toggled on or off.
See also Switch Control.