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

Qt Quick Layouts

A module with a set of QML elements that arrange QML items in a user interface.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

Qt Quick Layouts

Qt Quick Layouts are a set of QML types used to arrange items in a user interface. In contrast to positioners, Qt Quick Layouts can also resize their items. This makes them well suited for resizable user interfaces. Since layouts are items they can consequently be nested.

The module is new in Qt 5.1 and requires Qt Quick 2.1.

Visit the Qt Quick Layouts Overview page to get started.

Licenses

Qt Quick Layouts is available under commercial licenses from The Qt Company. In addition, it is available under free software licenses. Since Qt 5.4, these free software licenses are GNU Lesser General Public License, version 3, or the GNU General Public License, version 2. See Qt Licensing for further details.

Layouts

  • ColumnLayout: Identical to GridLayout, but having only one column.

  • GridLayout: Provides a way of dynamically arranging items in a grid.

  • Layout: Provides attached properties for items pushed onto a GridLayout, RowLayout or ColumnLayout.

  • RowLayout: Identical to GridLayout, but having only one row.

  • StackLayout: The StackLayout class provides a stack of items where only one item is visible at a time.

Related Information

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