Cockatrice/cockatrice/src/interface/widgets
Lukas Brübach 31fb173881 [Icons] Render lock and dropdown glyphs through the icon engine
Both generators rendered the sentinel SVG to a fixed height x height pixmap
at DPR 1. The pre-migration path rendered larger and let QIcon scale it, so
on a 2x display the games-list lock (13px) and the banner dropdown arrow
(24px) came back crisp; the new path hands the widget a DPR-1 bitmap that
gets upscaled and blurred.

- The games list asks the themed engine for `icons/lock` directly, so the
  item view paints it at the device pixel ratio and the lock also follows
  HighlightedText on a selected row.
- The dropdown goes through `loadThemedIcon(...).pixmap(size, dpr)`, which
  keeps the glyph's aspect ratio and renders at the requested ratio.
- LockPixmapGenerator has no consumer left, so it and its cache are gone.
2026-11-02 11:36:03 +01:00
..
cards [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
deck_analytics [Icons] Migrate UI glyphs to palette-token SVGs 2026-11-02 11:36:03 +01:00
deck_editor [Icons] Migrate UI glyphs to palette-token SVGs 2026-11-02 11:36:03 +01:00
deck_share [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
dialogs [Icons] Migrate UI glyphs to palette-token SVGs 2026-11-02 11:36:03 +01:00
general [FlowWidget] Restore arrow-key navigation for items in flow widgets (#7591) 2026-10-20 16:53:04 +02:00
menus [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
onboarding [Client] Improve card database update visibility (#7458) 2026-10-09 11:07:48 +02:00
playmat [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
printing_selector [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
quick_settings [Icons] Migrate UI glyphs to palette-token SVGs 2026-11-02 11:36:03 +01:00
replay [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
server [Icons] Render lock and dropdown glyphs through the icon engine 2026-11-02 11:36:03 +01:00
settings_page [Icons] Migrate UI glyphs to palette-token SVGs 2026-11-02 11:36:03 +01:00
tabs [Icons] Migrate UI glyphs to palette-token SVGs 2026-11-02 11:36:03 +01:00
utility [Icons] Migrate UI glyphs to palette-token SVGs 2026-11-02 11:36:03 +01:00
visual_database_display [Icons] Migrate UI glyphs to palette-token SVGs 2026-11-02 11:36:03 +01:00
visual_deck_editor [Icons] Migrate UI glyphs to palette-token SVGs 2026-11-02 11:36:03 +01:00
visual_deck_storage [Icons] Migrate UI glyphs to palette-token SVGs 2026-11-02 11:36:03 +01:00