|
|
@ -9,36 +9,37 @@ Window {
|
|
|
|
visible: true
|
|
|
|
visible: true
|
|
|
|
title: qsTr("GPT4All Chat")
|
|
|
|
title: qsTr("GPT4All Chat")
|
|
|
|
|
|
|
|
|
|
|
|
Rectangle {
|
|
|
|
// Rectangle {
|
|
|
|
id: conversationList
|
|
|
|
// id: conversationList
|
|
|
|
width: 300
|
|
|
|
// width: 300
|
|
|
|
anchors.left: parent.left
|
|
|
|
// anchors.left: parent.left
|
|
|
|
anchors.top: parent.top
|
|
|
|
// anchors.top: parent.top
|
|
|
|
anchors.bottom: parent.bottom
|
|
|
|
// anchors.bottom: parent.bottom
|
|
|
|
color: "#202123"
|
|
|
|
// color: "#202123"
|
|
|
|
|
|
|
|
|
|
|
|
Button {
|
|
|
|
// Button {
|
|
|
|
id: newChat
|
|
|
|
// id: newChat
|
|
|
|
text: qsTr("New chat")
|
|
|
|
// text: qsTr("New chat")
|
|
|
|
anchors.top: parent.top
|
|
|
|
// anchors.top: parent.top
|
|
|
|
anchors.left: parent.left
|
|
|
|
// anchors.left: parent.left
|
|
|
|
anchors.right: parent.right
|
|
|
|
// anchors.right: parent.right
|
|
|
|
anchors.margins: 15
|
|
|
|
// anchors.margins: 15
|
|
|
|
padding: 15
|
|
|
|
// padding: 15
|
|
|
|
background: Rectangle {
|
|
|
|
// background: Rectangle {
|
|
|
|
opacity: .5
|
|
|
|
// opacity: .5
|
|
|
|
border.color: "#7d7d8e"
|
|
|
|
// border.color: "#7d7d8e"
|
|
|
|
border.width: 1
|
|
|
|
// border.width: 1
|
|
|
|
radius: 10
|
|
|
|
// radius: 10
|
|
|
|
color: "#343541"
|
|
|
|
// color: "#343541"
|
|
|
|
}
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
Rectangle {
|
|
|
|
Rectangle {
|
|
|
|
id: conversation
|
|
|
|
id: conversation
|
|
|
|
color: "#343541"
|
|
|
|
color: "#343541"
|
|
|
|
anchors.left: conversationList.right
|
|
|
|
// anchors.left: conversationList.right
|
|
|
|
|
|
|
|
anchors.left: parent.left
|
|
|
|
anchors.right: parent.right
|
|
|
|
anchors.right: parent.right
|
|
|
|
anchors.bottom: parent.bottom
|
|
|
|
anchors.bottom: parent.bottom
|
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.top: parent.top
|
|
|
|