Re: [PyQt] multiple inheritance and signals problem, mixin before QObject

2013-09-14 Thread Phil Thompson
On Thu, 12 Sep 2013 10:30:06 -0400, lloyd konneker boo...@nc.rr.com wrote: This is an update to my previous post. Here is an abstract of the code for easier reading: class B(object): def __init__(self): self.a1 = A() self.a1.signal1.connect(self.handler)# Fails in PyQt,

[PyQt] multiple inheritance and signals problem, mixin before QObject

2013-09-12 Thread lloyd konneker
This is an update to my previous post. Here is an abstract of the code for easier reading: class B(object): def __init__(self): self.a1 = A() self.a1.signal1.connect(self.handler)# Fails in PyQt, succeeds in PySide def handler(self): pass class A (Mixin,

[PyQt] multiple inheritance and signals problem, mixin before QObject

2013-09-11 Thread lloyd konneker
I am trying to switch from PySide to PyQt. The following code seemed to work in PySide: class FramedViewedTextGlyph(CompositeGlyph, ViewSizeable, Proxiable, QGraphicsItemGroup): # no class inherits QObject def __init__(self): super(FramedViewedTextGlyph, self).__init__() # init group