Code
This commit is contained in:
27
main.qml
Normal file
27
main.qml
Normal file
@@ -0,0 +1,27 @@
|
||||
import QtQuick 2.9
|
||||
import QtQuick.Controls 1.3
|
||||
import QtQuick.Window 2.2
|
||||
|
||||
Window {
|
||||
id: window
|
||||
visible: true
|
||||
width: 640
|
||||
height: 480
|
||||
title: qsTr("Hello World")
|
||||
|
||||
Text {
|
||||
id: helloText
|
||||
x: 0
|
||||
text: "Hello world!"
|
||||
y: 99
|
||||
anchors.horizontalCenter: page.horizontalCenter
|
||||
font.pointSize: 24; font.bold: true
|
||||
}
|
||||
|
||||
Button {
|
||||
text: "party hard 2";
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
onClicked: mgmt.trigger();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user