-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeck_controls_row.xml
96 lines (84 loc) · 4.61 KB
/
deck_controls_row.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<!DOCTYPE template>
<!--
Description:
Deck controls row (transport, beatgrid, looping, hotcue, etc.).
Variables:
group: the group to connect to
-->
<Template>
<WidgetGroup>
<ObjectName>ControlsRow</ObjectName>
<Layout>horizontal</Layout>
<SizePolicy>me,max</SizePolicy>
<Children>
<!-- Play / Cue -->
<WidgetGroup>
<ObjectName>PlayCueContainer</ObjectName>
<Layout>vertical</Layout>
<MinimumSize>32,42</MinimumSize>
<MaximumSize>60, -1</MaximumSize>
<SizePolicy>me,me</SizePolicy>
<Children>
<Template src="skin:left_right_display_2state_button.xml">
<SetVariable name="TooltipId">cue_default_cue_gotoandstop</SetVariable>
<SetVariable name="ObjectName">DeckCue</SetVariable>
<SetVariable name="MinimumSize"><Variable name="HorizontalStretchButtonMinimumSize"/></SetVariable>
<SetVariable name="MaximumSize"><Variable name="HorizontalStretchButtonMaximumSize"/></SetVariable>
<SetVariable name="SizePolicy"><Variable name="HorizontalStretchButtonSizePolicy"/></SetVariable>
<SetVariable name="LeftClickIsPushButton">true</SetVariable>
<SetVariable name="state_0_text">CUE</SetVariable>
<SetVariable name="state_1_text">CUE</SetVariable>
<SetVariable name="left_connection_control"><Variable name="group"/>,cue_default</SetVariable>
<SetVariable name="right_connection_control"><Variable name="group"/>,cue_gotoandstop</SetVariable>
<SetVariable name="display_connection_control"><Variable name="group"/>,cue_indicator</SetVariable>
</Template>
<WidgetGroup><!-- Play button + play_indicator -->
<Layout>stacked</Layout>
<SizePolicy>me,me</SizePolicy>
<Children>
<Template src="skin:left_right_display_2state_button.xml">
<SetVariable name="TooltipId">play_cue_set</SetVariable>
<SetVariable name="ObjectName">PlayToggle</SetVariable>
<SetVariable name="MinimumSize"><Variable name="HorizontalStretchButtonMinimumSize"/></SetVariable>
<SetVariable name="MaximumSize"><Variable name="HorizontalStretchButtonMaximumSize"/></SetVariable>
<SetVariable name="SizePolicy"><Variable name="HorizontalStretchButtonSizePolicy"/></SetVariable>
<SetVariable name="left_connection_control"><Variable name="group"/>,play</SetVariable>
<SetVariable name="right_connection_control"><Variable name="group"/>,cue_set</SetVariable>
<SetVariable name="display_connection_control"><Variable name="group"/>,play_latched</SetVariable>
</Template>
<Template src="skin:left_2state_button.xml">
<SetVariable name="ObjectName">PreviewIndicator</SetVariable>
<SetVariable name="MinimumSize"><Variable name="HorizontalStretchButtonMinimumSize"/></SetVariable>
<SetVariable name="MaximumSize"><Variable name="HorizontalStretchButtonMaximumSize"/></SetVariable>
<SetVariable name="SizePolicy"><Variable name="HorizontalStretchButtonSizePolicy"/></SetVariable>
<SetVariable name="left_connection_control"><Variable name="group"/>,play</SetVariable>
</Template>
<Template src="skin:left_2state_button.xml">
<SetVariable name="MinimumSize"><Variable name="HorizontalStretchButtonMinimumSize"/></SetVariable>
<SetVariable name="MaximumSize"><Variable name="HorizontalStretchButtonMaximumSize"/></SetVariable>
<SetVariable name="SizePolicy"><Variable name="HorizontalStretchButtonSizePolicy"/></SetVariable>
<SetVariable name="left_connection_control"><Variable name="group"/>,play_indicator</SetVariable>
</Template>
</Children>
</WidgetGroup>
</Children>
</WidgetGroup>
<WidgetGroup>
<Size>3min,1min</Size>
<MaximumSize>12,-1</MaximumSize>
</WidgetGroup>
<Template src="skin:hotcues.xml"/>
<WidgetGroup>
<Size>3min,1min</Size>
<MaximumSize>12,-1</MaximumSize>
</WidgetGroup>
<Template src="skin:special_cues.xml"/>
<!-- Expanding spacers in between control contexts -->
<WidgetGroup><Size>3min,1min</Size></WidgetGroup>
<Template src="skin:deck_looping_controls.xml"/>
<WidgetGroup><Size>3min,1min</Size></WidgetGroup>
<Template src="skin:deck_beatjump_controls.xml"/>
<WidgetGroup><Size>0min,1min</Size></WidgetGroup>
</Children>
</WidgetGroup>
</Template>