angr / angr/angr-management

Allow editing of non-global font via style preferences

Đang mở
#820 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
enhancement
Ngôn ngữ chính
Python
Star
1.2k
Fork
131
Merge trung bình
1 ngày 11 giờ
Pull request đã merge (30 ngày)
14

Mô tả

### 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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.