fontlabapp.components.panel.model · declarations 001
Back to fontlabapp.components.panel.model
panel_type
panel_type() -> type
Return the ComponentPanel base class (a PythonQt QDialog).
The class loads PythonQt, so call this inside FontLab only. Subclass it,
set TITLE, KEY, ACTION, DONE and HEADERS (3 or 4
columns), and fill in the hooks build_controls, planner and
editor; optionally first_scan, glyph_names, on_reload,
summary, cells and after_apply. See
fontlabapp.components.panel.ui.ComponentPanel for the full contract.
Show it with scripting.show_script_dialog(Subclass, Subclass.KEY).