fontlabapp.contours.panel.model · declarations 001
Back to fontlabapp.contours.panel.model
HOOKS
module-attribute
HOOKS
MEMBERS
module-attribute
MEMBERS
NOT_STORED
module-attribute
NOT_STORED
UNDO_HINT
module-attribute
UNDO_HINT
panel_type
panel_type() -> type
Return the OutlinePanel base class (a PythonQt QDialog).
The class loads PythonQt, so call this inside FontLab only. Subclass it,
set TITLE, KEY, ACTION, DONE, UNIT, HEADERS (3
or 4 columns) and STRUCTURAL (True when the edits change node counts
or order), and fill in the hooks build_controls, planner and
editor; optionally build_extra, on_reload and
after_refresh (all in HOOKS). spin(...) makes a watched
spin box. MEMBERS lists the other public members a script may
use, for example slot_error, status and apply_button. See
fontlabapp.contours.panel.ui.OutlinePanel for the full contract. Show
it with scripting.show_script_dialog(Subclass, Subclass.KEY).