Skip to content

pythonqtside._app_conversions

_app_conversions

Measured PySide2 implicit enum -> value-class conversions for native calls.

PythonQt rejects e.g. setEasingCurve(QEasingCurve.OutElastic) where PySide2 converts the enum through QEasingCurve(type). Positions come from the generated _implicit_conversions.json; callers in _app_native gate on a native receiver without a Python override. Values are wrapped only when they are instances of the measured native enum type; anything else, including plain ints, passes through.

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
conversion_call function (receiver: Any, name: str, method: Any) -> Any A wrapping callable for a measured method, or None when nothing applies.