Skip to content

fontlabapp.fontui.teaching_text.icons

icons

What: Browse the standard icons supplied by FontLab's current Qt style. How: Enumerate QStyle SP_ constants, filter their names and show each icon beside its enum name. A selected row produces pasteable PythonQt code. Why: Use icons already supplied by the host instead of bundling image assets. Usage: Filter by a name such as Dialog or Dir. Preview, then select an icon. Copy the code below into a FontLab script. These are Qt standard icons; FontLab's private resource icons are outside this browser. Benefit: Build consistent script panels without external icon dependencies.

Setup: FontLab 9, Python 3.11, Fly and fontlabapp. Modeless, read-only tool. App owns panel lifetime, signals and completion. Independent rewrite of the Qt Icons example idea (Riverbank Computing, Nokia). Based on the author's own FontLab sample, Apache-2.0. Idea only; no upstream code or assets included.

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
build function (parent: Any=None) -> Any Build the original controls as a hidden child for an owned lab tab.
icon_names function (style_type: type, query: str) -> tuple[str, ...] List enum names only.
main function (*, embedded: bool=False, parent: Any=None) -> Any Open the owned modeless App panel.