blob: 8275e7f5bd4b7787c4319406e939f3e766cf0466 (
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
textFormat: TextEdit.PlainText
textDocument.source: "hello.md"
}
Rectangle {
width: 2; height: parent.height
color: "lightsteelblue"
}
TextEdit {
objectName: "markdown"
width: parent.width / 2 - 1
textFormat: TextEdit.MarkdownText
textDocument.source: "hello.md"
}
}
|