From 6367828036b8a74584454e66a19415772cb41758 Mon Sep 17 00:00:00 2001 From: bbedward Date: Tue, 19 Aug 2025 19:37:44 -0400 Subject: [PATCH] MouseArea for links --- Modules/Settings/AboutTab.qml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/Modules/Settings/AboutTab.qml b/Modules/Settings/AboutTab.qml index eeff0074..c91e35ef 100644 --- a/Modules/Settings/AboutTab.qml +++ b/Modules/Settings/AboutTab.qml @@ -68,6 +68,13 @@ Item { horizontalAlignment: Text.AlignHCenter width: parent.width wrapMode: Text.WordWrap + + MouseArea { + anchors.fill: parent + cursorShape: parent.hoveredLink ? Qt.PointingHandCursor : Qt.ArrowCursor + acceptedButtons: Qt.NoButton + propagateComposedEvents: true + } } } @@ -121,6 +128,13 @@ Item { color: Theme.surfaceVariantText width: parent.width wrapMode: Text.WordWrap + + MouseArea { + anchors.fill: parent + cursorShape: parent.hoveredLink ? Qt.PointingHandCursor : Qt.ArrowCursor + acceptedButtons: Qt.NoButton + propagateComposedEvents: true + } } } @@ -221,6 +235,13 @@ Item { color: Theme.surfaceVariantText linkColor: Theme.primary onLinkActivated: (url) => Qt.openUrlExternally(url) + + MouseArea { + anchors.fill: parent + cursorShape: parent.hoveredLink ? Qt.PointingHandCursor : Qt.ArrowCursor + acceptedButtons: Qt.NoButton + propagateComposedEvents: true + } } StyledText { @@ -236,6 +257,13 @@ Item { color: Theme.surfaceVariantText linkColor: Theme.primary onLinkActivated: (url) => Qt.openUrlExternally(url) + + MouseArea { + anchors.fill: parent + cursorShape: parent.hoveredLink ? Qt.PointingHandCursor : Qt.ArrowCursor + acceptedButtons: Qt.NoButton + propagateComposedEvents: true + } } }