piker/piker
Gud Boi 1fb0fe3a04 Add `font_size` param to `AnnotCtl.add_text()` API
Expose font sizing control for `pg.TextItem` annotations thru the
annot-ctl API. Default to `_font.font.pixelSize() - 3` when no
size provided.

Also,
- thread `font_size` param thru IPC handler in `serve_rc_annots()`
- apply font via `QFont.setPixelSize()` on text item creation
- add `?TODO` note in `markup_gaps()` re using `conf.toml` value
- update `add_text()` docstring with font_size param desc

(this patch was generated in some part by [`claude-code`][claude-code-gh])
[claude-code-gh]: https://github.com/anthropics/claude-code
2026-01-27 20:53:10 -05:00
..
accounting accounting.calc: `.error()` on bad txn-time fields.. 2026-01-07 14:05:23 -05:00
brokers .ib.feed: trim bars frame to `start_dt` 2026-01-27 17:37:25 -05:00
clearing `_ems`: tolerate and warn on already popped execs 2026-01-07 13:41:07 -05:00
cli Flip (back) `pikerd` to use TCP by default 2026-01-06 23:34:32 -05:00
data Port `.data._web_bs` stuff to strict-EGs 2026-01-06 22:27:58 -05:00
fsp Adjust to `trio`'s strict eg nurseries throughout! 2026-01-06 22:27:58 -05:00
service Port `.cli` & `.service` to latest `tractor` registry APIs 2026-01-06 22:27:58 -05:00
storage Mv `markup_gaps()` to new `.tsp._annotate` mod 2026-01-21 23:52:12 -05:00
testing Pass a config `tmp_dir: Path` to the runtime when testing 2023-03-09 15:37:43 -05:00
toolz Delegate `.toolz.open_crash_handler()` to `tractor.devx` 2024-01-16 10:26:38 -05:00
tsp Add `font_size` param to `AnnotCtl.add_text()` API 2026-01-27 20:53:10 -05:00
ui Add `font_size` param to `AnnotCtl.add_text()` API 2026-01-27 20:53:10 -05:00
watchlists Add license headers to pertinent files 2020-11-06 12:23:14 -05:00
__init__.py Start `piker.service` sub-package 2023-03-09 15:37:42 -05:00
_cacheables.py Move `._cacheables.open_cached_client()` into `.brokers` pkg mod 2023-06-27 13:41:47 -04:00
calc.py Lul, adhere to returning `str`s in `humanize()` 2022-01-25 07:57:01 -05:00
config.py `.config.get_app_dir()`: link to `click`'s orig impl on GH 2026-01-06 19:33:23 -05:00
log.py Group bcast errors as `Sampler.bcast_errors` 2025-02-21 16:24:54 -05:00
types.py Impl a sane (with nesting) `.types.Struct.pformat()` 2024-01-17 15:50:27 -05:00