diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-05-02 19:47:36 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2018-10-15 18:21:42 +0200 |
commit | b067c5854c76a96b949ff0c092f74649fbda44fc (patch) | |
tree | 3330910c57aaba13de322e6257739669c2174872 /examples/qml/xxxxxx-qml-app.qml | |
parent | 44109a1ad1d92b0da2c88782217bbb8a1d1ff4aa (diff) |
Initial commit
Change-Id: I536251add63ef100b42a67e39a02fef117f2b414
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'examples/qml/xxxxxx-qml-app.qml')
-rw-r--r-- | examples/qml/xxxxxx-qml-app.qml | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/examples/qml/xxxxxx-qml-app.qml b/examples/qml/xxxxxx-qml-app.qml new file mode 100644 index 0000000..6333144 --- /dev/null +++ b/examples/qml/xxxxxx-qml-app.qml @@ -0,0 +1,34 @@ +import QtQuick 2.0 +import QtQuick.Window 2.0 +import QtQuick.Controls 1.4 + +Window { + // WINDOW PROPERTIES + + visible: true + width: 320 + height: 240 + + // WIDGETS + + Rectangle { + anchors.centerIn: parent + + Column { + Label { + text: "Hello World!" + font.pixelSize: 28 + font.bold: true + anchors.horizontalCenter: parent.horizontalCenter + } + Button { + text: "Quit" + onClicked: { Qt.quit() } + anchors.horizontalCenter: parent.horizontalCenter + } + anchors.centerIn: parent + spacing: 20 + } + } + +} |