feat(qbz-qt): phase 11 — final polish vs owner's Slint reference shots

Fixed an ALSA enumeration zip bug that silently dropped the last device
(the stored DAC now shows with its BP badge). Home rails now follow the
persisted DiscoverPrefsStore (order + disabled sections) like the Slint
shell; Pinned rail built from pinned_items.db (albums/artists/playlists,
ArtistGridCard circle); View-all header links on endpoint rails; pin
badge hover-gated like the Slint overlay buttons. Restore path now
binds the pinned + local-favorites stores (was login-only). Settings
panels verified row-for-row against the 3440px references.

km
This commit is contained in:
vicrodh committed 2026-07-27 20:01:02 -06:00
1 parent d57cec974f
commit da36d86ccc
6 files changed
+329 -28

No files matched your search

+6 -4
View File
@@ -118,9 +118,11 @@ Rectangle {
onClicked: QbzBridge.openAlbum(root.albumId)
}
// Pin badge — top-right. Filled accent pin always visible when
// pinned; outline pin hover-revealed otherwise. Always-mounted
// (opacity) so its hover joins overlayOn.
// Pin badge — top-right. Hover-revealed like the overlay
// buttons (AlbumCard.slint: opacity follows overlay-on even
// when pinned — the pinned state reads in the icon swap only:
// filled accent pin vs outline). Always-mounted (opacity) so
// its hover joins overlayOn.
Rectangle {
x: parent.width - width - 8
y: 8
@@ -128,7 +130,7 @@ Rectangle {
height: 26
radius: 13
color: pinArea.containsMouse ? "#cc000000" : "#99000000"
opacity: root.overlayOn ? 1.0 : (root.isPinned ? 1.0 : 0.0)
opacity: root.overlayOn ? 1.0 : 0.0
Behavior on opacity { NumberAnimation { duration: 150 } }
QbzIcon {
name: root.isPinned ? "pin-filled" : "pin"