<!DOCTYPE template>
<!--
  Description:
    A grid of hotcue controls.
  Variables:
    group: The group for the controls.
-->
<Template>
  <!--Default grid Hotcue 1-4 -->
  <WidgetGroup>
    <Layout>vertical</Layout>
    <MinimumSize>40,48</MinimumSize>
    <MaximumSize>48,48</MaximumSize>
    <SizePolicy>me,min</SizePolicy>
    <Children>
      <WidgetGroup>
        <ObjectName>HotcueGrid</ObjectName>
        <Layout>horizontal</Layout>
        <SizePolicy>min,min</SizePolicy>
        <Children>
          <Template src="skin:special_cue_button.xml">
            <SetVariable name="cue_type">intro_start</SetVariable>
            <SetVariable name="label">|&#9698;</SetVariable>
          </Template>
          <Template src="skin:special_cue_button.xml">
            <SetVariable name="cue_type">intro_end</SetVariable>
            <SetVariable name="label">&#9698;|</SetVariable>
          </Template>
        </Children>
      </WidgetGroup>
      <WidgetGroup>
        <ObjectName>HotcueGrid</ObjectName>
        <Layout>horizontal</Layout>
        <SizePolicy>min,min</SizePolicy>
        <Children>
          <Template src="skin:special_cue_button.xml">
            <SetVariable name="cue_type">outro_start</SetVariable>
            <SetVariable name="label">|&#9699;</SetVariable>
          </Template>
          <Template src="skin:special_cue_button.xml">
            <SetVariable name="cue_type">outro_end</SetVariable>
            <SetVariable name="label">&#9699;|</SetVariable>
          </Template>
        </Children>
      </WidgetGroup>
    </Children>
    <Connection>
      <ConfigKey>[Skin],show_intro_outro_cues</ConfigKey>
      <BindProperty>visible</BindProperty>
    </Connection>
  </WidgetGroup>
</Template>
