To reproduce.
class _Base:
def foo(self):
self.setWindowTitle('foo')
class MyWindow(QWindow, _Base):
def __init__(self):
QWindow.__init__(self)
self.setWindowTitle()
To avoid segfault:
class _Base(object):
Can't PyQt detect multiple inheritance from old-style class?
--
Naoki INADA <[email protected]>
_______________________________________________
PyQt mailing list [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
