Home | History | Annotate | Download | only in JetCreator

Lines Matching refs:je

143         self.je = JetEdit(self, "JETOPEN_CTRLS", self)

145 self.je.ctrls[JetDefs.F_JLIST].AppendItems(fileList)
147 self.je.ctrls[JetDefs.F_JFILE].SetValue(fileList[0])
159 sValue = self.je.ctrls[JetDefs.F_JLIST].GetString(self.je.ctrls[JetDefs.F_JLIST].GetSelection())
160 self.je.ctrls[JetDefs.F_JFILE].SetValue(sValue)
164 sValue = self.je.ctrls[JetDefs.F_JLIST].GetString(self.je.ctrls[JetDefs.F_JLIST].GetSelection())
165 self.je.ctrls[JetDefs.F_JFILE].SetValue(sValue)
167 self.fileName = self.je.ctrls[JetDefs.F_JFILE].GetValue()
174 self.fileName = self.je.ctrls[JetDefs.F_JFILE].GetValue()
184 if len(self.je.ctrls[JetDefs.F_JFILE].GetValue()) == 0:
186 self.je.ctrls[JetDefs.F_JFILE].SetFocus()
188 if not FileExists(self.je.ctrls[JetDefs.F_JFILE].GetValue()):
190 self.je.ctrls[JetDefs.F_JFILE].SetFocus()
199 self.je = JetEdit(self, "PREFERENCES_CTRLS", self)
207 return self.je.ctrls[fld].GetValue()
210 self.je.ctrls[fld].SetValue(val)
229 return self.je.ctrls[fld].GetValue()
232 self.je.ctrls[fld].SetValue(val)
240 self.je = JetEdit(self, "JET_PROPERTIES_CTRLS", self)
248 return self.je.ctrls[fld].GetValue()
251 self.je.ctrls[fld].SetValue(val)
258 self.je = JetEdit(self, "ERRORDLG", self)
266 self.je.ctrls[JetDefs.F_ERRGRID].AddCol("Error", JetDefs.ERRORCOLW)
267 self.je.ctrls[JetDefs.F_ERRGRID].AddCol("Description", JetDefs.ERRORCOLW)
268 self.je.ctrls[JetDefs.F_ERRGRID].AddRows(errors)
277 self.je = JetEdit(self, "SEGDLG_CTRLS", self)
278 self.je.ctrls[JetDefs.F_MIDIFILE].cmb.Bind(wx.EVT_KILL_FOCUS, self.OnMidiChanged)
279 self.je.ctrls[JetDefs.F_MIDIFILE].cmb.Bind(wx.EVT_COMBOBOX, self.OnMidiChanged)
280 self.je.ctrls[JetDefs.F_MIDIFILE].SetEventFire(True)
281 self.je.ctrls[JetDefs.F_MUTEFLAGS].AddCol(JetDefs.GRD_TRACK, JetDefs.MUTEGRD_TRACK)
282 self.je.ctrls[JetDefs.F_MUTEFLAGS].AddCol(JetDefs.GRD_CHANNEL, JetDefs.MUTEGRD_CHANNEL)
283 self.je.ctrls[JetDefs.F_MUTEFLAGS].AddCol(JetDefs.GRD_NAME, JetDefs.MUTEGRD_NAME)
284 self.je.ctrls[JetDefs.F_MUTEFLAGS].BindCheckBox(self.OnEventChecked)
285 self.je.ctrls[JetDefs.F_START].SetChangeCallbackFct(self.UpdateGraph)
286 self.je.ctrls[JetDefs.F_END].SetChangeCallbackFct(self.UpdateGraph)
287 self.je.ctrls[JetDefs.F_DISPEMPTYTRACKS].SetValue(IniGetValue(self.currentJetConfigFile, JetDefs.F_DISPEMPTYTRACKS, JetDefs.F_DISPEMPTYTRACKS, 'bool', 'False'))
288 self.je.ctrls[JetDefs.F_GRAPHLABELS].SetValue(IniGetValue(self.currentJetConfigFile, JetDefs.F_GRAPHLABELS, JetDefs.F_GRAPHLABELS, 'bool', 'True'))
289 self.je.ctrls[JetDefs.F_GRAPHCLIPS].SetValue(IniGetValue(self.currentJetConfigFile, JetDefs.F_GRAPHCLIPS, JetDefs.F_GRAPHCLIPS, 'bool', 'True'))
290 self.je.ctrls[JetDefs.F_GRAPHAPPEVTS].SetValue(IniGetValue(self.currentJetConfigFile, JetDefs.F_GRAPHAPPEVTS, JetDefs.F_GRAPHAPPEVTS, 'bool', 'True'))
312 self.je.ctrls[JetDefs.F_START].UnBindKillFocus()
313 self.je.ctrls[JetDefs.F_END].UnBindKillFocus()
332 if self.je.ctrls[JetDefs.F_MIDIFILE].GetValue() == self.lastMidiFile:
334 self.lastMidiFile = self.je.ctrls[JetDefs.F_MIDIFILE].GetValue()
335 self.lastMidiInfo = GetMidiInfo(self.je.ctrls[JetDefs.F_MIDIFILE].GetValue())
340 return self.je.ctrls[fld].GetValue()
344 self.je.ctrls[fld].SetValue(val)
345 if self.je.ctrls[fld] == self.je.ctrls[JetDefs.F_MIDIFILE]:
352 self.je.ctrls[JetDefs.F_START].UnBindKillFocus()
353 self.je.ctrls[JetDefs.F_END].UnBindKillFocus()
358 if not CompareMbt(self.je.ctrls[JetDefs.F_START].GetValue(), self.je.ctrls[JetDefs.F_END].GetValue()):
360 self.je.ctrls[JetDefs.F_START].SetFocus()
362 if len(self.je.ctrls[JetDefs.F_SEGNAME].GetValue()) == 0:
364 self.je.ctrls[JetDefs.F_SEGNAME].SetFocus()
366 if len(self.je.ctrls[JetDefs.F_MIDIFILE].GetValue()) == 0:
368 self.je.ctrls[JetDefs.F_MIDIFILE].SetFocus()
370 if not FileExists(self.je.ctrls[JetDefs.F_MIDIFILE].GetValue()):
372 self.je.ctrls[JetDefs.F_MIDIFILE].SetFocus()
374 if len(self.je.ctrls[JetDefs.F_DLSFILE].GetValue()) > 0:
375 if not FileExists(self.je.ctrls[JetDefs.F_DLSFILE].GetValue()):
377 self.je.ctrls[JetDefs.F_DLSFILE].SetFocus()
379 self.je.ctrls[JetDefs.F_MUTEFLAGS].SetValue(ComputeMuteFlagsFromList(self.je.ctrls[JetDefs.F_MUTEFLAGS]))
419 trackNum = self.je.ctrls[JetDefs.F_MUTEFLAGS].GetTrackNumber(index)
424 if self.je.ctrls[JetDefs.F_PLAY].GetLabel() == JetDefs.BUT_STOP:
434 self.Player = PreviewPlayer(self.je.ctrls[JetDefs.F_PLAY], self.SetSegment(self.playMode))
435 self.Player.SetGraphCtrl(self.je.ctrls[JetDefs.F_GRAPH], self)
440 if self.je.ctrls[JetDefs.F_PLAYMIDI].GetLabel() == JetDefs.BUT_STOP:
450 self.Player = PreviewPlayer(self.je.ctrls[JetDefs.F_PLAYMIDI], self.SetSegment(self.playMode))
451 self.Player.SetGraphCtrl(self.je.ctrls[JetDefs.F_GRAPH], self)
469 self.je.ctrls[JetDefs.F_GRAPH].DoDrawing()
474 self.je.ctrls[JetDefs.F_GRAPH].LoadSegment(self.graphSegment, showLabels=IniGetValue(self.currentJetConfigFile, JetDefs.F_GRAPHLABELS, JetDefs.F_GRAPHLABELS, 'bool', 'True'), showClips=IniGetValue(self.currentJetConfigFile, JetDefs.F_GRAPHCLIPS, JetDefs.F_GRAPHCLIPS, 'bool', 'True'), showAppEvts=IniGetValue(self.currentJetConfigFile, JetDefs.F_GRAPHAPPEVTS, JetDefs.F_GRAPHAPPEVTS, 'bool', 'True'))
480 self.je.ctrls[JetDefs.F_GRAPH].LoadSegment(self.graphSegment,(self.GetValue(JetDefs.F_SEGNAME), self.GetValue(JetDefs.F_START), self.GetValue(JetDefs.F_END)), iMidiMode, showLabels=IniGetValue(self.currentJetConfigFile, JetDefs.F_GRAPHLABELS, JetDefs.F_GRAPHLABELS, 'bool', 'True'), showClips=IniGetValue(self.currentJetConfigFile, JetDefs.F_GRAPHCLIPS, JetDefs.F_GRAPHCLIPS, 'bool', 'True'), showAppEvts=IniGetValue(self.currentJetConfigFile, JetDefs.F_GRAPHAPPEVTS, JetDefs.F_GRAPHAPPEVTS, 'bool', 'True'))
485 self.je.ctrls[JetDefs.F_GRAPH].UpdateLocation(evt.data)
488 self.je.ctrls[JetDefs.F_PLAY].SetLabel(JetDefs.BUT_STOP)
489 self.je.ctrls[JetDefs.F_PLAYMIDI].Enabled = False
491 self.je.ctrls[JetDefs.F_RDOGRAPH].Enabled = False
492 self.je.ctrls[JetDefs.F_PLAYMIDI].SetLabel(JetDefs.BUT_STOP)
493 self.je.ctrls[JetDefs.F_PLAY].Enabled = False
495 self.je.ctrls[JetDefs.F_PAUSE].Enabled = True
496 self.je.ctrls[JetDefs.F_PAUSE].SetLabel(JetDefs.BUT_PAUSE)
498 self.je.ctrls[JetDefs.F_RDOGRAPH].Enabled = True
500 self.je.ctrls[JetDefs.F_PLAY].SetLabel(JetDefs.BUT_PLAYSEG)
501 self.je.ctrls[JetDefs.F_PLAYMIDI].Enabled = True
503 self.je.ctrls[JetDefs.F_PLAYMIDI].SetLabel(JetDefs.BUT_PLAYMIDI)
504 self.je.ctrls[JetDefs.F_PLAY].Enabled = True
506 self.je.ctrls[JetDefs.F_PAUSE].Enabled = False
507 self.je.ctrls[JetDefs.F_PAUSE].SetLabel(JetDefs.BUT_PAUSE)
509 self.je.ctrls[JetDefs.F_PAUSE].SetLabel(JetDefs.BUT_RESUME)
511 self.je.ctrls[JetDefs.F_PAUSE].SetLabel(JetDefs.BUT_PAUSE)
513 ClearRowSelections(self.je.ctrls[JetDefs.F_MUTEFLAGS])
516 self.je.ctrls[JetDefs.F_END].SetMaxMbt(self.md.maxMeasures+1,self.md.maxBeats,self.md.maxTicks)
517 if self.je.ctrls[JetDefs.F_END].GetValue() == JetDefs.MBT_ZEROSTR:
518 self.je.ctrls[JetDefs.F_END].SetValue((self.md.maxMeasures,0,0))
519 self.je.ctrls[JetDefs.F_START].SetMaxMbt(self.md.maxMeasures+1,self.md.maxBeats,self.md.maxTicks)
520 self.je.ctrls[JetDefs.F_MUTEFLAGS].DeleteAllItems()
523 self.je.ctrls[JetDefs.F_MUTEFLAGS].AddTrackRow(track, loadEmpty)
524 self.je.ctrls[JetDefs.F_MUTEFLAGS].CheckTracks(self.je.ctrls[JetDefs.F_MUTEFLAGS].GetValue())
529 IniSetValue(self.currentJetConfigFile, JetDefs.INI_DISPEMPTYTRACKS, JetDefs.INI_DISPEMPTYTRACKS, self.je.ctrls[JetDefs.F_DISPEMPTYTRACKS].GetValue())
532 self.je.ctrls[JetDefs.F_MUTEFLAGS].DeleteAllItems()
535 self.je.ctrls[JetDefs.F_MUTEFLAGS].AddTrackRow(track, loadEmpty)
543 IniSetValue(self.currentJetConfigFile, JetDefs.F_GRAPHLABELS, JetDefs.F_GRAPHLABELS, self.je.ctrls[JetDefs.F_GRAPHLABELS].GetValue())
544 IniSetValue(self.currentJetConfigFile, JetDefs.F_GRAPHAPPEVTS, JetDefs.F_GRAPHAPPEVTS, self.je.ctrls[JetDefs.F_GRAPHAPPEVTS].GetValue())
545 IniSetValue(self.currentJetConfigFile, JetDefs.F_GRAPHCLIPS, JetDefs.F_GRAPHCLIPS, self.je.ctrls[JetDefs.F_GRAPHCLIPS].GetValue())
553 dlg.event_max = self.je.ctrls[JetDefs.F_START].GetMaxMbt()
571 self.je = JetEdit(self, "EVTDLG_CTRLS", self)
572 self.je.ctrls[JetDefs.F_MUTEFLAGS].AddCol(JetDefs.GRD_TRACK, JetDefs.MUTEGRD_TRACK)
573 self.je.ctrls[JetDefs.F_MUTEFLAGS].AddCol(JetDefs.GRD_CHANNEL, JetDefs.MUTEGRD_CHANNEL)
574 self.je.ctrls[JetDefs.F_MUTEFLAGS].AddCol(JetDefs.GRD_NAME, JetDefs.MUTEGRD_NAME)
575 self.je.ctrls[JetDefs.F_ESTART].SetChangeCallbackFct(self.UpdateGraph)
576 self.je.ctrls[JetDefs.F_EEND].SetChangeCallbackFct(self.UpdateGraph)
577 self.je.ctrls[JetDefs.F_GRAPHLABELS].SetValue(IniGetValue(self.currentJetConfigFile, JetDefs.F_GRAPHLABELS, JetDefs.F_GRAPHLABELS, 'bool', 'True'))
578 self.je.ctrls[JetDefs.F_GRAPHCLIPS].SetValue(IniGetValue(self.currentJetConfigFile, JetDefs.F_GRAPHCLIPS, JetDefs.F_GRAPHCLIPS, 'bool', 'True'))
579 self.je.ctrls[JetDefs.F_GRAPHAPPEVTS].SetValue(IniGetValue(self.currentJetConfigFile, JetDefs.F_GRAPHAPPEVTS, JetDefs.F_GRAPHAPPEVTS, 'bool', 'True'))
594 self.je.ctrls[JetDefs.F_GRAPH].DoDrawing()
599 self.je.ctrls[JetDefs.F_GRAPH].UpdateLocation(evt.data)
601 self.je.ctrls[JetDefs.F_PAUSE].SetLabel(JetDefs.BUT_PAUSE)
602 self.je.ctrls[JetDefs.F_PLAY].SetLabel(JetDefs.BUT_STOP)
603 self.je.ctrls[JetDefs.F_PAUSE].Enabled = True
604 self.je.ctrls[JetDefs.F_ETRIGGERBUT].Enabled = True
605 self.je.ctrls[JetDefs.F_EMUTEBUT].Enabled = True
607 self.je.ctrls[JetDefs.F_EMUTEBUT].SetLabel(JetDefs.BUT_UNMUTE)
608 self.je.ctrls[JetDefs.F_PLAY].SetLabel(JetDefs.BUT_PLAY)
609 self.je.ctrls[JetDefs.F_PAUSE].Enabled = False
610 self.je.ctrls[JetDefs.F_PAUSE].SetLabel(JetDefs.BUT_PAUSE)
611 self.je.ctrls[JetDefs.F_ETRIGGERBUT].Enabled = False
612 self.je.ctrls[JetDefs.F_EMUTEBUT].Enabled = False
614 self.je.ctrls[JetDefs.F_PAUSE].SetLabel(JetDefs.BUT_RESUME)
616 self.je.ctrls[JetDefs.F_PAUSE].SetLabel(JetDefs.BUT_PAUSE)
625 self.segment.jetevents.append(JetEvent(self.je.ctrls[JetDefs.F_ENAME].GetValue(),
626 self.je.ctrls[JetDefs.F_ETYPE].GetValue(),
628 self.je.ctrls[JetDefs.F_ETRACK].GetValue(),
629 self.je.ctrls[JetDefs.F_ECHANNEL].GetValue(),
630 self.je.ctrls[JetDefs.F_ESTART].GetValue(),
631 self.je.ctrls[JetDefs.F_EEND].GetValue()))
633 self.segment.jetevents[0].event_name = self.je.ctrls[JetDefs.F_ENAME].GetValue()
634 self.segment.jetevents[0].event_type = self.je.ctrls[JetDefs.F_ETYPE].GetValue()
635 self.segment.jetevents[0].event_start = self.je.ctrls[JetDefs.F_ESTART].GetValue()
636 self.segment.jetevents[0].event_end = self.je.ctrls[JetDefs.F_EEND].GetValue()
637 self.je.ctrls[JetDefs.F_GRAPH].LoadSegment(self.segment, showLabels=IniGetValue(self.currentJetConfigFile, JetDefs.F_GRAPHLABELS, JetDefs.F_GRAPHLABELS, 'bool', 'True'), showClips=IniGetValue(self.currentJetConfigFile, JetDefs.F_GRAPHCLIPS, JetDefs.F_GRAPHCLIPS, 'bool', 'True'), showAppEvts=IniGetValue(self.currentJetConfigFile, JetDefs.F_GRAPHAPPEVTS, JetDefs.F_GRAPHAPPEVTS, 'bool', 'True'))
642 self.je.ctrls[JetDefs.F_ESTART].UnBindKillFocus()
643 self.je.ctrls[JetDefs.F_EEND].UnBindKillFocus()
653 return self.je.ctrls[fld].GetValue()
657 self.je.ctrls[fld].SetValue(val)
667 self.je.ctrls[JetDefs.F_EEVENTID].SetValue(iNextEventId + 1)
671 eType = self.je.ctrls[JetDefs.F_ETYPE].GetValue()
673 self.je.ctrls[JetDefs.F_ENAME].SetValue(JetDefs.E_EOS)
674 self.je.ctrls[JetDefs.F_ENAME].Enable(False)
675 self.je.ctrls[JetDefs.F_ESTART].Enable(False)
676 self.je.ctrls[JetDefs.F_EEND].Enable(True)
677 self.je.ctrls[JetDefs.F_ETRIGGERBUT].Enable(False)
678 self.je.ctrls[JetDefs.F_EEVENTID].Enable(False)
680 if len(self.je.ctrls[JetDefs.F_ENAME].GetValue()) == 0 or self.je.ctrls[JetDefs.F_ENAME].GetValue() == JetDefs.E_EOS or self.je.ctrls[JetDefs.F_ENAME].GetValue() == JetDefs.E_APP:
681 self.je.ctrls[JetDefs.F_ENAME].SetValue(JetDefs.E_CLIP)
682 self.je.ctrls[JetDefs.F_ENAME].Enable(True)
683 self.je.ctrls[JetDefs.F_ESTART].Enable(True)
684 self.je.ctrls[JetDefs.F_EEND].Enable(True)
685 self.je.ctrls[JetDefs.F_ETRIGGERBUT].Enable(True)
686 self.je.ctrls[JetDefs.F_EEVENTID].Enable(True)
687 self.je.ctrls[JetDefs.F_EEVENTID].SetRange(JetDefs.EVENTID_MIN, JetDefs.EVENTID_MAX)
688 if self.je.ctrls[JetDefs.F_EEVENTID].GetValue() < JetDefs.EVENTID_MIN:
689 self.je.ctrls[JetDefs.F_EEVENTID].SetValue(JetDefs.EVENTID_MIN)
690 if self.je.ctrls[JetDefs.F_EEVENTID].GetValue() > JetDefs.EVENTID_MAX:
691 self.je.ctrls[JetDefs.F_EEVENTID].SetValue(JetDefs.EVENTID_MAX)
694 if len(self.je.ctrls[JetDefs.F_ENAME].GetValue()) == 0 or self.je.ctrls[JetDefs.F_ENAME].GetValue() == JetDefs.E_EOS:
695 self.je.ctrls[JetDefs.F_ENAME].SetValue(JetDefs.E_APP)
696 self.je.ctrls[JetDefs.F_ENAME].Enable(True)
697 self.je.ctrls[JetDefs.F_ESTART].Enable(True)
698 self.je.ctrls[JetDefs.F_EEND].Enable(False)
699 self.je.ctrls[JetDefs.F_ETRIGGERBUT].Enable(False)
700 self.je.ctrls[JetDefs.F_EEVENTID].Enable(True)
701 self.je.ctrls[JetDefs.F_EEVENTID].SetRange(JetDefs.APPCONTROLLERID_MIN, JetDefs.APPCONTROLLERID_MAX)
702 if self.je.ctrls[JetDefs.F_EEVENTID].GetValue() < JetDefs.APPCONTROLLERID_MIN:
703 self.je.ctrls[JetDefs.F_EEVENTID].SetValue(JetDefs.APPCONTROLLERID_MIN)
704 if self.je.ctrls[JetDefs.F_EEVENTID].GetValue() > JetDefs.APPCONTROLLERID_MAX:
705 self.je.ctrls[JetDefs.F_EEVENTID].SetValue(JetDefs.APPCONTROLLERID_MAX)
711 self.je.ctrls[JetDefs.F_ESTART].UnBindKillFocus()
712 self.je.ctrls[JetDefs.F_EEND].UnBindKillFocus()
717 if len(self.je.ctrls[JetDefs.F_ENAME].GetValue()) == 0:
719 self.je.ctrls[JetDefs.F_ENAME].SetFocus()
721 if len(self.je.ctrls[JetDefs.F_ETYPE].GetValue()) == 0:
723 self.je.ctrls[JetDefs.F_ETYPE].SetFocus()
725 if self.je.ctrls[JetDefs.F_ETYPE].GetValue() == JetDefs.E_CLIP:
726 if not CompareMbt(self.je.ctrls[JetDefs.F_ESTART].GetValue(), self.je.ctrls[JetDefs.F_EEND].GetValue()):
728 self.je.ctrls[JetDefs.F_ESTART].SetFocus()
730 if MbtVal(self.je.ctrls[JetDefs.F_ESTART].GetValue()) < MbtVal(self.je.ctrls[JetDefs.F_START].GetValue()):
732 self.je.ctrls[JetDefs.F_ESTART].SetFocus()
734 if MbtVal(self.je.ctrls[JetDefs.F_EEND].GetValue()) > MbtVal(self.je.ctrls[JetDefs.F_END].GetValue()):
736 self.je.ctrls[JetDefs.F_ESTART].SetFocus()
738 if self.je.ctrls[JetDefs.F_ETYPE].GetValue() == JetDefs.E_APP:
739 self.je.ctrls[JetDefs.F_EEND].SetValue(self.je.ctrls[JetDefs.F_ESTART].GetValue())
740 if self.je.ctrls[JetDefs.F_ETYPE].GetValue() == JetDefs.E_EOS:
741 self.je.ctrls[JetDefs.F_ESTART].SetValue(self.je.ctrls[JetDefs.F_EEND].GetValue())
758 maxMeasures = abs(int(self.je.ctrls[JetDefs.F_END].GetValue('int')[0]))
759 self.je.ctrls[JetDefs.F_EEND].SetMaxMbt(maxMeasures+1,md.maxBeats,md.maxTicks)
760 self.je.ctrls[JetDefs.F_ESTART].SetMaxMbt(maxMeasures+1,md.maxBeats,md.maxTicks)
761 minMeasures = abs(int(self.je.ctrls[JetDefs.F_START].GetValue('int')[0]))
762 self.je.ctrls[JetDefs.F_EEND].SetMinMbt(minMeasures+1,0,0)
763 self.je.ctrls[JetDefs.F_ESTART].SetMinMbt(minMeasures+1,0,0)
764 self.je.ctrls[JetDefs.F_END].GetValue('int')
765 self.je.ctrls[JetDefs.F_ETRACK].SetRange(1, md.maxTracks)
766 self.je.ctrls[JetDefs.F_MUTEFLAGS].DeleteAllItems()
768 self.je.ctrls[JetDefs.F_MUTEFLAGS].AddTrackRow(track)
769 self.je.ctrls[JetDefs.F_MUTEFLAGS].CheckTracks(self.je.ctrls[JetDefs.F_MUTEFLAGS].GetValue())
770 self.je.ctrls[JetDefs.F_MUTEFLAGS].SetTextColour(wx.SystemSettings.GetColour(wx.SYS_COLOUR_GRAYTEXT))
771 self.je.ctrls[JetDefs.F_GRAPH].LoadSegment(segment, showLabels=IniGetValue(self.currentJetConfigFile, JetDefs.F_GRAPHLABELS, JetDefs.F_GRAPHLABELS, 'bool', 'True'), showClips=IniGetValue(self.currentJetConfigFile, JetDefs.F_GRAPHCLIPS, JetDefs.F_GRAPHCLIPS, 'bool', 'True'), showAppEvts=IniGetValue(self.currentJetConfigFile, JetDefs.F_GRAPHAPPEVTS, JetDefs.F_GRAPHAPPEVTS, 'bool', 'True'))
775 if self.je.ctrls[JetDefs.F_PLAY].GetLabel() == JetDefs.BUT_STOP:
802 self.Player = PreviewPlayer(self.je.ctrls[JetDefs.F_PLAY], segment)
803 self.Player.SetGraphCtrl(self.je.ctrls[JetDefs.F_GRAPH], self)
804 self.je.ctrls[JetDefs.F_GRAPH].ClickCallbackFct = self.GraphTriggerClip
805 self.Player.trigger_button = self.je.ctrls[JetDefs.F_ETRIGGERBUT]
806 self.Player.mute_button = self.je.ctrls[JetDefs.F_EMUTEBUT]
817 self.Player.MuteTrackViaButton(self.je.ctrls[JetDefs.F_EMUTEBUT],
818 int(self.je.ctrls[JetDefs.F_ETRACK].GetValue()))
827 IniSetValue(self.currentJetConfigFile, JetDefs.F_GRAPHLABELS, JetDefs.F_GRAPHLABELS, self.je.ctrls[JetDefs.F_GRAPHLABELS].GetValue())
828 IniSetValue(self.currentJetConfigFile, JetDefs.F_GRAPHAPPEVTS, JetDefs.F_GRAPHAPPEVTS, self.je.ctrls[JetDefs.F_GRAPHAPPEVTS].GetValue())
829 IniSetValue(self.currentJetConfigFile, JetDefs.F_GRAPHCLIPS, JetDefs.F_GRAPHCLIPS, self.je.ctrls[JetDefs.F_GRAPHCLIPS].GetValue())
853 self.je = JetEdit(self, "REPLICATE_CTRLS", self)
855 self.je.ctrls[JetDefs.F_RPINCREMENT].SetMinMbt(0,0,0)
856 self.je.ctrls[JetDefs.F_RPINCREMENT].SetValue((-1,-1,-1))
857 self.je.ctrls[JetDefs.F_RPNUMBER].SetValue(1)
859 self.je.ctrls[JetDefs.F_RPGRDPREVIEW].AddCol(title, width)
869 return self.je.ctrls[fld].GetValue()
872 self.je.ctrls[fld].SetValue(val)
893 increment = MbtVal((self.je.ctrls[JetDefs.F_RPINCREMENT].GetMeasure(), self.je.ctrls[JetDefs.F_RPINCREMENT].GetBeat(), self.je.ctrls[JetDefs.F_RPINCREMENT].GetTick()))
912 self.je.ctrls[JetDefs.F_RPGRDPREVIEW].DeleteAllItems()
913 self.je.ctrls[JetDefs.F_RPGRDPREVIEW].AddRows(self.lstReplicate)
920 self.je = JetEdit(self, "MOVE_CTRLS", self)
922 self.je.ctrls[JetDefs.F_RPINCREMENT].SetMinMbt(-999,-4,-480)
923 self.je.ctrls[JetDefs.F_RPINCREMENT].SetValue((-1,-1,-1))
925 self.je.ctrls[JetDefs.F_RPGRDPREVIEW].AddCol(title, width)
937 return self.je.ctrls[fld].GetValue()
940 self.je.ctrls[fld].SetValue(val)
943 increment = MbtVal((abs(self.je.ctrls[JetDefs.F_RPINCREMENT].GetMeasure()), abs(self.je.ctrls[JetDefs.F_RPINCREMENT].GetBeat()), abs(self.je.ctrls[JetDefs.F_RPINCREMENT].GetTick())))
944 if self.je.ctrls[JetDefs.F_RPINCREMENT].GetMeasure() < 0 or self.je.ctrls[JetDefs.F_RPINCREMENT].GetBeat() < 0 or self.je.ctrls[JetDefs.F_RPINCREMENT].GetTick() < 0:
968 self.je.ctrls[JetDefs.F_RPGRDPREVIEW].DeleteAllItems()
969 self.je.ctrls[JetDefs.F_RPGRDPREVIEW].AddRows(self.lstMove)