diff options
Diffstat (limited to 'tests/manual/layoutbuilder/comparison/quick/Main.qml')
-rw-r--r-- | tests/manual/layoutbuilder/comparison/quick/Main.qml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/tests/manual/layoutbuilder/comparison/quick/Main.qml b/tests/manual/layoutbuilder/comparison/quick/Main.qml new file mode 100644 index 00000000000..617b573caaa --- /dev/null +++ b/tests/manual/layoutbuilder/comparison/quick/Main.qml @@ -0,0 +1,30 @@ +import QtQuick +import QtQuick.Controls +import QtQuick.Layouts + +ApplicationWindow +{ + width: 640 + height: 480 + visible: true + title: "Hello World" + + ColumnLayout { + anchors.fill: parent + + Text { + Layout.fillHeight: true + Layout.fillWidth: true + + text: "Hallo" + } + + Button { + text: "Quit" + height: 20 + Layout.fillWidth: true + + onClicked: { Qt.quit() } + } + } +} |