mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-09-04 10:04:35 +00:00
Remove binary state from high-level API and use Jinja templates (#3147)
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>
This commit is contained in:
20
gpt4all-chat/qml/ChatMessageButton.qml
Normal file
20
gpt4all-chat/qml/ChatMessageButton.qml
Normal file
@@ -0,0 +1,20 @@
|
||||
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
|
||||
}
|
Reference in New Issue
Block a user