Beispiel #1
0
 def __init__(self, *args, **kw):
     # Emulate super by calling the next method in the MRO, if there is one.
     mro = self.__class__.mro()
     for qt_class in QObject.mro():
         mro.remove(qt_class)
     next_index = mro.index(SuperQObject) + 1
     if next_index < len(mro):
         mro[next_index].__init__(self, *args, **kw)