Qt Quick Layouts QML Types

Das Modul Qt Quick Layouts bietet QML-Typen für die Anordnung von QML-Elementen in einer Benutzeroberfläche. Diese QML-Typen arbeiten in Verbindung mit Qt Quick und Qt Quick Controls.

Die QML-Typen können in Ihre Anwendung importiert werden, indem Sie die folgende Import-Anweisung in Ihrer .qml-Datei verwenden.

import QtQuick.Layouts

ColumnLayout

Identisch mit GridLayout, aber mit nur einer Spalte

GridLayout

Bietet eine Möglichkeit zur dynamischen Anordnung von Elementen in einem Raster

Layout

Bietet angehängte Eigenschaften für Elemente, die in ein GridLayout, RowLayout oder ColumnLayout verschoben werden

LayoutItemProxy

Platzhalter für QQuickItems in Layouts

RowLayout

Identisch mit GridLayout, aber mit nur einer Zeile

StackLayout

Stapel von Elementen, von denen jeweils nur ein Element sichtbar ist

© 2025 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.