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

Focus Management in Qt Quick Controls 2

Overview of focus handling with Qt Quick Controls 2.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

Focus Management in Qt Quick Controls 2

Qt Quick Controls 2 follows the standard Qt Quick focus system, while also providing some added convenience. For example, the focusPolicy property can be used to control the ways in which a control receives focus.

Focus Scope Controls

Qt Quick Controls 2 offers a selection of controls that act as focus scopes:

  • ApplicationWindow: Styled top-level window with support for a header and footer.

  • ComboBox: Combined button and popup list for selecting options.

  • MenuBar: Provides a window menu bar.

  • Page: Styled page control with support for a header and footer.

  • Pane: Provides a background matching with the application style and theme.

  • Popup: Base type of popup-like user interface controls.

  • RangeSlider: Used to select a range of values by sliding two handles along a track.

  • ScrollView: Scrollable view.

  • SpinBox: Allows the user to select from a set of preset values.

  • StackView: Provides a stack-based navigation model.

  • SwipeView: Enables the user to navigate pages by swiping sideways.

  • TabBar: Allows the user to switch between different views or subtasks.

See Also

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