Skip to content

pythonqtside.tooling.flags

flags

Measure PySide2 QFlags parameters that compete with an enum overload natively.

In FontLab's PythonQt QDialogButtonBox.Ok | QDialogButtonBox.Cancel is a plain int, and QDialogButtonBox(Ok | Cancel) dispatches to the Qt.Orientation overload: no buttons (pqs-g04/fixtures/probe_overload_connect.json). PySide2 passes a StandardButtons value. This command lists, per routed class, the constructor and method positions where one PySide2 overload takes a QFlags type and another overload of the same call arity takes an enum there (but none takes int).

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
LIMITATIONS attribute
PACKAGE attribute (shared captured text)
analyze function (inventory: dict, pyside_sources: dict[str, bytes], inventory_sha256: str) -> dict
flag_classes function (sources: dict[str, bytes], enums: set[str]) -> set[str]
main function () -> None