22 lines
325 B
QML
22 lines
325 B
QML
import QtQuick 2.5
|
|
import QtQuick.Window 2.2
|
|
|
|
Window {
|
|
visible: true
|
|
width: 320
|
|
height: 480
|
|
Rectangle {
|
|
id: page
|
|
width: 320; height: 480
|
|
color: "lightgray"
|
|
|
|
Text {
|
|
id: helloText
|
|
text: "Hello world!"
|
|
y: 30
|
|
anchors.horizontalCenter: page.horizontalCenter
|
|
font.pointSize: 24; font.bold: true
|
|
}
|
|
}
|
|
}
|