Qt Quick Layouts QML Types

Il Qt Quick Layouts modulo fornisce tipi QML per disporre gli elementi QML in un'interfaccia utente. Questi tipi QML funzionano in combinazione con Qt Quick e con i controlliQt Quick .

I tipi QML possono essere importati nell’applicazione utilizzando la seguente istruzione di importazione nel file .qml.

import QtQuick.Layouts

ColumnLayout

Identico a GridLayout, ma con una sola colonna

FlexboxLayout

Il costrutto QML fornisce un layout flessibile per gli elementi Quick

GridLayout

Fornisce un modo per disporre dinamicamente gli elementi in una griglia

Layout

Fornisce proprietà associate per gli elementi inseriti in un GridLayout, RowLayout o ColumnLayout

LayoutItemProxy

Segnaposto per gli elementi QQuickItem nei layout

RowLayout

Identico a GridLayout, ma con una sola riga

StackLayout

Pila di elementi in cui è visibile un solo elemento alla volta

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.