Add quick toggles to the grab bar

Beside the gear: full keyboard, hold keys, and the numeric keypad,
navigation and function key sections, each behind a drawn icon and lit
while on. Section toggles hide when the layout lacks the section. The
grab pill narrows when a small window leaves it less room.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-31 00:29:48 +01:00
co-authored by Claude Opus 5.5
parent b94463a277
commit ac5f43ca5f
5 changed files with 197 additions and 1 deletions
+3 -1
View File
@@ -5,13 +5,15 @@ import QtQuick
Item {
id: handle
// Narrower when the bar's buttons leave less room in the middle.
property real pillWidth: 120
signal dragStarted()
implicitHeight: 22
Rectangle {
anchors.centerIn: parent
width: 120
width: handle.pillWidth
height: 5
radius: height / 2
color: Theme.handle