fontlabapp.qt.colors
colors
Injected Qt color presentation; foreign color/callback policy stays local.
No Qt binding is imported. Late getters retain native construction, mutation, signal handoff and failure order. Dialogs keep the original one-instance policy: accept/reject does not release ownership; only explicit disposal does.
Classes
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 |
|---|---|---|---|
color_palette |
function | (gui: Any, widget: Callable[[], Any], convert: Callable[[], Any] | None, role: Callable[[Any], Any]) -> Any |
Reset with a default palette or mutate the current palette once. |
group_box_style |
function | (fill: Callable[[], str] | None, border: Callable[[], str] | None, width: Any, radius: Any) -> str | None |
Build optional ordered rules; no options means no stylesheet write. |
rgba255 |
function | (channels: Iterable[float]) -> tuple[int, ...] |
Scale and banker's-round every channel without introducing clamping. |
rgba_css |
function | (channels: Iterable[float]) -> str |
Format four channels; original unpack stops after the fifth on overflow. |
swatch_style |
function | (channels: Iterable[int]) -> str |
Format a button swatch from already rounded channels. |