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

@@ -4329,3 +4329,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"