def build_gui_help_add_sine_attr():
    ' Creates GUI for Make Stretchy IK '
    window_name = 'build_gui_help_add_sine_attr'
    if cmds.window(window_name, exists=True):
        cmds.deleteUI(window_name, window=True)
    cmds.window(window_name, title=(script_name + ' Help'), mnb=False, mxb=False, s=True)
    cmds.window(window_name, e=True, s=True, wh=[1, 1])
    cmds.columnLayout('main_column', p=window_name)
    cmds.separator(h=12, style='none')
    cmds.rowColumnLayout(nc=1, cw=[(1, 310)], cs=[(1, 10)], p='main_column')
    cmds.rowColumnLayout(nc=1, cw=[(1, 300)], cs=[(1, 10)], p='main_column')
    cmds.text((script_name + ' Help'), bgc=[0.4, 0.4, 0.4], fn='boldLabelFont', align='center')
    cmds.separator(h=10, style='none', p='main_column')
    cmds.rowColumnLayout(nc=1, cw=[(1, 300)], cs=[(1, 10)], p='main_column')
    cmds.text(l='Create Sine attributes without using\nthird-party plugins or expressions.', align='center')
    cmds.separator(h=5, style='none')
    cmds.text(l='Select and object, then click on "Add Sine Attributes"', align='center')
    cmds.separator(h=10, style='none')
    cmds.text(l='Sine Attributes:', align='center', font='boldLabelFont')
    cmds.text(l='Time: Multiplier for the time input (tick)', align='center')
    cmds.text(l='Amplitude: Wave amplitude (how high it gets)', align='center')
    cmds.text(l='Frequency: Wave frequency (how often it happens)', align='center')
    cmds.text(l='Offset: Value added after calculation, offset.', align='center')
    cmds.text(l='Tick: Time as seen by the sine system.', align='center')
    cmds.text(l='Output: Result of the sine operation.', align='center')
    cmds.text(l='Abs Output: Aboslute output. (no negative values)', align='center')
    cmds.separator(h=10, style='none')
    cmds.separator(h=15, style='none')
    cmds.rowColumnLayout(nc=2, cw=[(1, 140), (2, 140)], cs=[(1, 10), (2, 0)], p='main_column')
    cmds.text('Guilherme Trevisan  ')
    cmds.text(l='<a href="mailto:example@example.com">TrevisanGMW@gmail.com</a>', hl=True, highlightColor=[1, 1, 1])
    cmds.rowColumnLayout(nc=2, cw=[(1, 140), (2, 140)], cs=[(1, 10), (2, 0)], p='main_column')
    cmds.separator(h=15, style='none')
    cmds.text(l='<a href="https://github.com/TrevisanGMW">Github</a>', hl=True, highlightColor=[1, 1, 1])
    cmds.separator(h=7, style='none')
    cmds.rowColumnLayout(nc=1, cw=[(1, 300)], cs=[(1, 10)], p='main_column')
    cmds.separator(h=10, style='none')
    cmds.button(l='OK', h=30, c=(lambda args: close_help_gui()))
    cmds.separator(h=8, style='none')
    cmds.showWindow(window_name)
    cmds.window(window_name, e=True, s=False)
    qw = omui.MQtUtil.findWindow(window_name)
    widget = wrapInstance(long(qw), QWidget)
    icon = QIcon(':/question.png')
    widget.setWindowIcon(icon)

    def close_help_gui():
        ' Closes Help Window '
        if cmds.window(window_name, exists=True):
            cmds.deleteUI(window_name, window=True)
Creates GUI for Make Stretchy IK
def build_gui_help_add_sine_attr():
    '  '
    window_name = 'build_gui_help_add_sine_attr'
    if cmds.window(window_name, exists=True):
        cmds.deleteUI(window_name, window=True)
    cmds.window(window_name, title=(script_name + ' Help'), mnb=False, mxb=False, s=True)
    cmds.window(window_name, e=True, s=True, wh=[1, 1])
    cmds.columnLayout('main_column', p=window_name)
    cmds.separator(h=12, style='none')
    cmds.rowColumnLayout(nc=1, cw=[(1, 310)], cs=[(1, 10)], p='main_column')
    cmds.rowColumnLayout(nc=1, cw=[(1, 300)], cs=[(1, 10)], p='main_column')
    cmds.text((script_name + ' Help'), bgc=[0.4, 0.4, 0.4], fn='boldLabelFont', align='center')
    cmds.separator(h=10, style='none', p='main_column')
    cmds.rowColumnLayout(nc=1, cw=[(1, 300)], cs=[(1, 10)], p='main_column')
    cmds.text(l='Create Sine attributes without using\nthird-party plugins or expressions.', align='center')
    cmds.separator(h=5, style='none')
    cmds.text(l='Select and object, then click on "Add Sine Attributes"', align='center')
    cmds.separator(h=10, style='none')
    cmds.text(l='Sine Attributes:', align='center', font='boldLabelFont')
    cmds.text(l='Time: Multiplier for the time input (tick)', align='center')
    cmds.text(l='Amplitude: Wave amplitude (how high it gets)', align='center')
    cmds.text(l='Frequency: Wave frequency (how often it happens)', align='center')
    cmds.text(l='Offset: Value added after calculation, offset.', align='center')
    cmds.text(l='Tick: Time as seen by the sine system.', align='center')
    cmds.text(l='Output: Result of the sine operation.', align='center')
    cmds.text(l='Abs Output: Aboslute output. (no negative values)', align='center')
    cmds.separator(h=10, style='none')
    cmds.separator(h=15, style='none')
    cmds.rowColumnLayout(nc=2, cw=[(1, 140), (2, 140)], cs=[(1, 10), (2, 0)], p='main_column')
    cmds.text('Guilherme Trevisan  ')
    cmds.text(l='<a href="mailto:example@example.com">TrevisanGMW@gmail.com</a>', hl=True, highlightColor=[1, 1, 1])
    cmds.rowColumnLayout(nc=2, cw=[(1, 140), (2, 140)], cs=[(1, 10), (2, 0)], p='main_column')
    cmds.separator(h=15, style='none')
    cmds.text(l='<a href="https://github.com/TrevisanGMW">Github</a>', hl=True, highlightColor=[1, 1, 1])
    cmds.separator(h=7, style='none')
    cmds.rowColumnLayout(nc=1, cw=[(1, 300)], cs=[(1, 10)], p='main_column')
    cmds.separator(h=10, style='none')
    cmds.button(l='OK', h=30, c=(lambda args: close_help_gui()))
    cmds.separator(h=8, style='none')
    cmds.showWindow(window_name)
    cmds.window(window_name, e=True, s=False)
    qw = omui.MQtUtil.findWindow(window_name)
    widget = wrapInstance(long(qw), QWidget)
    icon = QIcon(':/question.png')
    widget.setWindowIcon(icon)

    def close_help_gui():
        ' Closes Help Window '
        if cmds.window(window_name, exists=True):
            cmds.deleteUI(window_name, window=True)