Skip to content

fontlabapp.contours.selection.panel.model · declarations 001

Back to fontlabapp.contours.selection.panel.model

BASES_TEXT module-attribute

BASES_TEXT

HOOKS module-attribute

HOOKS

MAX_NAMES module-attribute

MAX_NAMES

MEMBERS module-attribute

MEMBERS

panel_type

panel_type() -> type

Return the SelectionPanel base class (a PythonQt QDialog).

The class loads PythonQt, so call this inside FontLab only. Subclass it, set TITLE, KEY, ACTION and HEADERS (optionally NOUN, SCOPE, CONSENT, ALIGN, WIDTH), and fill in the hooks build_controls, plan_rows, cells, pending, write and result_text; optionally intro, on_reselect and on_result (all in HOOKS). MEMBERS lists the other public members a script may use. See fontlabapp.contours.selection.panel.ui.SelectionPanel. Show it with scripting.show_script_dialog(Subclass, Subclass.KEY).