Added basic text support

This commit is contained in:
2025-02-07 18:56:23 +02:00
parent 492d3d5ef8
commit 854469166a

View File

@ -4,5 +4,22 @@ Window {
width: 640 width: 640
height: 480 height: 480
visible: true visible: true
title: qsTr("Hello World") title: qsTr("Lifespan viewer")
minimumWidth: 200
minimumHeight: 150
Rectangle {
anchors.verticalCenter: parent.verticalCenter
anchors.horizontalCenter: parent.horizontalCenter
Text {
id: emptyText
anchors.verticalCenter: parent.verticalCenter
anchors.horizontalCenter: parent.horizontalCenter
text: qsTr("This view is currently empty :(")
height: parent.height
}
}
} }