Lines Matching refs:ctrls
44 ctrls = getattr(JetDefs, ctrlList)
45 self.ctrls = {}
46 for Lbl, Text, Row, Col, Len, Min, Max, Id, Lst, Fct, Enabled, HelpText in ctrls:
50 self.ctrls[Text] = wx.Button(panel, Id, Lbl, wx.Point(Col, Row), size=Len)
52 … self.ctrls[Text].Bind(wx.EVT_BUTTON, getattr(callbackClass, Fct), self.ctrls[Text], id=Id)
54 self.ctrls[Text].SetDefault()
58 … self.ctrls[Text] = wx.TextCtrl(panel, Id, "", wx.Point(Col, Row + LBL_OFFSET +3), wx.Size(Len,-1))
60 …self.ctrls[Text] = JetSpinOneBased(panel, Id, "", wx.Point(Col, Row + LBL_OFFSET), wx.Size(Len,-1)…
62 …self.ctrls[Text] = JetSpin(panel, Id, "", wx.Point(Col, Row + LBL_OFFSET), wx.Size(Len,-1), min=Mi…
64 …self.ctrls[Text] = wx.ComboBox(panel, Id, "", wx.Point(Col, Row + LBL_OFFSET), wx.Size(Len,-1), Ls…
65 self.ctrls[Text].SetValue(Lst[0])
67 … self.ctrls[Text].Bind(wx.EVT_COMBOBOX, getattr(callbackClass, Fct), self.ctrls[Text])
69 … self.ctrls[Text] = TimeCtrl(panel, pos=(Col, Row + LBL_OFFSET), ctlName=Text)
71 …self.ctrls[Text] = JetFileCombo(panel, pos=(Col, Row + LBL_OFFSET), size=wx.Size(Len,-1), title=Lb…
73 …self.ctrls[Text] = JetFileText(panel, pos=(Col, Row + LBL_OFFSET), size=wx.Size(Len,-1), title=Lbl…
75 … self.ctrls[Text] = wx.StaticBox(parent=panel, id=wx.ID_ANY, label=Lbl, pos=(Row, Col), size=Len)
78 … self.ctrls[Text] = JetCheckBox(panel, Id, label=Lbl, pos=(Col, Row), size=wx.Size(Len,-1))
81 … self.ctrls[Text].Bind(wx.EVT_CHECKBOX , getattr(callbackClass, Fct), self.ctrls[Text])
83 …self.ctrls[Text] = wx.RadioBox(panel, Id, label=Lbl, pos=(Col, Row), size=Len, choices=Lst, majorD…
86 … self.ctrls[Text].Bind(wx.EVT_RADIOBOX , getattr(callbackClass, Fct), self.ctrls[Text])
88 … self.ctrls[Text] = JetRadioButton(panel, Id, label=Lbl, pos=(Col, Row), size=wx.Size(Len,-1))
90 self.ctrls[Text].SetValue(Lst)
92 … self.ctrls[Text].Bind(wx.EVT_RADIOBUTTON , getattr(callbackClass, Fct), self.ctrls[Text])
94 self.ctrls[Text] = wx.ListBox(panel, Id, pos=(Col, Row), size=Len)
97 …self.ctrls[Text] = JetTrackCtrl(panel, Id, pos=(Col, Row + LBL_OFFSET), size=Len, style=wx.LC_REPO…
100 self.ctrls[Text] = JetListCtrl(panel, Id, pos=(Col, Row), size=Len)
103 self.ctrls[Text] = SegmentGraph(panel, pos=(Col, Row), size=Len)
106 self.ctrls[Text] = wx.ContextHelpButton(panel, Id, pos=(Col, Row))
109 … self.ctrls[Text] = wx.StaticText(panel, Id, Lbl, wx.Point(Col, Row), size=wx.Size(Len[0],Len[1]))
112 … self.ctrls[Text] = wx.StaticBox(panel, wx.ID_ANY, Lbl, pos=(Col, Row), size=Len)
116 self.ctrls[Lbl] = wx.StaticText(panel, Id, Lbl, wx.Point(Col, Row))
118 self.ctrls[Text].Enable(False)
122 self.ctrls[Text].SetHelpText(helpText)
132 return self.ctrls[fld].GetValue()
136 self.ctrls[fld].SetValue(val)
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()
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)
248 return self.je.ctrls[fld].GetValue()
251 self.je.ctrls[fld].SetValue(val)
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)
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…
288 …self.je.ctrls[JetDefs.F_GRAPHLABELS].SetValue(IniGetValue(self.currentJetConfigFile, JetDefs.F_GRA…
289 …self.je.ctrls[JetDefs.F_GRAPHCLIPS].SetValue(IniGetValue(self.currentJetConfigFile, JetDefs.F_GRAP…
290 …self.je.ctrls[JetDefs.F_GRAPHAPPEVTS].SetValue(IniGetValue(self.currentJetConfigFile, JetDefs.F_GR…
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_MUTEF…
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.currentJ…
480 …self.je.ctrls[JetDefs.F_GRAPH].LoadSegment(self.graphSegment,(self.GetValue(JetDefs.F_SEGNAME), se…
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 …igFile, JetDefs.INI_DISPEMPTYTRACKS, JetDefs.INI_DISPEMPTYTRACKS, self.je.ctrls[JetDefs.F_DISPEMPT…
532 self.je.ctrls[JetDefs.F_MUTEFLAGS].DeleteAllItems()
535 self.je.ctrls[JetDefs.F_MUTEFLAGS].AddTrackRow(track, loadEmpty)
543 …rrentJetConfigFile, JetDefs.F_GRAPHLABELS, JetDefs.F_GRAPHLABELS, self.je.ctrls[JetDefs.F_GRAPHLAB…
544 …entJetConfigFile, JetDefs.F_GRAPHAPPEVTS, JetDefs.F_GRAPHAPPEVTS, self.je.ctrls[JetDefs.F_GRAPHAPP…
545 …currentJetConfigFile, JetDefs.F_GRAPHCLIPS, JetDefs.F_GRAPHCLIPS, self.je.ctrls[JetDefs.F_GRAPHCLI…
553 dlg.event_max = self.je.ctrls[JetDefs.F_START].GetMaxMbt()
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_GRA…
578 …self.je.ctrls[JetDefs.F_GRAPHCLIPS].SetValue(IniGetValue(self.currentJetConfigFile, JetDefs.F_GRAP…
579 …self.je.ctrls[JetDefs.F_GRAPHAPPEVTS].SetValue(IniGetValue(self.currentJetConfigFile, JetDefs.F_GR…
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.currentJetCon…
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(…
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(…
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_MA…
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].GetVal…
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].GetV…
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_GRAYTEX…
771 …self.je.ctrls[JetDefs.F_GRAPH].LoadSegment(segment, showLabels=IniGetValue(self.currentJetConfigFi…
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 …rrentJetConfigFile, JetDefs.F_GRAPHLABELS, JetDefs.F_GRAPHLABELS, self.je.ctrls[JetDefs.F_GRAPHLAB…
828 …entJetConfigFile, JetDefs.F_GRAPHAPPEVTS, JetDefs.F_GRAPHAPPEVTS, self.je.ctrls[JetDefs.F_GRAPHAPP…
829 …currentJetConfigFile, JetDefs.F_GRAPHCLIPS, JetDefs.F_GRAPHCLIPS, self.je.ctrls[JetDefs.F_GRAPHCLI…
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 …ement = MbtVal((self.je.ctrls[JetDefs.F_RPINCREMENT].GetMeasure(), self.je.ctrls[JetDefs.F_RPINCRE…
912 self.je.ctrls[JetDefs.F_RPGRDPREVIEW].DeleteAllItems()
913 self.je.ctrls[JetDefs.F_RPGRDPREVIEW].AddRows(self.lstReplicate)
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 …btVal((abs(self.je.ctrls[JetDefs.F_RPINCREMENT].GetMeasure()), abs(self.je.ctrls[JetDefs.F_RPINCRE…
944 …if self.je.ctrls[JetDefs.F_RPINCREMENT].GetMeasure() < 0 or self.je.ctrls[JetDefs.F_RPINCREMENT].G…
968 self.je.ctrls[JetDefs.F_RPGRDPREVIEW].DeleteAllItems()
969 self.je.ctrls[JetDefs.F_RPGRDPREVIEW].AddRows(self.lstMove)