Once again, I made it by myself =)
First, I was storing the data in a bad way. The default QtRole in setData method is QtEditRole, and I needed VisibleRole. And second, once having the QVariant object, I needed to call the toPyObject() method, and I got the instance ^^
Thanks anyway for reading/trying to help. Really, qtcentre rocks!




Reply With Quote
Bookmarks