Data Engine/QML/Python Guidance Needed

Luca Beltrame einar at heavensinferno.net
Mon Aug 15 14:30:33 UTC 2011


In data lunedì 15 agosto 2011 09:37:29, Eric Mesa ha scritto:

> its XML structure, right?  So the QML can just treat it as XML later?  IOW,
> I don't want to lose the benefit of XML's structured data.

If you turn it into a QVariant, there's an additional PyQt method to turn it 
back into a Python object, using the toPyObject() method of the QVariant 
instance.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20110815/8f456a36/attachment.sig>


More information about the Plasma-devel mailing list