fontlabapp.contours.panel.ui.OutlinePanel · declarations 001
Back to fontlabapp.contours.panel.ui.OutlinePanel
HEADERS
class-attribute
instance-attribute
HEADERS: tuple[str, ...]
SCOPE
class-attribute
instance-attribute
SCOPE
STRUCTURAL
class-attribute
instance-attribute
STRUCTURAL
UNIT
class-attribute
instance-attribute
UNIT
WIDTH
class-attribute
instance-attribute
WIDTH
__init__
__init__(parent: Any = None) -> None
Build every widget, then scan the font and the selection.
add_row
add_row(label: str, *widgets: Any) -> None
Put a label and widgets on the next form row.
after_refresh
after_refresh() -> None
Subclass hook: update extra views after the table.
apply
apply() -> None
Plan again from live data, re-check safety, write once.
A refusal or a failed write shows in the status line. A failure after history started says "use Edit > Undo".
build
build() -> None
Create every widget before any font data is read.
build_controls
build_controls() -> None
Subclass hook: add rows with add_row() and watch() their signals.
build_extra
build_extra(root: Any) -> None
Subclass hook: add widgets between the form and the table.
cells
cells(label: str, change: Change) -> list[str]
Row texts for 3 columns (glyph, item, result) or 4 (with current).
chosen_masters
chosen_masters() -> list[str]
Masters in scope: current or all.
closeEvent
closeEvent(event: Any) -> None
Disconnect every slot, stop timers, unregister and delete the panel.
fill
fill(plan: Plan) -> None
Show the first MAX_ROWS rows.
Blocked rows red, changes in the accent colour, notes (skipped glyphs and layers, kept shapes, rows without a change) muted.
live_glyphs
live_glyphs() -> tuple[Any, list[Any]]
Re-resolve the bound font and the scanned glyphs. ValueError when stale.
options
options() -> dict[str, Any]
Keyword options of collect() from the shared check boxes.
planner
planner() -> Planner
Subclass hook: return the per-layer planner. Raise ValueError on bad input.
refresh
refresh() -> None
Recompute the plan; fill the table; enable Apply only when it is safe.
relabel
relabel() -> None
Keep the scope combo in step with the font.
scan
scan() -> None
Read font, selection and the auto-composite map again.
The consent to edit bases of automatic composites belongs to the glyphs the user saw: a new scan clears it.
spin
spin(low: float, high: float, value: float, suffix: str = '', decimals: int = 0) -> Any
Right-aligned, watched spin box with readable text.
decimals 0 gives a QSpinBox with integers (PythonQt picks overloads
by type), more gives a QDoubleSpinBox.