I'm using PySide and I get a warning when I try to set a spreadsheet to a certain widget:
09-18 14:48:54,107 WARNING [D=0x7ff4a0074650:qt] Could not parse stylesheet of widget 0x1cbecc0
I've pinpointed the location of the problem and fixed it, but I was surprised to see that the address of the object calling setStyleSheet()
is different:
<views.hierarchy.TreeView object at 0x7f3ab8139440>
Ideally, when I get warnings like the above I wish I could dereference it like here and find out more about the cause.
My questions:
Why are the two addresses different?
Is there any way to get the address in the warning from the widget object?
Is there any way to dereference the address in the warning directly?