Skip to content

fontlab_plugmix.palettes.ui.PaletteUI · declarations 001

Back to fontlab_plugmix.palettes.ui.PaletteUI

__init__

__init__(qt: Any, content: Any, plugin: object, sink: Callable, command: Callable) -> None

apply

apply(values: dict[str, Any]) -> Any

Send a palette command through the host-provided edit boundary.

button

button(title: str, callback: Callable[[], Any]) -> Any

Connect a guarded button action and remember it for teardown.

checkbox

checkbox(label: str, checked: bool = False) -> Any

Append a checkable option and return its widget handle.

close

close() -> None

Disconnect callbacks before the dock widget can be deleted.

label

label(text: str) -> Any

Append a plain text label and return it for status updates.

number

number(label: str, value: float, *, integer: bool = False, minimum: float = -1000000.0, maximum: float = 1000000.0) -> Any

Append a labelled spin control with a bounded numeric range.

set_text

set_text(label: Any, text: str) -> None

Change the text of a label owned by this palette.

value staticmethod

value(widget: Any) -> Any

Read a PythonQt value property or fake callable consistently.