Exemplo n.º 1
0
 def __init__(self, offset=0, attachments=None, index=None):
     QEvent.__init__(self, offset=offset, index=index)
     if attachments is None:
         attachments = ()
     else:
         attachments = tuple(attachments)
     self._attachments = attachments
Exemplo n.º 2
0
 def __init__(self, offset=0, pitches=None, attachments=None, index=None):
     QEvent.__init__(self, offset=offset, index=index)
     pitches = pitches or []
     pitches = tuple([pitchtools.NamedPitch(x) for x in pitches])
     if attachments is None:
         attachments = ()
     else:
         attachments = tuple(attachments)
     self._pitches = pitches
     self._attachments = attachments
Exemplo n.º 3
0
 def __init__(self, offset=0):
     QEvent.__init__(self, offset=offset)