Here's how to map a push-button like the recording button:
<PushButton> <Tooltip>Record Click to start a new recording. </Tooltip> <Style>QToolTip { color: #221E1F;} </Style> <NumberStates>3</NumberStates> <LeftClickIsPushButton>true</LeftClickIsPushButton> <RightClickIsPushButton>true</RightClickIsPushButton> <State> <!-- RECORD OFF --> <Number>0</Number> <Pressed>btn_record_over.png</Pressed> <Unpressed>btn_record.png</Unpressed> </State> <State> <!-- RECORD READY--> <Number>1</Number> <Pressed>btn_record.png</Pressed> <Unpressed>btn_record_over.png</Unpressed> </State> <State> <!-- RECORD ON--> <Number>2</Number> <Pressed>btn_record.png</Pressed> <Unpressed>btn_record_over.png</Unpressed> </State> <Pos>199,114</Pos> <Connection> <ConfigKey>[Recording],toggle_recording</ConfigKey> <EmitOnPressAndRelease>true</EmitOnPressAndRelease> <ButtonState>LeftButton</ButtonState> <ConnectValueToWidget>false</ConnectValueToWidget> </Connection> <Connection> <ConfigKey>[Recording],status</ConfigKey> <ConnectValueFromWidget>false</ConnectValueFromWidget> </Connection> </PushButton>
Here's how to map a push-button like the recording button:
<PushButton> Tooltip> Record& #10;Click to start a new recording. </ Tooltip> Style>QToolTip { color: #221E1F;} NumberStates> 3</NumberStates > LeftClickIsPush Button> true</LeftClick IsPushButton> RightClickIsPus hButton> true</RightClic kIsPushButton>
<Number> 0</Number>
<Pressed> btn_record_ over.png< /Pressed>
<Unpressed> btn_record. png</Unpressed>
<Number> 1</Number>
<Pressed> btn_record. png</Pressed>
<Unpressed> btn_record_ over.png< /Unpressed>
<Number> 2</Number>
<Pressed> btn_record. png</Pressed>
<Unpressed> btn_record_ over.png< /Unpressed> Pos>199, 114</Pos>
<ConfigKey> [Recording] ,toggle_ recording< /ConfigKey>
<EmitOnPressAnd Release> true</EmitOnPre ssAndRelease>
<ButtonState> LeftButton< /ButtonState>
<ConnectValueTo Widget> false</ ConnectValueToW idget>
<ConfigKey> [Recording] ,status< /ConfigKey>
<ConnectValueFr omWidget> false</ ConnectValueFro mWidget>
<
<
</Style>
<
<
<
<State>
<!-- RECORD OFF -->
</State>
<State>
<!-- RECORD READY-->
</State>
<State>
<!-- RECORD ON-->
</State>
<
<Connection>
</Connection>
<Connection>
</Connection>
</PushButton>