Lines Matching refs:GetValue
130 def GetValue(self, fld): member in JetEdit
132 return self.ctrls[fld].GetValue()
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:
188 if not FileExists(self.je.ctrls[JetDefs.F_JFILE].GetValue()):
206 def GetValue(self, fld): member in JetPreferences
207 return self.je.ctrls[fld].GetValue()
228 def GetValue(self, fld): member in JetAbout
229 return self.je.ctrls[fld].GetValue()
247 def GetValue(self, fld): member in JetPropertiesDialog
248 return self.je.ctrls[fld].GetValue()
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())
338 def GetValue(self, fld): member in SegEdit
340 return self.je.ctrls[fld].GetValue()
358 …if not CompareMbt(self.je.ctrls[JetDefs.F_START].GetValue(), self.je.ctrls[JetDefs.F_END].GetValue…
362 if len(self.je.ctrls[JetDefs.F_SEGNAME].GetValue()) == 0:
366 if len(self.je.ctrls[JetDefs.F_MIDIFILE].GetValue()) == 0:
370 if not FileExists(self.je.ctrls[JetDefs.F_MIDIFILE].GetValue()):
374 if len(self.je.ctrls[JetDefs.F_DLSFILE].GetValue()) > 0:
375 if not FileExists(self.je.ctrls[JetDefs.F_DLSFILE].GetValue()):
386 segment = JetSegment(self.GetValue(JetDefs.F_SEGNAME),
387 self.GetValue(JetDefs.F_MIDIFILE),
388 self.GetValue(JetDefs.F_START),
389 self.GetValue(JetDefs.F_END),
391 self.GetValue(JetDefs.F_SEGNAME),
392 self.GetValue(JetDefs.F_QUANTIZE),
394 self.GetValue(JetDefs.F_DLSFILE),
396 self.GetValue(JetDefs.F_TRANSPOSE),
397 self.GetValue(JetDefs.F_REPEAT),
398 self.GetValue(JetDefs.F_MUTEFLAGS))
401 segment = JetSegment(self.GetValue(JetDefs.F_SEGNAME),
402 self.GetValue(JetDefs.F_MIDIFILE),
406 self.GetValue(JetDefs.F_SEGNAME),
407 self.GetValue(JetDefs.F_QUANTIZE),
409 self.GetValue(JetDefs.F_DLSFILE),
480 …H].LoadSegment(self.graphSegment,(self.GetValue(JetDefs.F_SEGNAME), self.GetValue(JetDefs.F_START)…
517 if self.je.ctrls[JetDefs.F_END].GetValue() == JetDefs.MBT_ZEROSTR:
524 … self.je.ctrls[JetDefs.F_MUTEFLAGS].CheckTracks(self.je.ctrls[JetDefs.F_MUTEFLAGS].GetValue())
529 …_DISPEMPTYTRACKS, JetDefs.INI_DISPEMPTYTRACKS, self.je.ctrls[JetDefs.F_DISPEMPTYTRACKS].GetValue())
543 …ile, JetDefs.F_GRAPHLABELS, JetDefs.F_GRAPHLABELS, self.je.ctrls[JetDefs.F_GRAPHLABELS].GetValue())
544 …, JetDefs.F_GRAPHAPPEVTS, JetDefs.F_GRAPHAPPEVTS, self.je.ctrls[JetDefs.F_GRAPHAPPEVTS].GetValue())
545 …igFile, JetDefs.F_GRAPHCLIPS, JetDefs.F_GRAPHCLIPS, self.je.ctrls[JetDefs.F_GRAPHCLIPS].GetValue())
551 dlg.SetName(self.GetValue(JetDefs.F_SEGNAME))
554 …h = MbtDifference(ConvertStrTimeToTuple(self.GetValue(JetDefs.F_START)), ConvertStrTimeToTuple(sel…
557 self.replicatePrefix = dlg.GetValue(JetDefs.F_RPPREFIX)
559 self.chkReplaceMatching = dlg.GetValue(JetDefs.F_RPREPLACE)
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()
651 def GetValue(self, fld): member in EventEdit
653 return self.je.ctrls[fld].GetValue()
671 eType = self.je.ctrls[JetDefs.F_ETYPE].GetValue()
680 …etDefs.F_ENAME].GetValue()) == 0 or self.je.ctrls[JetDefs.F_ENAME].GetValue() == JetDefs.E_EOS or …
688 if self.je.ctrls[JetDefs.F_EEVENTID].GetValue() < JetDefs.EVENTID_MIN:
690 if self.je.ctrls[JetDefs.F_EEVENTID].GetValue() > JetDefs.EVENTID_MAX:
694 …if len(self.je.ctrls[JetDefs.F_ENAME].GetValue()) == 0 or self.je.ctrls[JetDefs.F_ENAME].GetValue(…
702 if self.je.ctrls[JetDefs.F_EEVENTID].GetValue() < JetDefs.APPCONTROLLERID_MIN:
704 if self.je.ctrls[JetDefs.F_EEVENTID].GetValue() > JetDefs.APPCONTROLLERID_MAX:
717 if len(self.je.ctrls[JetDefs.F_ENAME].GetValue()) == 0:
721 if len(self.je.ctrls[JetDefs.F_ETYPE].GetValue()) == 0:
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…
730 …if MbtVal(self.je.ctrls[JetDefs.F_ESTART].GetValue()) < MbtVal(self.je.ctrls[JetDefs.F_START].GetV…
734 …if MbtVal(self.je.ctrls[JetDefs.F_EEND].GetValue()) > MbtVal(self.je.ctrls[JetDefs.F_END].GetValue…
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]))
761 minMeasures = abs(int(self.je.ctrls[JetDefs.F_START].GetValue('int')[0]))
764 self.je.ctrls[JetDefs.F_END].GetValue('int')
769 … self.je.ctrls[JetDefs.F_MUTEFLAGS].CheckTracks(self.je.ctrls[JetDefs.F_MUTEFLAGS].GetValue())
783 jetevents.append(JetEvent(self.GetValue(JetDefs.F_ENAME), self.GetValue(JetDefs.F_ETYPE),
784 self.event_id, int(self.GetValue(JetDefs.F_ETRACK)),
785 int(self.GetValue(JetDefs.F_ECHANNEL)),
786 self.GetValue(JetDefs.F_ESTART), self.GetValue(JetDefs.F_EEND)))
788 segment = JetSegment(self.GetValue(JetDefs.F_SEGNAME),
789 self.GetValue(JetDefs.F_MIDIFILE),
790 self.GetValue(JetDefs.F_START),
791 self.GetValue(JetDefs.F_END),
793 self.GetValue(JetDefs.F_SEGNAME),
794 self.GetValue(JetDefs.F_QUANTIZE),
796 self.GetValue(JetDefs.F_DLSFILE),
798 self.GetValue(JetDefs.F_TRANSPOSE),
799 self.GetValue(JetDefs.F_REPEAT),
800 self.GetValue(JetDefs.F_MUTEFLAGS))
818 int(self.je.ctrls[JetDefs.F_ETRACK].GetValue()))
827 …ile, JetDefs.F_GRAPHLABELS, JetDefs.F_GRAPHLABELS, self.je.ctrls[JetDefs.F_GRAPHLABELS].GetValue())
828 …, JetDefs.F_GRAPHAPPEVTS, JetDefs.F_GRAPHAPPEVTS, self.je.ctrls[JetDefs.F_GRAPHAPPEVTS].GetValue())
829 …igFile, JetDefs.F_GRAPHCLIPS, JetDefs.F_GRAPHCLIPS, self.je.ctrls[JetDefs.F_GRAPHCLIPS].GetValue())
835 dlg.SetName(self.GetValue(JetDefs.F_ENAME))
836 dlg.event_type = self.GetValue(JetDefs.F_ETYPE)
838 … = MbtDifference(ConvertStrTimeToTuple(self.GetValue(JetDefs.F_ESTART)), ConvertStrTimeToTuple(sel…
841 self.replicatePrefix = dlg.GetValue(JetDefs.F_RPPREFIX)
843 self.chkReplaceMatching = dlg.GetValue(JetDefs.F_RPREPLACE)
868 def GetValue(self, fld): member in JetReplicate
869 return self.je.ctrls[fld].GetValue()
883 if self.GetValue(JetDefs.F_RPPREFIX) == '':
891 start = MbtVal(self.GetValue(JetDefs.F_ESTART))
896 iTo = int(self.GetValue(JetDefs.F_RPNUMBER))
898 evt_name = "%s %.2d" % (self.GetValue(JetDefs.F_RPPREFIX), i)
936 def GetValue(self, fld): member in JetMove
937 return self.je.ctrls[fld].GetValue()