diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-05-02 19:47:36 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2017-05-02 19:47:36 +0200 |
commit | 64ffd7a9f9604805c01f8bb2fd32616c3adf3ec0 (patch) | |
tree | 264e2743e509b8d7993bc5550ce6140dfc4b151f /examples/qml/xxxxxx-qml-app.qml | |
parent | 6d75b83627114cecd7992bb460f6908268a57967 (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 + } + } + +} |