ori at avtalion.name
Tue Apr 21 01:15:20 BST 2009
inside it, and has arrays with other objects in them.
I'm not sure how to define the properties for the top object that I
expose. pyqtProperty doesn't accept "QVariant". (It returns the error
"TypeError: type 'QVariant' is not supported as a property type")
I managed to go around it by defining a function that returns a QVariant:
but I'd really like to have "fun" as a property instead of a function.
What's the correct way to define such properties?
More information about the PyQt