Skip to content

Commit

Permalink
Update ChatView.qml
Browse files Browse the repository at this point in the history
Include links for Documentation and FAQ for new users on the "new chat view".


Co-authored-by: ThiloteE <[email protected]>

Signed-off-by: 3Simplex <[email protected]>
  • Loading branch information
3Simplex authored and manyoso committed Apr 1, 2024
1 parent 4852d39 commit 4f6c43a
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions gpt4all-chat/qml/ChatView.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4f6c43a

Please sign in to comment.