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.

-- 
You received this message because you are subscribed to the Google Groups 
"pyqtgraph" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyqtgraph/ba3bdb9c-1440-470d-a142-3c7feec6ed12n%40googlegroups.com.

Reply via email to