fontlabapp.contours.panel.ui.OutlinePanel
OutlinePanel
Non-modal panel: controls, live preview table, Reload, Close, Apply.
Subclasses set TITLE, KEY, ACTION, DONE, UNIT, HEADERS and STRUCTURAL, and override build_controls(), planner() and editor(). The preview recomputes on every control change and shows exactly what Apply would write. Apply stays off while any row is blocked.
Source bases
QtGui.QDialog(not resolved from selected source)
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 |
|---|---|---|---|
ACTION |
attribute | (shared captured text) | |
DONE |
attribute | (shared captured text) | |
HEADERS |
attribute | tuple[str, ...] |
|
KEY |
attribute | (shared captured text) | |
RELOAD |
attribute | (shared captured text) | |
SCOPE |
attribute | ||
STRUCTURAL |
attribute | ||
TITLE |
attribute | (shared captured text) | |
UNIT |
attribute | ||
WIDTH |
attribute | ||
__init__ |
function | (self, parent: Any=None) -> None |
Build every widget, then scan the font and the selection. |
add_row |
function | (self, label: str, *widgets: Any) -> None |
Put a label and widgets on the next form row. |
after_refresh |
function | (self) -> None |
Subclass hook: update extra views after the table. |
apply |
function | (self) -> None |
Plan again from live data, re-check safety, write once. |
build |
function | (self) -> None |
Create every widget before any font data is read. |
build_controls |
function | (self) -> None |
Subclass hook: add rows with add_row() and watch() their signals. |
build_extra |
function | (self, root: Any) -> None |
Subclass hook: add widgets between the form and the table. |
cells |
function | (self, label: str, change: outline_writer.Change) -> list[str] |
Row texts for 3 columns (glyph, item, result) or 4 (with current). |
chosen_masters |
function | (self) -> list[str] |
Masters in scope: current or all. |
closeEvent |
function | (self, event: Any) -> None |
Disconnect every slot, stop timers, unregister and delete the panel. |
editor |
function | (self) -> outline_writer.Editor |
Subclass hook: return the write strategy. |
fill |
function | (self, plan: outline_writer.Plan) -> None |
Show the first MAX_ROWS rows. |
intro |
function | (self) -> str |
Subtitle text. (shared captured text) |
live_glyphs |
function | (self) -> tuple[Any, list[Any]] |
Re-resolve the bound font and the scanned glyphs. |
on_reload |
function | (self) -> None |
Subclass hook: refresh control contents that depend on the font. (shared captured text) |
options |
function | (self) -> dict[str, Any] |
Keyword options of collect() from the shared check boxes. |
planner |
function | (self) -> outline_writer.Planner |
Subclass hook: return the per-layer planner. |
read_font |
function | (self) -> None |
Bind to the current font and its masters. (shared captured text) |
refresh |
function | (self) -> None |
Recompute the plan; fill the table; enable Apply only when it is safe. |
relabel |
function | (self) -> None |
Keep the scope combo in step with the font. |
reload |
function | (self) -> None |
Scan again. (shared captured text) |
scan |
function | (self) -> None |
Read font, selection and the auto-composite map again. |
spin |
function | (self, low: float, high: float, value: float, suffix: str='', decimals: int=0) -> Any |
Right-aligned, watched spin box with readable text. |
summary |
function | (self, plan: outline_writer.Plan) -> str |
Status line when Apply is possible, or when nothing is to do. |
watch |
function | (self, signal: Any, callback: Callable[..., Any] | None=None) -> None |
Connect through the guard: an exception in a PythonQt slot can exit FontLab. (shared captured text) |