2023-05-05 14:47:05 +00:00
import QtCore
import QtQuick
import QtQuick . Controls
import QtQuick . Controls . Basic
import QtQuick . Layouts
import download
import network
import llm
2023-07-06 14:53:43 +00:00
MyDialog {
2023-05-05 14:47:05 +00:00
id: abpoutDialog
anchors.centerIn: parent
modal: false
opacity: 0.9
padding: 20
width: 1024
height: column . height + 40
Theme {
id: theme
}
Column {
id: column
spacing: 20
Item {
width: childrenRect . width
height: childrenRect . height
Image {
id: img
anchors.top: parent . top
anchors.left: parent . left
width: 60
height: 60
source: "qrc:/gpt4all/icons/logo.svg"
}
Text {
anchors.left: img . right
anchors.leftMargin: 30
anchors.verticalCenter: img . verticalCenter
text: qsTr ( "About GPT4All" )
2023-08-07 17:54:13 +00:00
font.pixelSize: theme . fontSizeLarger
2023-05-05 14:47:05 +00:00
color: theme . textColor
}
}
ScrollView {
clip: true
height: 200
width: 1024 - 40
ScrollBar.vertical.policy: ScrollBar . AlwaysOn
ScrollBar.horizontal.policy: ScrollBar . AlwaysOff
TextArea {
id: welcome
wrapMode: Text . Wrap
width: 1024 - 40
padding: 20
textFormat: TextEdit . MarkdownText
text: qsTr ( "### Release notes\n" )
+ Download . releaseInfo . notes
+ qsTr ( "### Contributors\n" )
+ Download . releaseInfo . contributors
color: theme . textColor
2023-08-07 17:54:13 +00:00
font.pixelSize: theme . fontSizeLarge
2023-05-05 14:47:05 +00:00
focus: false
readOnly: true
Accessible.role: Accessible . Paragraph
Accessible.name: qsTr ( "Release notes" )
Accessible.description: qsTr ( "Release notes for this version" )
background: Rectangle {
color: theme . backgroundLight
radius: 10
}
}
}
Label {
id: discordLink
width: parent . width
2023-06-10 14:15:38 +00:00
textFormat: Text . StyledText
2023-05-05 14:47:05 +00:00
wrapMode: Text . WordWrap
text: qsTr ( "Check out our discord channel <a href=\"https://discord.gg/4M2QFmTt2k\">https://discord.gg/4M2QFmTt2k</a>" )
2023-08-07 17:54:13 +00:00
font.pixelSize: theme . fontSizeLarge
2023-05-05 14:47:05 +00:00
onLinkActivated: { Qt . openUrlExternally ( "https://discord.gg/4M2QFmTt2k" ) }
color: theme . textColor
linkColor: theme . linkColor
Accessible.role: Accessible . Link
Accessible.name: qsTr ( "Discord link" )
}
Label {
id: nomicProps
width: parent . width
2023-06-10 14:15:38 +00:00
textFormat: Text . StyledText
2023-05-05 14:47:05 +00:00
wrapMode: Text . WordWrap
text: qsTr ( "Thank you to <a href=\"https://home.nomic.ai\">Nomic AI</a> and the community for contributing so much great data, code, ideas, and energy to the growing open source AI ecosystem!" )
2023-08-07 17:54:13 +00:00
font.pixelSize: theme . fontSizeLarge
2023-05-05 14:47:05 +00:00
onLinkActivated: { Qt . openUrlExternally ( "https://home.nomic.ai" ) }
color: theme . textColor
linkColor: theme . linkColor
Accessible.role: Accessible . Paragraph
Accessible.name: qsTr ( "Thank you blurb" )
Accessible.description: qsTr ( "Contains embedded link to https://home.nomic.ai" )
}
}
}