def ui():
'''
User interface for stopwatch
'''
with utl.MlUi('ml_stopwatch', 'Stopwatch', width=400, height=175, info='''Press the start button to start recording.
Continue pressing to set marks.
When finished, press the stop button and the report will pop up.''') as win:
mc.checkBoxGrp('ml_stopwatch_round_checkBox',label='Round to nearest frame', value1=True, annotation='Only whole number frames')
mc.text('ml_stopwatch_countdown_text', label='Ready...')
mc.button('ml_stopwatch_main_button', label='Start', height=80)
_setButtonStart()
mc.button(label='Stop', command=_stopButton, annotation='Stop the recording.')
评论列表
文章目录