From 4f6c43aec9d7739abda0b1a9785be11d4a4f2dba Mon Sep 17 00:00:00 2001 From: 3Simplex <10260755+3Simplex@users.noreply.github.com> Date: Sat, 30 Mar 2024 14:02:27 -0400 Subject: [PATCH] Update ChatView.qml Include links for Documentation and FAQ for new users on the "new chat view". Co-authored-by: ThiloteE <73715071+ThiloteE@users.noreply.github.com> Signed-off-by: 3Simplex <10260755+3Simplex@users.noreply.github.com> --- gpt4all-chat/qml/ChatView.qml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gpt4all-chat/qml/ChatView.qml b/gpt4all-chat/qml/ChatView.qml index 53bda055..77de2f38 100644 --- a/gpt4all-chat/qml/ChatView.qml +++ b/gpt4all-chat/qml/ChatView.qml @@ -841,6 +841,32 @@ Rectangle { } } + Text { + Layout.alignment: Qt.AlignHCenter + textFormat: Text.StyledText + text: qsTr( + "
Documentation + ") + onLinkActivated: { Qt.openUrlExternally("https://docs.gpt4all.io/index.html") } + color: theme.textColor + linkColor: theme.linkColor + font.pixelSize: theme.fontSizeLarge + wrapMode: Text.WordWrap + } + + Text { + Layout.alignment: Qt.AlignHCenter + textFormat: Text.StyledText + text: qsTr( + "Frequently Asked Questions + ") + onLinkActivated: { Qt.openUrlExternally("https://docs.gpt4all.io/gpt4all_faq.html") } + color: theme.textColor + linkColor: theme.linkColor + font.pixelSize: theme.fontSizeLarge + wrapMode: Text.WordWrap + } + MyButton { id: downloadButton visible: LLM.isNetworkOnline