summaryrefslogtreecommitdiffstats
path: root/examples/declarative/connections/content
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/content
parent72932c6683729071c1acb3f4832c5dc53a561bdd (diff)
downloadQt-f37e9d787bd418d8f75997a8d46c1c42e842c673.zip
Qt-f37e9d787bd418d8f75997a8d46c1c42e842c673.tar.gz
Qt-f37e9d787bd418d8f75997a8d46c1c42e842c673.tar.bz2
cleanup
Diffstat (limited to 'examples/declarative/connections/content')
-rw-r--r--examples/declarative/connections/content/Button.qml12
-rw-r--r--examples/declarative/connections/content/bg1.jpgbin0 -> 23771 bytes
-rw-r--r--examples/declarative/connections/content/rotate-left.pngbin0 -> 3061 bytes
-rw-r--r--examples/declarative/connections/content/rotate-right.pngbin0 -> 3115 bytes
4 files changed, 12 insertions, 0 deletions
diff --git a/examples/declarative/connections/content/Button.qml b/examples/declarative/connections/content/Button.qml
new file mode 100644
index 0000000..1d46acc
--- /dev/null
+++ b/examples/declarative/connections/content/Button.qml
@@ -0,0 +1,12 @@
+import Qt 4.6
+
+Item {
+ id: button
+ width: 48; height: 48
+
+ property alias image: icon.source
+ signal clicked
+
+ Image { id: icon }
+ MouseRegion { anchors.fill: icon; onClicked: button.clicked() }
+}
diff --git a/examples/declarative/connections/content/bg1.jpg b/examples/declarative/connections/content/bg1.jpg
new file mode 100644
index 0000000..dfc7cee
--- /dev/null
+++ b/examples/declarative/connections/content/bg1.jpg
Binary files differ
diff --git a/examples/declarative/connections/content/rotate-left.png b/examples/declarative/connections/content/rotate-left.png
new file mode 100644
index 0000000..c30387e
--- /dev/null
+++ b/examples/declarative/connections/content/rotate-left.png
Binary files differ
diff --git a/examples/declarative/connections/content/rotate-right.png b/examples/declarative/connections/content/rotate-right.png
new file mode 100644
index 0000000..1b05674
--- /dev/null
+++ b/examples/declarative/connections/content/rotate-right.png
Binary files differ