<!DOCTYPE template>
<Template>
  <WidgetGroup>
    <Layout>horizontal</Layout>
    <SizePolicy>min,min</SizePolicy>
    <Children>

      <WidgetGroup>
        <ObjectName>VinylControlsGrid</ObjectName>
        <Layout>vertical</Layout>
        <SizePolicy>min,min</SizePolicy>
        <Children>
          <Template src="skin:left_2state_button.xml">
            <SetVariable name="TooltipId">vinylcontrol_enabled</SetVariable>
            <SetVariable name="ObjectName">VinylToggleButtonUL</SetVariable>
            <SetVariable name="MinimumSize">40,10</SetVariable>
            <SetVariable name="MaximumSize">40,22</SetVariable>
            <SetVariable name="SizePolicy">f,me</SetVariable>
            <SetVariable name="state_0_text">Vinyl</SetVariable>
            <SetVariable name="state_1_text">Vinyl</SetVariable>
            <SetVariable name="left_connection_control"><Variable name="group"/>,vinylcontrol_enabled</SetVariable>
          </Template>

          <Template src="skin:left_3state_button.xml">
            <SetVariable name="ObjectName">TristateButton</SetVariable>
            <SetVariable name="MinimumSize">40,10</SetVariable>
            <SetVariable name="MaximumSize">40,22</SetVariable>
            <SetVariable name="SizePolicy">f,me</SetVariable>
            <SetVariable name="state_0_text">ABS</SetVariable>
            <SetVariable name="state_1_text">REL</SetVariable>
            <SetVariable name="state_2_text">CONST</SetVariable>
            <SetVariable name="left_connection_control"><Variable name="group"/>,vinylcontrol_mode</SetVariable>
          </Template>
        </Children>
      </WidgetGroup>

      <WidgetGroup>
        <ObjectName>VinylControlsGrid</ObjectName>
        <Layout>vertical</Layout>
        <SizePolicy>min,min</SizePolicy>
        <Children>
          <Template src="skin:left_2state_button.xml">
            <SetVariable name="TooltipId">passthrough_enabled</SetVariable>
            <SetVariable name="ObjectName">VinylToggleButtonLL</SetVariable>
            <SetVariable name="MinimumSize">40,10</SetVariable>
            <SetVariable name="MaximumSize">40,22</SetVariable>
            <SetVariable name="SizePolicy">f,me</SetVariable>
            <SetVariable name="state_0_text">PASS</SetVariable>
            <SetVariable name="state_1_text">PASS</SetVariable>
            <SetVariable name="left_connection_control"><Variable name="group"/>,passthrough</SetVariable>
          </Template>

          <Template src="skin:left_3state_button.xml">
            <SetVariable name="ObjectName">VinylCueButton</SetVariable>
            <SetVariable name="TooltipId">vinylcontrol_cueing</SetVariable>
            <SetVariable name="MinimumSize">40,10</SetVariable>
            <SetVariable name="MaximumSize">40,22</SetVariable>
            <SetVariable name="SizePolicy">f,me</SetVariable>
            <SetVariable name="state_0_text">CUE</SetVariable>
            <SetVariable name="state_1_text">CUE</SetVariable>
            <SetVariable name="state_2_text">HOT</SetVariable>
            <SetVariable name="left_connection_control"><Variable name="group"/>,vinylcontrol_cueing</SetVariable>
          </Template>
        </Children>
      </WidgetGroup>

    </Children>
    <Connection>
      <ConfigKey>[VinylControl],show_vinylcontrol</ConfigKey>
      <BindProperty>visible</BindProperty>
    </Connection>
  </WidgetGroup>
</Template>
