Skip to content

fontlabapp.studios._kerning_ui

_kerning_ui

Qt pieces shared by the Kerning Browser and Kerning Batch tabs.

What: small widget helpers (button, check box, label, combo, spin box, form row), Panel (a tab bound to a studios._kerning.Tool: subtitle, sortable GlyphTable tables, status-line errors), CheckTable (a table whose first column is ticked, for Exceptions and Copy masters) and PlanPanel, the dry-run-then-Apply tab of Kerning Batch: Refresh takes one kerning snapshot and builds the plan, the table and count show exactly that plan, and Apply writes exactly that plan with expected= the snapshot, so any outside edit in between is refused as stale. Used by the tab modules of fontlabapp.studios.kerning_browser and fontlabapp.studios.kerning_batch.

Classes

Complete member index

Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.

Member Kind Signature Summary
SortItem function (text: str) -> Any Keep displayed numeric text while sorting by value; load Qt only on construction.
button function (owner: Any, layout: Any, text: str, slot: Callable[[], Any]) -> Any
check function (owner: Any, layout: Any, text: str, checked: bool, slot: Callable[[], Any] | None=None) -> Any
clipboard function (text: str) -> None
combo function (owner: Any, items: list[str], slot: Callable[[], Any] | None=None) -> Any
get function (value: Any) -> Any PythonQt exposes some getters as properties, PySide6 as methods.
label function (owner: Any, layout: Any, text: str='') -> Any
line_edit function (owner: Any, text: str='', placeholder: str='', slot: Callable[[], Any] | None=None) -> Any
row function (owner: Any, layout: Any, text: str, widget: Any) -> Any <code>text</code><code> then </code><code>widget</code> on one line (the originals' form rows).
spin function (owner: Any, low: float, high: float, value: float, *, suffix: str='', prefix: str='', decimals: int=0, slot:…