def __init__(self, *args, **kw): TranscriptWaveform.__init__(self, waveformCls=MyWaveform, *args, **kw) self.player.getPlayerTicker().registerReceiver(self) self.mutex = QtCore.QMutex() ## ## public properties self._selecting = False # waveform selection by tick is happening
def _select(self, i): if self._selecting: return else: TranscriptWaveform._select(self, i)