mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2024-11-09 16:55:32 +03:00
697a5f5d2a
Signed-off-by: Adam Treat <treat.adam@gmail.com>
20 lines
541 B
QML
20 lines
541 B
QML
import QtCore
|
|
import QtQuick
|
|
import QtQuick.Controls
|
|
import QtQuick.Controls.Basic
|
|
|
|
TextField {
|
|
id: myTextField
|
|
padding: 10
|
|
placeholderTextColor: theme.mutedTextColor
|
|
background: Rectangle {
|
|
implicitWidth: 150
|
|
color: myTextField.enabled ? theme.controlBackground : theme.disabledControlBackground
|
|
border.width: 1
|
|
border.color: theme.controlBorder
|
|
radius: 10
|
|
}
|
|
ToolTip.delay: Qt.styleHints.mousePressAndHoldInterval
|
|
color: enabled ? theme.textColor : theme.mutedTextColor
|
|
}
|