use blobgroup for window chat interface + slim sidebar

This commit is contained in:
2026-09-30 15:01:28 +02:00
parent a8fdc31b8d
commit e700a4f96b
6 changed files with 224 additions and 122 deletions
@@ -14,6 +14,7 @@ Item {
property alias list: list
property alias model: list.model
property bool highlight: false
property bool slim: false
signal deleteChatRequest(content: ChatSession)
signal loadChatRequest(content: ChatSession, index: int)
@@ -79,6 +80,7 @@ Item {
implicitWidth: ListView.view.width
highlighted: root.highlight && ChatState.chatSession === modelData
slim: root.slim
onHighlightedChanged: if (highlighted)
list.currentIndex = index
@@ -248,6 +250,14 @@ Item {
font.pointSize: Math.round(18 * 1.2)
icon: "add"
isRound: ChatState.fabExpanded
opacity: root.slim ? 0 : 1
visible: opacity > 0
Behavior on opacity {
Anim {
type: Anim.DefaultEffects
}
}
label.transform: Rotation {
origin.y: fabRoot.label.height / 2