summaryrefslogtreecommitdiffstats
path: root/demos/declarative/webbrowser/content/RectSoftShadow.qml
blob: 5b278ac18386aecabd5efd8ff4330cfec660c171 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import Qt 4.6

Item {
    BorderImage {
        source: "pics/softshadow-left.sci"
        x: -16
        y: -16
        width: 16
        height: parent.height+32
    }
    BorderImage {
        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
    }
}