summaryrefslogtreecommitdiffstats
path: root/examples/declarative/clocks/clocks.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative/clocks/clocks.qml')
-rw-r--r--examples/declarative/clocks/clocks.qml15
1 files changed, 15 insertions, 0 deletions
diff --git a/examples/declarative/clocks/clocks.qml b/examples/declarative/clocks/clocks.qml
new file mode 100644
index 0000000..3235153
--- /dev/null
+++ b/examples/declarative/clocks/clocks.qml
@@ -0,0 +1,15 @@
+import Qt 4.6
+import "content"
+
+Rectangle {
+ width: childrenRect.width
+ height: childrenRect.height
+ color: "#646464"
+
+ Grid {
+ columns: 3
+ Clock { city: "New York"; shift: -4 }
+ Clock { city: "London" }
+ Clock { city: "Brisbane"; shift: 10 }
+ }
+}