mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-09-06 11:00:48 +00:00
Start fleshing out the localdocs ui.
This commit is contained in:
36
gpt4all-chat/qml/LocalDocs.qml
Normal file
36
gpt4all-chat/qml/LocalDocs.qml
Normal file
@@ -0,0 +1,36 @@
|
||||
import QtQuick
|
||||
import QtQuick.Controls
|
||||
import QtQuick.Controls.Basic
|
||||
import QtQuick.Layouts
|
||||
|
||||
GridLayout {
|
||||
columns: 2
|
||||
rowSpacing: 10
|
||||
columnSpacing: 10
|
||||
|
||||
Label {
|
||||
text: qsTr("Collections:")
|
||||
color: theme.textColor
|
||||
Layout.row: 1
|
||||
Layout.column: 0
|
||||
}
|
||||
|
||||
RowLayout {
|
||||
spacing: 10
|
||||
Layout.row: 1
|
||||
Layout.column: 1
|
||||
MyComboBox {
|
||||
id: comboBox
|
||||
Layout.minimumWidth: 350
|
||||
}
|
||||
MyButton {
|
||||
text: "Add"
|
||||
}
|
||||
MyButton {
|
||||
text: "Remove"
|
||||
}
|
||||
MyButton {
|
||||
text: "Rename"
|
||||
}
|
||||
}
|
||||
}
|
@@ -803,11 +803,8 @@ Dialog {
|
||||
contentWidth: availableWidth - 20
|
||||
ScrollBar.vertical.policy: ScrollBar.AlwaysOn
|
||||
|
||||
GridLayout {
|
||||
LocalDocs {
|
||||
anchors.margins: 10
|
||||
columns: 3
|
||||
rowSpacing: 10
|
||||
columnSpacing: 10
|
||||
anchors.fill: parent
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user