mirror of
https://github.com/nomic-ai/gpt4all
synced 2024-11-08 07:10:32 +00:00
6d9cdf228c
per model settings as well as the ability to clone a model into a "character." This also implements system prompts as well as quite a few bugfixes for instance this fixes chatgpt.
24 lines
685 B
QML
24 lines
685 B
QML
import QtCore
|
|
import QtQuick
|
|
import QtQuick.Controls
|
|
import QtQuick.Controls.Basic
|
|
|
|
Button {
|
|
id: myButton
|
|
padding: 10
|
|
contentItem: Text {
|
|
text: myButton.text
|
|
horizontalAlignment: Text.AlignHCenter
|
|
color: myButton.enabled ? theme.textColor : theme.mutedTextColor
|
|
Accessible.role: Accessible.Button
|
|
Accessible.name: text
|
|
}
|
|
background: Rectangle {
|
|
border.color: myButton.down ? theme.backgroundLightest : theme.buttonBorder
|
|
border.width: 2
|
|
radius: 10
|
|
color: myButton.hovered ? theme.backgroundDark : theme.backgroundDarkest
|
|
}
|
|
Accessible.role: Accessible.Button
|
|
Accessible.name: text
|
|
} |