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>
This commit is contained in:
3Simplex 2024-03-30 14:02:27 -04:00 committed by AT
parent 4852d39699
commit 4f6c43aec9

View File

@ -841,6 +841,32 @@ Rectangle {
}
}
Text {
Layout.alignment: Qt.AlignHCenter
textFormat: Text.StyledText
text: qsTr(
"<p></p><a href=\"https://docs.gpt4all.io/index.html\">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(
"<a href=\"https://docs.gpt4all.io/gpt4all_faq.html\">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