<!--
Description:
  A special cue button to mark intro and outro sections in a track
Variables:
  group: The group for the controls.
  cue_type: Prefix for COs.
  label: Button text.
-->
<Template>
  <PushButton>
    <TooltipId><Variable name="cue_type"/></TooltipId>
    <ObjectName>SpecialCueButton</ObjectName>
    <MinimumSize>15,24</MinimumSize>
    <MaximumSize>23,24</MaximumSize>
    <SizePolicy>me,f</SizePolicy>
    <NumberStates>2</NumberStates>
    <State>
      <Number>0</Number>
      <Text><Variable name="label"/></Text>
    </State>
    <State>
      <Number>1</Number>
      <Text><Variable name="label"/></Text>
    </State>
    <Connection>
      <ConfigKey><Variable name="group"/>,<Variable name="cue_type"/>_activate</ConfigKey>
      <ButtonState>LeftButton</ButtonState>
    </Connection>
    <Connection>
      <ConfigKey><Variable name="group"/>,<Variable name="cue_type"/>_clear</ConfigKey>
      <ButtonState>RightButton</ButtonState>
    </Connection>
    <Connection>
      <ConfigKey><Variable name="group"/>,<Variable name="cue_type"/>_enabled</ConfigKey>
      <ConnectValueFromWidget>false</ConnectValueFromWidget>
    </Connection>
  </PushButton>
</Template>
