summaryrefslogtreecommitdiffstats
path: root/examples/qml/xxxxxx-qml-app.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qml/xxxxxx-qml-app.qml')
-rw-r--r--examples/qml/xxxxxx-qml-app.qml34
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
+ }
+ }
+
+}