angr / angr/angr-management

Allow editing of non-global font via style preferences

Abierto
#820 0 comentarios 0 reacciones 0 asignados Ver en GitHub
enhancement
Lenguaje dominante
Python
Estrellas
1.2k
Forks
131
Merge medio
1 d 11 h
PR fusionados (30 d)
14

Descripción

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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.