Details
-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
6.4.2
-
None
Description
metaobjectdump.py finds QmlElement, Slot, Property (and maybe others) by name It would be usefull if we could overrid the name.
So if I wrap Pyside6.Slot i.e
from PySide6.QtCore import Property, QObject def customproperty(fn, **kwargs): return Property(fn, **kwargs) class Foo(QObject): @customproperty def bar_prop(): ...
`bar_prop` would not be collected by `metaobjectdump` .
A better approuch IMO would be to inspect the type information of the class members.