Skip to content

fontlabapp.qt.numeric

numeric

Exact proportional integer Qt ranges shared by sliders and progress bars.

Callers retain float validation, clamping, exact-value caches, tick snapping, nonpositive-range rules, busy state, repaint and callback policy. Setters arrive already bound so native method lookup keeps its original evaluation order. No Qt binding or foreign compatibility package is imported.

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
STEPS attribute
position function (value: float, minimum: float, span: float, steps: int) -> float Convert without regrouping arithmetic, rounding, clamping or zero guards.
set_position function (set_value: Callable[[int], None], position: float) -> None Banker's-round once before a native write; preserve setter failures.
set_step_range function (set_range: Callable[[int, int], None], steps: int) -> None Set the original zero-based Qt range; zero steps also represents busy.
value_at function (minimum: float, position: float, span: float, steps: int) -> float Convert integer Qt positions with the original operation association.