summaryrefslogtreecommitdiffstats
path: root/examples/declarative/webview/inline-html.qml
blob: 23b4555e50b3cbc4d1d79f23401b68760e72d255 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import Qt 4.6

// Inline HTML with loose formatting can be
// set on the html property.
WebView {
    html:"\
        <body bgcolor=white>\
        <table border=1>\
            <tr><th><th>One<th>Two<th>Three\
            <tr><th>1<td>X<td>1<td>X\
            <tr><th>2<td>0<td>X<td>0\
            <tr><th>3<td>X<td>1<td>X\
        </table>"
}