<!DOCTYPE template>
<!--
A single effect with all parameters showing

Variables:
  EffectRack: the rack
  EffectUnit: the chain
  Effect: the effect
-->
<Template>
  <WidgetGroup>
    <ObjectName>EffectUnitControlRow</ObjectName>
    <Layout>horizontal</Layout>
    <SizePolicy>me,me</SizePolicy>
    <Children>
      <WidgetGroup>
        <ObjectName>EffectUnitParameters</ObjectName>
        <Size>-1me,42f</Size>
        <Layout>horizontal</Layout>
        <Children>

          <WidgetGroup>
            <ObjectName>EffectButtonContainer</ObjectName>
            <SizePolicy>min,min</SizePolicy>
            <Layout>horizontal</Layout>
            <Children>
              <Template src="skin:effect_buttons.xml">
                <SetVariable name="SizePolicy">max,min</SetVariable>
                <SetVariable name="EnableButtonMaxSize">22,36</SetVariable>
              </Template>
              <Template src="skin:effect_meta_knob.xml"/>
            </Children>
          </WidgetGroup>

          <!-- Allow up to 8 parameters, needed to control the graphic eq effect-->

          <EffectSelector>
            <EffectRack><Variable name="EffectRack"/></EffectRack>
            <EffectUnit><Variable name="EffectUnit"/></EffectUnit>
            <Effect><Variable name="Effect"/></Effect>
            <MinimumSize>85,22</MinimumSize>
            <MaximumSize>120,22</MaximumSize>
            <SizePolicy>min,f</SizePolicy>
          </EffectSelector>

          <WidgetGroup>
            <ObjectName>EffectParameterKnobsButtons</ObjectName>
            <SizePolicy>me,min</SizePolicy>
            <Layout>horizontal</Layout>
            <Children>
              <Template src="skin:effect_parameter_knob.xml">
                <SetVariable name="EffectParameter">1</SetVariable>
              </Template>
              <Template src="skin:effect_parameter_knob.xml">
                <SetVariable name="EffectParameter">2</SetVariable>
              </Template>
              <Template src="skin:effect_parameter_knob.xml">
                <SetVariable name="EffectParameter">3</SetVariable>
              </Template>
              <Template src="skin:effect_parameter_knob.xml">
                <SetVariable name="EffectParameter">4</SetVariable>
              </Template>
              <Template src="skin:effect_parameter_knob.xml">
                <SetVariable name="EffectParameter">5</SetVariable>
              </Template>
              <Template src="skin:effect_parameter_knob.xml">
                <SetVariable name="EffectParameter">6</SetVariable>
              </Template>
              <Template src="skin:effect_parameter_knob.xml">
                <SetVariable name="EffectParameter">7</SetVariable>
              </Template>
              <Template src="skin:effect_parameter_knob.xml">
                <SetVariable name="EffectParameter">8</SetVariable>
              </Template>

              <Template src="skin:effect_parameter_button.xml">
                <SetVariable name="EffectButtonParameter">1</SetVariable>
              </Template>
              <Template src="skin:effect_parameter_button.xml">
                <SetVariable name="EffectButtonParameter">2</SetVariable>
              </Template>
              <Template src="skin:effect_parameter_button.xml">
                <SetVariable name="EffectButtonParameter">3</SetVariable>
              </Template>
              <Template src="skin:effect_parameter_button.xml">
                <SetVariable name="EffectButtonParameter">4</SetVariable>
              </Template>
              <Template src="skin:effect_parameter_button.xml">
                <SetVariable name="EffectButtonParameter">5</SetVariable>
              </Template>
              <Template src="skin:effect_parameter_button.xml">
                <SetVariable name="EffectButtonParameter">6</SetVariable>
              </Template>
              <Template src="skin:effect_parameter_button.xml">
                <SetVariable name="EffectButtonParameter">7</SetVariable>
              </Template>
              <Template src="skin:effect_parameter_button.xml">
                <SetVariable name="EffectButtonParameter">8</SetVariable>
              </Template>
            </Children>
          </WidgetGroup>
        </Children>
      </WidgetGroup>
    </Children>
  </WidgetGroup>
</Template>
