mirror of
https://github.com/nomic-ai/gpt4all
synced 2024-11-10 01:10:35 +00:00
23 lines
517 B
QML
23 lines
517 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: theme.textColor
|
||
|
Accessible.role: Accessible.Button
|
||
|
Accessible.name: text
|
||
|
}
|
||
|
background: Rectangle {
|
||
|
opacity: .5
|
||
|
border.color: theme.backgroundLightest
|
||
|
border.width: 1
|
||
|
radius: 10
|
||
|
color: theme.backgroundLight
|
||
|
}
|
||
|
}
|