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

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