summaryrefslogtreecommitdiffstats
path: root/examples/declarative/connections
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2009-10-30 03:36:19 (GMT)
committerYann Bodson <yann.bodson@nokia.com>2009-10-30 03:36:19 (GMT)
commitf37e9d787bd418d8f75997a8d46c1c42e842c673 (patch)
tree8e11076675fa02740d5d5ca490b5dc09adc16bdf /examples/declarative/connections
parent72932c6683729071c1acb3f4832c5dc53a561bdd (diff)
downloadQt-f37e9d787bd418d8f75997a8d46c1c42e842c673.zip
Qt-f37e9d787bd418d8f75997a8d46c1c42e842c673.tar.gz
Qt-f37e9d787bd418d8f75997a8d46c1c42e842c673.tar.bz2
cleanup
Diffstat (limited to 'examples/declarative/connections')
-rw-r--r--examples/declarative/connections/connections.qml9
-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)bin23771 -> 23771 bytes
-rw-r--r--examples/declarative/connections/content/rotate-left.png (renamed from examples/declarative/connections/rotate-left.png)bin3061 -> 3061 bytes
-rw-r--r--examples/declarative/connections/content/rotate-right.png (renamed from examples/declarative/connections/rotate-right.png)bin3115 -> 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
index dfc7cee..dfc7cee 100644
--- a/examples/declarative/connections/bg1.jpg
+++ b/examples/declarative/connections/content/bg1.jpg
Binary files differ
diff --git a/examples/declarative/connections/rotate-left.png b/examples/declarative/connections/content/rotate-left.png
index c30387e..c30387e 100644
--- a/examples/declarative/connections/rotate-left.png
+++ b/examples/declarative/connections/content/rotate-left.png
Binary files differ
diff --git a/examples/declarative/connections/rotate-right.png b/examples/declarative/connections/content/rotate-right.png
index 1b05674..1b05674 100644
--- a/examples/declarative/connections/rotate-right.png
+++ b/examples/declarative/connections/content/rotate-right.png
Binary files differ