UI tweaks for GPT4All v3.0.0-rc2 (#2474)

* clickable link to get API key with hand-style mouse cursor
* remove "Force Metal" setting
* allow typing incorrect API keys (but don't accept them), add placeholder text

Signed-off-by: Jared Van Bortel <jared@nomic.ai>
This commit is contained in:
Jared Van Bortel
2024-06-27 11:08:32 -04:00
committed by GitHub
parent bed92046d0
commit 6506ba161b
3 changed files with 21 additions and 10 deletions

View File

@@ -37,5 +37,11 @@ ColumnLayout {
onLinkActivated: function(link) {
root.linkActivated(link);
}
MouseArea {
anchors.fill: parent
acceptedButtons: Qt.NoButton // pass clicks to parent
cursorShape: parent.hoveredLink ? Qt.PointingHandCursor : Qt.ArrowCursor
}
}
}