mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2024-10-01 01:06:10 -04:00
23 lines
559 B
QML
23 lines
559 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 {
|
|
opacity: .5
|
|
border.color: theme.backgroundLightest
|
|
border.width: 1
|
|
radius: 10
|
|
color: theme.backgroundLight
|
|
}
|
|
} |