feat: Add settings shortcut to chat view

This commit is contained in:
Petr Mironychev
2025-12-01 13:39:26 +01:00
parent 75d1551b00
commit 7b0d3c2abb
6 changed files with 31 additions and 0 deletions

View File

@ -36,6 +36,7 @@ Rectangle {
property alias rulesButton: rulesButtonId
property alias toolsButton: toolsButtonId
property alias thinkingMode: thinkingModeId
property alias settingsButton: settingsButtonId
property alias activeRulesCount: activeRulesCountId.text
property alias configSelector: configSelectorId
@ -139,6 +140,23 @@ Rectangle {
: qsTr("Thinking Mode disabled"))
: qsTr("Thinking Mode is not available for this provider")
}
QoAButton {
id: settingsButtonId
anchors.verticalCenter: parent.verticalCenter
icon {
source: "qrc:/qt/qml/ChatView/icons/settings-icon.svg"
color: palette.window.hslLightness > 0.5 ? "#000000" : "#FFFFFF"
height: 15
width: 15
}
ToolTip.visible: hovered
ToolTip.delay: 250
ToolTip.text: qsTr("Open Chat Assistant Settings")
}
}
Item {