summaryrefslogtreecommitdiffstats
path: root/demos/declarative/webbrowser/content
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-04-30 04:54:49 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-04-30 04:54:49 (GMT)
commitf2fb6b63c6e5572d02245c64da652f13174588b9 (patch)
treeb12510b317cf9f01ecf01f9d4f082864207fc1b8 /demos/declarative/webbrowser/content
parent0204346fb91eaf73893b651438980cb9ca5f1f51 (diff)
downloadQt-f2fb6b63c6e5572d02245c64da652f13174588b9.zip
Qt-f2fb6b63c6e5572d02245c64da652f13174588b9.tar.gz
Qt-f2fb6b63c6e5572d02245c64da652f13174588b9.tar.bz2
Convert all examples and demos from XML format
Diffstat (limited to 'demos/declarative/webbrowser/content')
-rw-r--r--demos/declarative/webbrowser/content/RectSoftShadow.qml40
1 files changed, 30 insertions, 10 deletions
diff --git a/demos/declarative/webbrowser/content/RectSoftShadow.qml b/demos/declarative/webbrowser/content/RectSoftShadow.qml
index 2b39422..5817f00 100644
--- a/demos/declarative/webbrowser/content/RectSoftShadow.qml
+++ b/demos/declarative/webbrowser/content/RectSoftShadow.qml
@@ -1,10 +1,30 @@
-<Item>
- <Image source="pics/softshadow-left.sci" x="-16" y="-16"
- width="16" height="{parent.height+32}" />
- <Image source="pics/softshadow-right.sci" x="{parent.width}" y="-16"
- width="16" height="{parent.height+32}" />
- <Image source="pics/softshadow-top.png" x="0" y="-16"
- width="{parent.width}" height="16" />
- <Image source="pics/softshadow-bottom.png" x="0" y="{parent.height}"
- width="{webview.width*webview.scale}" height="16" />
-</Item>
+Item {
+ Image {
+ source: "pics/softshadow-left.sci"
+ x: -16
+ y: -16
+ width: 16
+ height: parent.height+32
+ }
+ Image {
+ source: "pics/softshadow-right.sci"
+ x: parent.width
+ y: -16
+ width: 16
+ height: parent.height+32
+ }
+ Image {
+ source: "pics/softshadow-top.png"
+ x: 0
+ y: -16
+ width: parent.width
+ height: 16
+ }
+ Image {
+ source: "pics/softshadow-bottom.png"
+ x: 0
+ y: parent.height
+ width: webview.width*webview.scale
+ height: 16
+ }
+}