|
|
@ -5,7 +5,8 @@ TextEdit { |
|
|
|
textFormat: TextEdit.RichText |
|
|
|
textFormat: TextEdit.RichText |
|
|
|
readOnly: true |
|
|
|
readOnly: true |
|
|
|
wrapMode: Text.Wrap |
|
|
|
wrapMode: Text.Wrap |
|
|
|
selectByMouse: ma.containsMouse // try to make scrollable by finger but selectable by mouse |
|
|
|
selectByMouse: true |
|
|
|
|
|
|
|
activeFocusOnPress: false |
|
|
|
color: colors.text |
|
|
|
color: colors.text |
|
|
|
|
|
|
|
|
|
|
|
onLinkActivated: { |
|
|
|
onLinkActivated: { |
|
|
@ -23,7 +24,6 @@ TextEdit { |
|
|
|
id: ma |
|
|
|
id: ma |
|
|
|
anchors.fill: parent |
|
|
|
anchors.fill: parent |
|
|
|
propagateComposedEvents: true |
|
|
|
propagateComposedEvents: true |
|
|
|
hoverEnabled: true |
|
|
|
|
|
|
|
acceptedButtons: Qt.NoButton |
|
|
|
acceptedButtons: Qt.NoButton |
|
|
|
cursorShape: parent.hoveredLink ? Qt.PointingHandCursor : Qt.ArrowCursor |
|
|
|
cursorShape: parent.hoveredLink ? Qt.PointingHandCursor : Qt.ArrowCursor |
|
|
|
} |
|
|
|
} |
|
|
|