code: def print_signals_and_slots(self):
          
          for i in xrange(self.metaObject().methodCount()):
               m = self.metaObject().method(i)
               if m.methodType() == QMetaMethod.MethodType.Signal:
                   print("SIGNAL: sig=", m.signature(), "hooked to nslots=", self.receivers(SIGNAL(m.signature())))
               elif m.methodType() == QMetaMethod.MethodType.Slot:
                   print("SLOT: sig=", m.signature())
docs: List all active Slots and Signal.
  
          Credits to: http://visitusers.org/index.php?title=PySide_Recipes#Debugging