From 2d58b60b452f1bd3cc2b6ba3d159fe650de2ff91 Mon Sep 17 00:00:00 2001 From: Blagovest Petrov Date: Thu, 18 Feb 2021 01:16:37 +0200 Subject: [PATCH] Added pointing hand cursor and url opener for the website of the radio when clicked on the logo Signed-off-by: Blagovest Petrov --- main.qml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/main.qml b/main.qml index 2603eb6..5998a8d 100644 --- a/main.qml +++ b/main.qml @@ -137,8 +137,17 @@ Window { height: 175 fillMode: Image.PreserveAspectFit source: "Resources/logo.png" + MouseArea { + anchors.fill: parent + cursorShape: Qt.PointingHandCursor + onPressed: { + Qt.openUrlExternally("http://radiotangra.com") + } + } } + + // Text { // id: element // x: 17