def connect(self,signal,slot):
    if not self.connections.has_key(signal):
      self.connections[signal] = []
    self.connections[signal].append(slot)
pseudo-connect - signal is arbitrary string and slot if callable
dataset/ETHPy150Open acil-bwh/SlicerCIP/Scripted/InteractiveLobeSegmentation/InteractiveLobeSegmentation.py/ILSpqWidget.connect