mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-04-29 20:24:20 +00:00
Signed-off-by: Jared Van Bortel <jared@nomic.ai> Signed-off-by: Adam Treat <treat.adam@gmail.com> Co-authored-by: Adam Treat <treat.adam@gmail.com>
21 lines
357 B
QML
21 lines
357 B
QML
import QtQuick
|
|
import QtQuick.Controls
|
|
|
|
import gpt4all
|
|
|
|
MyToolButton {
|
|
property string name
|
|
|
|
width: 24
|
|
height: 24
|
|
imageWidth: width
|
|
imageHeight: height
|
|
ToolTip {
|
|
visible: parent.hovered
|
|
y: parent.height * 1.5
|
|
text: name
|
|
delay: Qt.styleHints.mousePressAndHoldInterval
|
|
}
|
|
Accessible.name: name
|
|
}
|