forked from qt-creator/qt-creator
Change-Id: I92842c7859514397748e744949688090154772df Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
31 lines
488 B
QML
31 lines
488 B
QML
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() }
|
|
}
|
|
}
|
|
}
|