|
|
@ -7,7 +7,6 @@ TextEdit { |
|
|
|
readOnly: true |
|
|
|
readOnly: true |
|
|
|
wrapMode: Text.Wrap |
|
|
|
wrapMode: Text.Wrap |
|
|
|
selectByMouse: true |
|
|
|
selectByMouse: true |
|
|
|
activeFocusOnPress: false |
|
|
|
|
|
|
|
color: colors.text |
|
|
|
color: colors.text |
|
|
|
onLinkActivated: { |
|
|
|
onLinkActivated: { |
|
|
|
if (/^https:\/\/matrix.to\/#\/(@.*)$/.test(link)) { |
|
|
|
if (/^https:\/\/matrix.to\/#\/(@.*)$/.test(link)) { |
|
|
@ -29,7 +28,6 @@ TextEdit { |
|
|
|
id: ma |
|
|
|
id: ma |
|
|
|
|
|
|
|
|
|
|
|
anchors.fill: parent |
|
|
|
anchors.fill: parent |
|
|
|
propagateComposedEvents: true |
|
|
|
|
|
|
|
acceptedButtons: Qt.NoButton |
|
|
|
acceptedButtons: Qt.NoButton |
|
|
|
cursorShape: parent.hoveredLink ? Qt.PointingHandCursor : Qt.ArrowCursor |
|
|
|
cursorShape: parent.hoveredLink ? Qt.PointingHandCursor : Qt.ArrowCursor |
|
|
|
} |
|
|
|
} |
|
|
|