<!DOCTYPE template>
<!--
  Description:
    The skin settings floating widget.
-->
<Template>
  <WidgetGroup>
    <ObjectName>SkinSettings</ObjectName>
    <Layout>vertical</Layout>
    <Size>180f,-1min</Size>
    <Children>
      <WidgetGroup>
        <ObjectName>SkinSettingsTop</ObjectName>
        <Layout>horizontal</Layout>
        <Children>
          <Label>
            <ObjectName>h1</ObjectName>
            <SizePolicy>e,min</SizePolicy>
            <Text>Skin Settings</Text>
          </Label>
          <PushButton>
            <TooltipId>skin_settings</TooltipId>
            <ObjectName>SidebarShowHideSkinSettingsButton</ObjectName>
            <MinimumSize><Variable name="SquareButtonMinimumSize"/></MinimumSize>
            <MaximumSize><Variable name="SquareButtonMaximumSize"/></MaximumSize>
            <SizePolicy><Variable name="SquareButtonSizePolicy"/></SizePolicy>
            <NumberStates>2</NumberStates>
            <State>
              <Number>0</Number>
              <Text><Variable name="state_0_text"/></Text>
              <Pressed scalemode="STRETCH_ASPECT">icon/ic_clear_48px.svg</Pressed>
              <Unpressed scalemode="STRETCH_ASPECT">icon/ic_clear_48px.svg</Unpressed>
            </State>
            <State>
              <Number>1</Number>
              <Text><Variable name="state_1_text"/></Text>
              <Pressed scalemode="STRETCH_ASPECT">icon/ic_clear_48px.svg</Pressed>
              <Unpressed scalemode="STRETCH_ASPECT">icon/ic_clear_48px.svg</Unpressed>
            </State>
            <Connection>
              <ConfigKey>[Skin],show_settings</ConfigKey>
            </Connection>
          </PushButton>
        </Children>
      </WidgetGroup>

      <WidgetGroup>
        <ObjectName>h3</ObjectName>
        <Layout>vertical</Layout>
        <SizePolicy>me,min</SizePolicy>
        <Children>
          <Template src="skins:Deere/skinsettings_button.xml">
            <SetVariable name="TooltipId"></SetVariable>
            <SetVariable name="text">Parallel Waveforms</SetVariable>
            <SetVariable name="skinsetting">[Deere],show_parallel_waveforms</SetVariable>
          </Template>

          <Template src="skins:Deere/skinsettings_button.xml">
            <SetVariable name="TooltipId">toggle_4decks</SetVariable>
            <SetVariable name="text">4 Decks</SetVariable>
            <SetVariable name="skinsetting">[Skin],show_4decks</SetVariable>
          </Template>

        </Children>
      </WidgetGroup>

      <!-- Deck Settings -->
      <Label>
      <ObjectName>h2</ObjectName>
      <Text>Decks</Text>
      </Label>

      <WidgetGroup>
        <ObjectName>h3</ObjectName>
        <Layout>vertical</Layout>
        <SizePolicy>me,min</SizePolicy>
        <Children>

          <Template src="skins:Deere/skinsettings_button.xml">
            <SetVariable name="TooltipId">show_coverart</SetVariable>
            <SetVariable name="text">Cover Art</SetVariable>
            <SetVariable name="skinsetting">[Skin],show_coverart</SetVariable>
          </Template>

          <Template src="skins:Deere/skinsettings_button.xml">
            <SetVariable name="TooltipId">show_spinny</SetVariable>
            <SetVariable name="text">Spinnies</SetVariable>
            <SetVariable name="skinsetting">[Skin],show_spinnies</SetVariable>
          </Template>

          <Template src="skins:Deere/skinsettings_button.xml">
            <SetVariable name="TooltipId"></SetVariable>
            <SetVariable name="text">Artist &amp; Track Title</SetVariable>
            <SetVariable name="skinsetting">[Deere],show_track_info</SetVariable>
          </Template>

          <Template src="skins:Deere/skinsettings_button.xml">
            <SetVariable name="TooltipId"></SetVariable>
            <SetVariable name="text">BPM</SetVariable>
            <SetVariable name="skinsetting">[Deere],show_bpm_info</SetVariable>
          </Template>

          <Template src="skins:Deere/skinsettings_button.xml">
            <SetVariable name="TooltipId"></SetVariable>
            <SetVariable name="text">Star Rating</SetVariable>
            <SetVariable name="skinsetting">[Skin],show_starrating</SetVariable>
          </Template>

          <Template src="skins:Deere/skinsettings_button.xml">
            <SetVariable name="TooltipId"></SetVariable>
            <SetVariable name="text">8 Hotcues</SetVariable>
            <SetVariable name="skinsetting">[Skin],show_8_hotcues</SetVariable>
          </Template>

          <Template src="skins:Deere/skinsettings_button.xml">
            <SetVariable name="TooltipId">show_intro_outro_cues</SetVariable>
            <SetVariable name="text">Intro &amp; Outro Cues</SetVariable>
            <SetVariable name="skinsetting">[Skin],show_intro_outro_cues</SetVariable>
          </Template>

          <Template src="skins:Deere/skinsettings_button.xml">
            <SetVariable name="TooltipId">show_vinylcontrol</SetVariable>
            <SetVariable name="text">Vinyl Control Options</SetVariable>
            <SetVariable name="skinsetting">[Skin],show_vinylcontrol</SetVariable>
          </Template>

          <Template src="skin:../Deere/skinsettings_button.xml">
            <SetVariable name="TooltipId">show_coverart</SetVariable>
            <SetVariable name="text">Hotcue Shift Buttons</SetVariable>
            <SetVariable name="skinsetting">[Skin],timing_shift_buttons</SetVariable>
          </Template>

        </Children>
      </WidgetGroup>

      <Template src="skins:Deere/skinsettings_category_button.xml">
        <SetVariable name="TooltipId">show_mixer</SetVariable>
        <SetVariable name="text">Mixer</SetVariable>
        <SetVariable name="skinsetting">[Skin],show_mixer</SetVariable>
      </Template>

      <WidgetGroup>
        <ObjectName>h3</ObjectName>
        <Layout>vertical</Layout>
        <SizePolicy>me,min</SizePolicy>
        <Children>

          <Template src="skins:Deere/skinsettings_button.xml">
            <SetVariable name="TooltipId"></SetVariable>
            <SetVariable name="text">Equalizers</SetVariable>
            <SetVariable name="skinsetting">[Skin],show_eq_knobs</SetVariable>
          </Template>

          <Template src="skins:Deere/skinsettings_button.xml">
            <SetVariable name="TooltipId"></SetVariable>
            <SetVariable name="text">Kill Switches</SetVariable>
            <SetVariable name="skinsetting">[Skin],show_eq_kill_buttons</SetVariable>
          </Template>

          <Template src="skins:Deere/skinsettings_button.xml">
            <SetVariable name="TooltipId"></SetVariable>
            <SetVariable name="text">Faders</SetVariable>
            <SetVariable name="skinsetting">[Skin],show_faders</SetVariable>
          </Template>

          <Template src="skins:Deere/skinsettings_button.xml">
            <SetVariable name="TooltipId"></SetVariable>
            <SetVariable name="text">Crossfader</SetVariable>
            <SetVariable name="skinsetting">[Skin],show_xfader</SetVariable>
          </Template>

          <Template src="skins:Deere/skinsettings_button.xml">
            <SetVariable name="TooltipId"></SetVariable>
            <SetVariable name="text">Large VU meter</SetVariable>
            <SetVariable name="skinsetting">[Skin],large_vu</SetVariable>
          </Template>

        </Children>
      </WidgetGroup>

      <!-- Sampler Settings -->
      <Template src="skins:Deere/skinsettings_category_button.xml">
        <SetVariable name="TooltipId">show_samplers</SetVariable>
        <SetVariable name="text">Samplers</SetVariable>
        <SetVariable name="skinsetting">[Skin],show_samplers</SetVariable>
      </Template>

      <WidgetGroup>
        <ObjectName>h3</ObjectName>
        <Layout>vertical</Layout>
        <SizePolicy>me,max</SizePolicy>
        <Children>

          <SingletonContainer>
            <ObjectName>SamplerSettingsSingleton</ObjectName>
          </SingletonContainer>

          <WidgetGroup>
            <Layout>horizontal</Layout>
            <Children>
              <Template src="skins:Deere/left_1state_button.xml">
                <!-- TODO: Add missing string to src/skin/tooltips.cpp -->
                <SetVariable name="TooltipId">LoadSamplerBank</SetVariable>
                <SetVariable name="ObjectName">SamplerBankLoadButton</SetVariable>
                <SetVariable name="MinimumSize"><Variable name="HorizontalStretchButtonMinimumSize"/></SetVariable>
                <SetVariable name="MaximumSize"><Variable name="HorizontalStretchButtonMaximumSize"/></SetVariable>
                <SetVariable name="SizePolicy"><Variable name="HorizontalStretchButtonSizePolicy"/></SetVariable>
                <SetVariable name="state_0_text">Load Bank</SetVariable>
                <SetVariable name="state_0_pressed"></SetVariable>
                <SetVariable name="state_0_unpressed"></SetVariable>
                <SetVariable name="left_connection_control">[Sampler],LoadSamplerBank</SetVariable>
              </Template>

              <Template src="skins:Deere/left_1state_button.xml">
                <!-- TODO: Add missing string to src/skin/tooltips.cpp -->
                <SetVariable name="TooltipId">SaveSamplerBank</SetVariable>
                <SetVariable name="ObjectName">SamplerBankSaveButton</SetVariable>
                <SetVariable name="MinimumSize"><Variable name="HorizontalStretchButtonMinimumSize"/></SetVariable>
                <SetVariable name="MaximumSize"><Variable name="HorizontalStretchButtonMaximumSize"/></SetVariable>
                <SetVariable name="SizePolicy"><Variable name="HorizontalStretchButtonSizePolicy"/></SetVariable>
                <SetVariable name="state_0_text">Save Bank</SetVariable>
                <SetVariable name="state_0_pressed"></SetVariable>
                <SetVariable name="state_0_unpressed"></SetVariable>
                <SetVariable name="left_connection_control">[Sampler],SaveSamplerBank</SetVariable>
              </Template>
            </Children>
          </WidgetGroup>

        </Children>
      </WidgetGroup>

      <!-- Effects Settings -->
      <Template src="skins:Deere/skinsettings_category_button.xml">
        <SetVariable name="TooltipId">show_effects</SetVariable>
        <SetVariable name="text">Effects</SetVariable>
        <SetVariable name="skinsetting">[Skin],show_effectrack</SetVariable>
      </Template>

      <WidgetGroup>
        <ObjectName>h3</ObjectName>
        <Layout>vertical</Layout>
        <SizePolicy>me,min</SizePolicy>
        <Children>

          <Template src="skins:Deere/skinsettings_button.xml">
            <SetVariable name="TooltipId"></SetVariable>
            <SetVariable name="text">Superknob</SetVariable>
            <SetVariable name="skinsetting">[Skin],show_superknobs</SetVariable>
          </Template>

          <Template src="skins:Deere/skinsettings_button.xml">
            <SetVariable name="TooltipId"></SetVariable>
            <SetVariable name="text">4 Effect Units</SetVariable>
            <SetVariable name="skinsetting">[Skin],show_4effectunits</SetVariable>
          </Template>
        </Children>
      </WidgetGroup>

      <!-- Library Settings -->
      <Template src="skins:Deere/skinsettings_category_button.xml">
        <SetVariable name="TooltipId">show_library</SetVariable>
        <SetVariable name="text">Library</SetVariable>
        <SetVariable name="skinsetting">[Skin],show_library</SetVariable>
      </Template>

      <WidgetGroup>
        <ObjectName>h3</ObjectName>
        <Layout>vertical</Layout>
        <SizePolicy>me,min</SizePolicy>
        <Children>

          <Template src="skins:Deere/skinsettings_button.xml">
            <SetVariable name="TooltipId">show_previewdeck</SetVariable>
            <SetVariable name="text">Preview Deck</SetVariable>
            <SetVariable name="skinsetting">[Skin],show_preview_decks</SetVariable>
          </Template>

          <Template src="skins:Deere/skinsettings_button.xml">
            <SetVariable name="TooltipId">show_coverart</SetVariable>
            <SetVariable name="text">Cover Art</SetVariable>
            <SetVariable name="skinsetting">[Skin],show_library_coverart</SetVariable>
          </Template>
        </Children>
      </WidgetGroup>

      <Template src="skins:Deere/spacer_v.xml"/>

    </Children>
  </WidgetGroup>
</Template>
