mirror of
https://github.com/nomic-ai/gpt4all
synced 2024-11-06 09:20:33 +00:00
697a5f5d2a
Signed-off-by: Adam Treat <treat.adam@gmail.com>
25 lines
509 B
QML
25 lines
509 B
QML
import QtCore
|
|
import QtQuick
|
|
import QtQuick.Controls
|
|
import QtQuick.Controls.Basic
|
|
|
|
Label {
|
|
id: mySlug
|
|
padding: 3
|
|
rightPadding: 9
|
|
leftPadding: 9
|
|
font.pixelSize: theme.fontSizeFixedSmall
|
|
background: Rectangle {
|
|
radius: 6
|
|
border.width: 1
|
|
border.color: mySlug.color
|
|
color: theme.slugBackground
|
|
}
|
|
ToolTip.visible: ma.containsMouse && ToolTip.text !== ""
|
|
MouseArea {
|
|
id: ma
|
|
anchors.fill: parent
|
|
hoverEnabled: true
|
|
}
|
|
}
|