aboutsummaryrefslogtreecommitdiffstats
path: root/examples/aglextras/helloworld/qml/helloworld/main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/aglextras/helloworld/qml/helloworld/main.qml')
-rw-r--r--examples/aglextras/helloworld/qml/helloworld/main.qml15
1 files changed, 15 insertions, 0 deletions
diff --git a/examples/aglextras/helloworld/qml/helloworld/main.qml b/examples/aglextras/helloworld/qml/helloworld/main.qml
new file mode 100644
index 0000000..f0c5be1
--- /dev/null
+++ b/examples/aglextras/helloworld/qml/helloworld/main.qml
@@ -0,0 +1,15 @@
+import QtQuick 2.0
+
+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
+ }
+}