feat(slint): custom title bar and compact header navigation option

Custom title bar (Linux opt-in, macOS overlay default): frameless window
with drawn window controls (close/maximize/minimize, left or right
placement), header drag with once-per-press latch (Wayland move-grab
swallows the release; re-arming on stale pressed state re-grabbed the
window onto the cursor), double-click maximize, edge resize, 1px
hairline. Title bar minimize is always a WM minimize now - the old
minimize-to-tray branch made it visually identical to close-to-tray.

Compact header navigation (opt-in, Appearance): with nav out of the
sidebar, the header can always use the icon-only compact nav even while
the sidebar is open. Full text tabs and compact nav stay mutually
exclusive; the playlists flyout button keeps its closed-sidebar-only
behavior. Persisted as ui_prefs.nav_header_compact.

i18n: new strings in all six locales (includes two DSD toast strings
for the in-progress DSD support, riding along in the catalogs).

cc
This commit is contained in:
vicrodh committed 2026-07-03 15:52:30 -06:00
1 parent c504059c08
commit a7f538b3de
13 files changed
+500 -56

No files matched your search

@@ -4305,3 +4305,26 @@ msgstr "今週の発見"
msgid "Weekly Jams"
msgstr "今週のお気に入り"
msgid "Keep your system's native window decorations. Turn off to use the QBZ header as the title bar, with its own window controls and drag support. Takes effect after restarting QBZ."
msgstr "システムのネイティブなウィンドウ装飾を使用します。オフにすると、QBZのヘッダーがタイトルバーになり、独自のウィンドウコントロールとドラッグに対応します。QBZの再起動後に反映されます。"
msgid "Frameless window without window controls or header drag (for tiling window manager users)"
msgstr "フレームなしウィンドウ。ウィンドウコントロールやヘッダーのドラッグなし(タイル型ウィンドウマネージャーのユーザー向け)"
msgid "Title bar mode changed — restart QBZ to apply"
msgstr "タイトルバーモードを変更しました — 適用するにはQBZを再起動してください"
# Compact header navigation (opt-in, 2026-07-03)
msgid "Compact header navigation"
msgstr "ヘッダーのコンパクトナビゲーション"
msgid "Use the icon-only section navigation in the header even while the sidebar is open."
msgstr "サイドバーが開いていても、ヘッダーにアイコンのみのセクションナビゲーションを使用します。"
# DSD support Phase 1 (2026-07-03)
msgid "DSD: {}"
msgstr "DSD: {}"
msgid "Cannot play DSD file"
msgstr "DSDファイルを再生できません"