diff options
author | Yann Bodson <yann.bodson@nokia.com> | 2009-10-30 03:36:19 (GMT) |
---|---|---|
committer | Yann Bodson <yann.bodson@nokia.com> | 2009-10-30 03:36:19 (GMT) |
commit | f37e9d787bd418d8f75997a8d46c1c42e842c673 (patch) | |
tree | 8e11076675fa02740d5d5ca490b5dc09adc16bdf /examples/declarative/connections | |
parent | 72932c6683729071c1acb3f4832c5dc53a561bdd (diff) | |
download | Qt-f37e9d787bd418d8f75997a8d46c1c42e842c673.zip Qt-f37e9d787bd418d8f75997a8d46c1c42e842c673.tar.gz Qt-f37e9d787bd418d8f75997a8d46c1c42e842c673.tar.bz2 |
cleanup
Diffstat (limited to 'examples/declarative/connections')
-rw-r--r-- | examples/declarative/connections/connections.qml | 9 | ||||
-rw-r--r-- | examples/declarative/connections/content/Button.qml (renamed from examples/declarative/connections/Button.qml) | 0 | ||||
-rw-r--r-- | examples/declarative/connections/content/bg1.jpg (renamed from examples/declarative/connections/bg1.jpg) | bin | 23771 -> 23771 bytes | |||
-rw-r--r-- | examples/declarative/connections/content/rotate-left.png (renamed from examples/declarative/connections/rotate-left.png) | bin | 3061 -> 3061 bytes | |||
-rw-r--r-- | examples/declarative/connections/content/rotate-right.png (renamed from examples/declarative/connections/rotate-right.png) | bin | 3115 -> 3115 bytes |
5 files changed, 5 insertions, 4 deletions
diff --git a/examples/declarative/connections/connections.qml b/examples/declarative/connections/connections.qml index 5dc211e..07f71bb 100644 --- a/examples/declarative/connections/connections.qml +++ b/examples/declarative/connections/connections.qml @@ -1,7 +1,8 @@ import Qt 4.6 +import "content" Rectangle { - id: window; color: "#343434" + id: window; color: "#646464" width: 640; height: 480 function turnLeft() { @@ -12,16 +13,16 @@ Rectangle { } Image { - id: image; source: "bg1.jpg"; anchors.centerIn: parent; transformOrigin: Item.Center + id: image; source: "content/bg1.jpg"; anchors.centerIn: parent; transformOrigin: Item.Center rotation: Behavior { NumberAnimation { easing: "easeOutCubic"; duration: 300 } } } Button { - id: leftButton; image: "rotate-left.png" + id: leftButton; image: "content/rotate-left.png" anchors { left: parent.left; bottom: parent.bottom; leftMargin: 10; bottomMargin: 10 } } Button { - id: rightButton; image: "rotate-right.png" + id: rightButton; image: "content/rotate-right.png" anchors { right: parent.right; bottom: parent.bottom; rightMargin: 10; bottomMargin: 10 } } diff --git a/examples/declarative/connections/Button.qml b/examples/declarative/connections/content/Button.qml index 1d46acc..1d46acc 100644 --- a/examples/declarative/connections/Button.qml +++ b/examples/declarative/connections/content/Button.qml diff --git a/examples/declarative/connections/bg1.jpg b/examples/declarative/connections/content/bg1.jpg Binary files differindex dfc7cee..dfc7cee 100644 --- a/examples/declarative/connections/bg1.jpg +++ b/examples/declarative/connections/content/bg1.jpg diff --git a/examples/declarative/connections/rotate-left.png b/examples/declarative/connections/content/rotate-left.png Binary files differindex c30387e..c30387e 100644 --- a/examples/declarative/connections/rotate-left.png +++ b/examples/declarative/connections/content/rotate-left.png diff --git a/examples/declarative/connections/rotate-right.png b/examples/declarative/connections/content/rotate-right.png Binary files differindex 1b05674..1b05674 100644 --- a/examples/declarative/connections/rotate-right.png +++ b/examples/declarative/connections/content/rotate-right.png |