angr / angr/angr-management

Allow editing of non-global font via style preferences

未关闭
#820 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
Python
星标
1.2k
派生
131
平均合并
1 天 11 小时
30 天内合并 PR
14

描述

### 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:
1. Allow users to select fonts via preferences: In `preferences.py`, add to `self._font_options` the a line such as `QFontOption("Tab View Font", "tabular_view_font", self),`.
2. Have angr-management update fonts when the fonts in `Conf` change; this can be done (generally) by replacing `a.setFont(Conf.foo)` with `Conf.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

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。