summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/visual/webview/settings/fontFamily.qml
blob: 2bb2a534c02d577fa944cabdca1c15f23a6f9343 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import Qt 4.6

WebView {
    id: web
    width: 200
    height: 200
    Column {
        anchors.fill: parent
        Text { text: "standard: " + web.settings.standardFontFamily }
        Text { text: "fixed: " + web.settings.fixedFontFamily }
        Text { text: "serif: " + web.settings.serifFontFamily }
        Text { text: "sansserif: " + web.settings.sansSerifFontFamily }
        Text { text: "cursive: " + web.settings.cursiveFontFamily }
        Text { text: "fantasy: " + web.settings.fantasyFontFamily }
    }
}