Skip to content

fontlabapp.metrics.zones.ui.AlignmentZonesDialog · declarations 001

Back to fontlabapp.metrics.zones.ui.AlignmentZonesDialog

__init__

__init__(parent: Any = None, *, backend: Backend) -> None

Build complete controls and Close before capturing the bound source.

add

add(kind: str) -> None

Preserve pending cells before adding the source default zone.

apply

apply() -> None

Send one whole batch; failed/foreign results keep stages for diagnosis.

A RowRefusal, a RolledBackError or the GUI-thread or Font-window refusal (font_history.THREAD_TEXT/WINDOW_TEXT, raised before any master switch) leaves the font unchanged: show its text and keep the panel usable. Every other error (stale source, UnrestoredError, a read-back gap, a foreign result) locks the panel.

choose

choose() -> None

Retain edits on master switches; refuse leaving an invalid table.

closeEvent

closeEvent(event: Any) -> None

Disconnect before the shared native Close/deleteLater protocol.

remove_selected

remove_selected() -> None

Allow removing invalid rows without dropping any unselected data.

store

store() -> bool

Publish a table only after all cells validate; invalid text remains visible.

suggest

suggest() -> None

Replace only the chosen stage after checked o/O reads.