summaryrefslogtreecommitdiffstats
path: root/examples/declarative/modelviews/webview/inline-html.qml
blob: eec7fc6f76f14db8bcb21dd6329e05d2e4595c4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import Qt 4.7
import org.webkit 1.0

// 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>"
}