Skip to content

pythonqtside._app_flags

_app_flags

PySide2 QFlags arguments where a native enum overload would win the dispatch.

QDialogButtonBox(QDialogButtonBox.Ok | QDialogButtonBox.Cancel) passes a plain int in PythonQt, which selects the Qt.Orientation overload (no buttons). At the positions in the generated _flags.json a plain int, or an enum value other than the competing overload's enum, is wrapped in the native QFlags class first.

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
convert function (receiver: Any, name: str, args: tuple) -> tuple Positional arguments with measured QFlags positions wrapped.
flags_call function (receiver: Any, name: str, method: Any) -> Any Wrap a measured method, or return it unchanged.