summaryrefslogtreecommitdiffstats
path: root/examples/declarative/toys/clocks/clocks.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative/toys/clocks/clocks.qml')
-rw-r--r--examples/declarative/toys/clocks/clocks.qml14
1 files changed, 14 insertions, 0 deletions
diff --git a/examples/declarative/toys/clocks/clocks.qml b/examples/declarative/toys/clocks/clocks.qml
new file mode 100644
index 0000000..22cf820
--- /dev/null
+++ b/examples/declarative/toys/clocks/clocks.qml
@@ -0,0 +1,14 @@
+import Qt 4.7
+import "content"
+
+Rectangle {
+ width: 640; height: 240
+ color: "#646464"
+
+ Row {
+ anchors.centerIn: parent
+ Clock { city: "New York"; shift: -4 }
+ Clock { city: "Mumbai"; shift: 5.5 }
+ Clock { city: "Tokyo"; shift: 9 }
+ }
+}