angr-management
angr-management copied to clipboard
Allow editing of non-global font via style preferences
Description
The user should be able to change every font we store in Conf internally.
Prerequisite PRs:
- [ ] https://github.com/angr/angr-management/pull/819
This can be done by:
- Allow users to select fonts via preferences: In
preferences.py, add toself._font_optionsthe a line such asQFontOption("Tab View Font", "tabular_view_font", self),. - Have angr-management update fonts when the fonts in
Confchange; this can be done (generally) by replacinga.setFont(Conf.foo)withConf.connect("foo", a.setFont, True)in most situations; that is connecting the font-change signal to the font-setting function.
Alternatives
No response
Additional context
Meant to supercede: https://github.com/angr/angr-management/issues/744