Skip to content

fontlab_plugmix.palettes.ui.PaletteUI

PaletteUI

Offer labels, numbers, buttons and checks without exposing Qt imports.

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
__init__ function (self, qt: Any, content: Any, plugin: object, sink: Callable, command: Callable) -> None
apply function (self, values: dict[str, Any]) -> Any Send a palette command through the host-provided edit boundary.
button function (self, title: str, callback: Callable[[], Any]) -> Any Connect a guarded button action and remember it for teardown.
checkbox function (self, label: str, checked: bool=False) -> Any Append a checkable option and return its widget handle.
close function (self) -> None Disconnect callbacks before the dock widget can be deleted.
label function (self, text: str) -> Any Append a plain text label and return it for status updates.
number function (self, label: str, value: float, *, integer: bool=False, minimum: float=-1000000.0, maximum: float=1000000.0)… Append a labelled spin control with a bounded numeric range.
set_text function (self, label: Any, text: str) -> None Change the text of a label owned by this palette.
value function (widget: Any) -> Any Read a PythonQt value property or fake callable consistently.