Files
2025-02-02 17:08:58 +01:00

15 lines
381 B
QML

import QtQuick
import QtQuick.Controls as Controls
Controls.Label {
// Layout.fillWidth: true
wrapMode: Text.WordWrap
onLinkActivated: link => Qt.openUrlExternally(link)
MouseArea {
anchors.fill: parent
cursorShape: (parent as Controls.Label).hoveredLink == "" ? Qt.ArrowCursor : Qt.PointingHandCursor
acceptedButtons: Qt.NoButton
}
}