From c6ed2c885219df1333e39cf9de388d89a6fab30e Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Fri, 22 May 2020 19:33:36 -0400 Subject: [PATCH] add mouse hand pointer to chat list; add simple FAQ (testing QT urls) add mouse hand pointer to chat list; add simple FAQ (testing QT urls) refactor wallet to use asset model move some of wallet logic away from the controller move ChatMessage to model move chatItem model organize models folder simplify chat message and chat item rename messageList to message_list simply addresses in the controller rename mailservers list refactor how profile is set refactor/simplify profile view refactor/simplify adding mailservers rename wallet view simplify wallet assets rename nodeView to view extract channel list view extract channel list view refactor channel list / chats view move signals out of app folder simplify callRPC add raw rpc method and make node section use it add node model move accounts model inside onboard controller (for now) make events usage consistent among models and controllers; separate model events from app events make mouse show hand cursor when hovering over chat list add FAQ url --- ui/app/AppLayouts/Chat/ChatLayout.qml | 1 + ui/app/AppLayouts/Profile/ProfileLayout.qml | 12 ++++++++++++ 2 files changed, 13 insertions(+) diff --git a/ui/app/AppLayouts/Chat/ChatLayout.qml b/ui/app/AppLayouts/Chat/ChatLayout.qml index 003f87c8eb..533b8ad1d0 100644 --- a/ui/app/AppLayouts/Chat/ChatLayout.qml +++ b/ui/app/AppLayouts/Chat/ChatLayout.qml @@ -145,6 +145,7 @@ SplitView { height: isVisible ? 64 : 0 MouseArea { + cursorShape: Qt.PointingHandCursor; anchors.fill: parent onClicked: { chatsModel.setActiveChannelByIndex(index) diff --git a/ui/app/AppLayouts/Profile/ProfileLayout.qml b/ui/app/AppLayouts/Profile/ProfileLayout.qml index ee821a891d..96adcbe1bd 100644 --- a/ui/app/AppLayouts/Profile/ProfileLayout.qml +++ b/ui/app/AppLayouts/Profile/ProfileLayout.qml @@ -205,6 +205,18 @@ Item { font.weight: Font.Bold font.pixelSize: 20 } + + Text { + anchors.centerIn: parent + text: "Frequently asked questions" + onLinkActivated: Qt.openUrlExternally(link) + + MouseArea { + anchors.fill: parent + acceptedButtons: Qt.NoButton // we don't want to eat clicks on the Text + cursorShape: parent.hoveredLink ? Qt.PointingHandCursor : Qt.ArrowCursor + } + } } Item {