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

Separator Controls

Guidelines for separator controls.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

Separator Controls

Qt Quick Controls offers a selection of separators.

  • MenuSeparator: Separates a group of items in a menu from adjacent items.

  • ToolSeparator: Separates a group of items in a toolbar from adjacent items.

Each type of separator has its own specific use case. The following sections offer guidelines for choosing the appropriate type of separator, depending on the use case.

MenuSeparator Control

MenuSeparator should be used to separate items (typically MenuItem controls) in a Menu. Grouping related menu items together makes it easier for the user to interact with the menu. For example, a typical desktop user interface might have Undo and Redo items in one group, and Cut, Copy and Paste in another.

ToolSeparator Control

Image non disponible

ToolSeparator should be used to separate items (typically ToolButton controls) in a ToolBar. It can be used in horizontal or vertical toolbars.

Related Information

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