Whenever I'm creating any child class of pyqtgraph's GraphicsObject, I get:
TypeError: native Qt signal is not callable
at line 24 in GraphicsObject.py. I can put that in a try,except block and pass the error and things seem to work:
def itemChange(self, change, value):
ret = super().itemChange(change, value)
if change in [self.GraphicsItemChange.ItemParentHasChanged,
self.GraphicsItemChange.ItemSceneHasChanged]:
# DSF changes I added the Try-Except block
try:
self.parentChanged()
except TypeError:
print("error in
pyqtgraph.GraphicsObject.py in DSF added try except block")
pass
Any thoughts on what I am doing wrong?
Thanks, Dave.