IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

Delegate Controls

Guidelines for delegate controls.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

Delegate Controls

Qt Quick Controls offers a selection of controls that are used as delegates in views.

  • CheckDelegate: Item delegate with a check indicator that can be toggled on or off.

  • RadioDelegate: Exclusive item delegate with a radio indicator that can be toggled on or off.

  • SwipeDelegate: Swipable item delegate.

  • SwitchDelegate: Item delegate with a switch indicator 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

Image non disponible

ItemDelegate presents a checkable control that can be pressed and clicked by the user.

RadioDelegate Control

Image non disponible

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

Image non disponible

SwipeDelegate presents a view item that can be swiped left or right to expose more options or information.

SwitchDelegate Control

Image non disponible

SwitchDelegate presents a switchable delegate that can be toggled on or off.

See also Switch Control.

Related Information

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+