grablab.snapshot
snapshot
Bounded, host-free runtime snapshots; never inspect arbitrary Qt properties.
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 |
|---|---|---|---|
EXTENSIONS |
attribute | ||
SVG_NS |
attribute | ||
UI_CONTENT |
attribute | ||
embed_svg |
function | (path: Path, record: dict) -> None |
|
free_bundle |
function | (path: Path) -> Path |
Choose a basename unused by any bundle member, including directories. |
geometry |
function | (widget: Any) -> list[int] |
|
native_list |
function | (obj: Any, name: str) -> list |
Keep Python-owned widgets alive during PythonQt list conversion. |
snapshot |
function | (widget: Any, title: str, filename: str, max_widgets: int=2000) -> dict |
Capture visible QWidget descendants only; models and remote actions stay unknown. |
ui_xml |
function | (record: dict) -> str |
Write Designer XML with local geometry; full runtime details remain in JSON. |
unique_id |
function | (semantic: str, fallback: str, used: set) -> str |
|
value |
function | (obj: Any, name: str, default: Any=None) -> Any |
Read a deliberately allowlisted Qt property or zero-argument getter. |
visible_to |
function | (item: Any, root: Any) -> bool |
Mirror QWidget.render children even when the owned root is hidden. |
write_property |
function | (element: Any, name: str, val: Any) -> None |