Skip to content

fontlabapp.kerning.edit.ui.KerningEditDialog · declarations 001

Back to fontlabapp.kerning.edit.ui.KerningEditDialog

__init__

__init__(parent: Any, title: str, key: str) -> None

Bind to the current package; no font data or active master is changed.

add_refresh

add_refresh(footer: Any, callback: Any) -> None

Add a visible recovery action and keep long diagnostics inside the panel.

apply_values

apply_values(title: str) -> None

Share the Scale/Round batch write, refreshed preview and count footer.

ensure_edit_snapshot

ensure_edit_snapshot() -> None

Check complete pairs/classes/master membership and current original font.

invalidate

invalidate() -> None

Remove partial staging/results and disable mutation until a complete Refresh.

refresh_after_apply

refresh_after_apply(callback: Any) -> None

Keep post-write read failures honest; never replace them with success counts.

refresh_values

refresh_values() -> None

Share the Scale/Round complete preview rendering lazily.

stage_editor_cell

stage_editor_cell(pair: tuple[str, str], master: str, text: str, old: float | None) -> str | None

Stage one valid cell; keep other edits and return useful invalid-input feedback.

write_edits

write_edits(edits: dict, title: str) -> bool

Pass exactly the displayed baseline to the complete multi-master writer.