From 49755a3271a19ab8e441406c7095e283a2d6241e Mon Sep 17 00:00:00 2001 From: "kali kaneko (leap communications)" Date: Wed, 6 Oct 2021 19:23:00 +0200 Subject: [ui] pointing hand for locations and buttons --- gui/components/Locations.qml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'gui/components/Locations.qml') diff --git a/gui/components/Locations.qml b/gui/components/Locations.qml index 097f9fe..624d5a0 100644 --- a/gui/components/Locations.qml +++ b/gui/components/Locations.qml @@ -1,4 +1,4 @@ -import QtQuick 2.9 +import QtQuick 2.15 import QtQuick.Controls 2.2 import QtQuick.Layouts 1.14 import QtGraphicalEffects 1.0 @@ -60,7 +60,7 @@ ThemedPage { id: recommendedLabel //: Location Selection: label for radio button that selects automatically text: qsTr("Recommended") - font.weight: Font.Bold + font.weight: Font.Bold font.bold: true } WrappedRadioButton { @@ -72,6 +72,9 @@ ThemedPage { top: recommendedLabel.bottom leftMargin: -5 } + HoverHandler { + cursorShape: Qt.PointingHandCursor + } onClicked: { root.selectedGateway = "auto" console.debug("Selected gateway: auto") @@ -131,11 +134,11 @@ ThemedPage { color: "gray" visible: isBridgeSelected() wrapMode: Text.Wrap + font.pixelSize: Theme.fontSize - 3 anchors { topMargin: 5 top: manualLabel.bottom } - font.pixelSize: Theme.fontSize - 3 } ColumnLayout { @@ -160,6 +163,9 @@ ThemedPage { ButtonGroup.group: locsel checked: false enabled: locationPage.switching ? false : true + HoverHandler { + cursorShape: Qt.PointingHandCursor + } onClicked: { if (ctx.status == "on") { locationPage.switching = true -- cgit v1.2.3