Cockatrice/cockatrice/src/interface/widgets
BruebachL 7a40ed9079
[Fonts] Migrate ChatLog surfaces to theme font role (#7537)
* [Fonts] Migrate ChatLog surfaces to theme font role

* [Fonts] Keep ChatView on the app font and share the report log font

- ChatLog's unset fallback is qApp->font() again: ChatView never set a font
  before the role existed, so an unset role must not switch chat and the game
  log to monospace at the system GeneralFont size.
- Move the monospace fallback the report dialogs used before into
  report_utils::reportLogFont(), which returns the theme's ChatLog role when it
  is set and the old monospace otherwise. tab_report, dlg_my_reports and
  dlg_report_user now share it, so they cannot drift and they honour a themed
  size instead of overriding it.

---------

Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2026-11-04 07:57:53 +01:00
..
cards [VisualDatabase] Draw the card grid with a model/view (#7701) 2026-11-02 08:35:58 +01:00
deck_analytics [QtUtils] Use makeScrollArea() for the remaining scroll areas (#7625) 2026-10-24 22:50:25 +02:00
deck_editor Preserve saved deck formats through database reload and view refresh (#7745) 2026-11-03 11:10:50 +01:00
deck_share [QtUtils] Use makeLayout() for zero-margin layouts (#7620) 2026-10-24 19:06:18 +02:00
dialogs [Fonts] Migrate ChatLog surfaces to theme font role (#7537) 2026-11-04 07:57:53 +01:00
general [Tests] Name the tab, home and settings widgets the GUI tests address (#7696) 2026-11-04 06:23:44 +01:00
menus [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
onboarding [Translation] Name languages without reading the translation files (#7662) 2026-10-26 02:39:26 +01:00
playmat [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
printing_selector [QtUtils] Use makeLayout() for zero-margin layouts (#7620) 2026-10-24 19:06:18 +02:00
quick_settings [QtUtils] Use makeLayout() for zero-margin layouts (#7620) 2026-10-24 19:06:18 +02:00
replay [Replay] Seek to the exact time of an event (#7610) 2026-11-04 05:56:32 +01:00
server [Fonts] Migrate ChatLog surfaces to theme font role (#7537) 2026-11-04 07:57:53 +01:00
settings_page [Settings] Rename UI language selector & move translator hint (#7656) 2026-10-31 09:28:52 +01:00
tabs [Fonts] Migrate ChatLog surfaces to theme font role (#7537) 2026-11-04 07:57:53 +01:00
utility [Fonts] Migrate ChatLog surfaces to theme font role (#7537) 2026-11-04 07:57:53 +01:00
visual_database_display [VisualDatabase] Keep the card grid scrolling on macOS (#7764) 2026-11-02 18:18:19 +01:00
visual_deck_editor [QtUtils] Use makeLayout() for zero-margin layouts (#7620) 2026-10-24 19:06:18 +02:00
visual_deck_storage [Refactor] Move LoadedDeck and DeckFileFormat data types into libcockatrice_deck_list (#7424) 2026-10-31 18:44:11 +01:00