blob: 3227d54572c04c106aa71f286acc2b7dba8d6ade (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
import QtQuick 2.9
import "../components" as MonzeroComponents
TextEdit {
color: MonzeroComponents.Style.defaultFontColor
font.family: MonzeroComponents.Style.fontRegular.name
selectionColor: MonzeroComponents.Style.textSelectionColor
wrapMode: Text.Wrap
readOnly: true
selectByMouse: true
// Workaround for https://bugreports.qt.io/browse/QTBUG-50587
onFocusChanged: {
if(focus === false)
deselect()
}
}
|