summaryrefslogtreecommitdiffstats
path: root/examples/declarative/webview/transparent.qml
blob: 9332f3e9bf5edc9e108185d66eef78b853074260 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import Qt 4.6

// The WebView background is transparent
// if the HTML does not specify a background
Rectangle {
    color: "green"
    width: web.width
    height: web.height
    WebView {
        id: web
        html: "Hello <b>World!</b>"
    }
}