def __init__(self): self.subtitles = SubtitlesLoader() self.repeatCount = 0 self.currentSubExerciseId = 0 self.subExercisesList = [] self.currentSubExercise = None self.repeatAfterCompleted = True self.maxSequenceLength = 60.0 self.timeBetweenSequence = 0.0 self.outputSavePath = None self.template = False self.name = None self.mediaChangeCallback = None self.language = None self.randomOrder = False self.playMarginAfter = 500 self.playMarginBefore = 1000 self.use_dynamic_correction = True self.repeat_count_limit_by_sequence = 0 self.lock_help = False self.lock_properties = False self.lock_correction = False self.lock_properties_password = None self.lock_correction_password = None self.lock_properties_salt = None self.lock_correction_salt = None
def __init__(self, parent): self.subtitles = SubtitlesLoader() self.currentSequenceId = 0 self.sequenceList = [] self.parent = parent self.videoExportPath = None self.exerciseExportPath = None self.translationExportPath = None