mirror of
https://github.com/nomic-ai/gpt4all
synced 2024-11-06 09:20:33 +00:00
d948a4f2ee
the user of the models loading behavior. Signed-off-by: Adam Treat <treat.adam@gmail.com>
45 lines
965 B
QML
45 lines
965 B
QML
import QtCore
|
|
import QtQuick
|
|
import QtQuick.Controls
|
|
import QtQuick.Controls.Basic
|
|
import QtQuick.Layouts
|
|
import llm
|
|
import mysettings
|
|
|
|
MyDialog {
|
|
id: switchModelDialog
|
|
anchors.centerIn: parent
|
|
modal: true
|
|
padding: 20
|
|
property int index: -1
|
|
|
|
Theme {
|
|
id: theme
|
|
}
|
|
|
|
Column {
|
|
id: column
|
|
spacing: 20
|
|
}
|
|
|
|
footer: DialogButtonBox {
|
|
id: dialogBox
|
|
padding: 20
|
|
alignment: Qt.AlignRight
|
|
spacing: 10
|
|
MySettingsButton {
|
|
text: qsTr("Continue")
|
|
Accessible.description: qsTr("Continue with model loading")
|
|
DialogButtonBox.buttonRole: DialogButtonBox.AcceptRole
|
|
}
|
|
MySettingsButton {
|
|
text: qsTr("Cancel")
|
|
Accessible.description: qsTr("Cancel")
|
|
DialogButtonBox.buttonRole: DialogButtonBox.RejectRole
|
|
}
|
|
background: Rectangle {
|
|
color: "transparent"
|
|
}
|
|
}
|
|
}
|