aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquicktextdocument/data/sideBySideIndependentReverse.qml
blob: cbd92acceca59a98b4f81336fa0eb63833b15311 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import QtQuick

Row {
    width: 480; height: 200
    TextEdit {
        objectName: "plain"
        width: parent.width / 2 - 1
        textDocument.source: "hello.md"
        textFormat: TextEdit.PlainText
    }
    Rectangle {
        width: 2; height: parent.height
        color: "lightsteelblue"
    }
    TextEdit {
        objectName: "markdown"
        width: parent.width / 2 - 1
        textDocument.source: "hello.md"
        textFormat: TextEdit.MarkdownText
    }
}