23 lines
578 B
QML
23 lines
578 B
QML
import QtQuick 2.12
|
|
|
|
import org.kde.kirigami 2.4 as Kirigami
|
|
|
|
TextEdit {
|
|
text: "<style>pre {white-space: pre-wrap} a{color: " + Kirigami.Theme.linkColor + ";} .user-pill{}</style>" + model.display
|
|
|
|
font {
|
|
pixelSize: Kirigami.Theme.defaultFont.pixelSize * 1.2
|
|
family: Kirigami.Theme.defaultFont.family
|
|
}
|
|
|
|
color: Kirigami.Theme.textColor
|
|
selectionColor: Kirigami.Theme.highlightColor
|
|
selectedTextColor: Kirigami.Theme.highlightedTextColor
|
|
|
|
selectByMouse: true
|
|
readOnly: true
|
|
wrapMode: Text.Wrap
|
|
textFormat: Text.RichText
|
|
}
|
|
|