forked from mixxxdj/mixxx
-
Notifications
You must be signed in to change notification settings - Fork 1
/
sample_decks.xml
131 lines (126 loc) · 5.43 KB
/
sample_decks.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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
<!DOCTYPE template>
<!--
Description:
Sample deck container widget.
-->
<Template>
<WidgetGroup>
<Layout>vertical</Layout>
<!-- I don't now why this works but a WidgetGroup wrapper around a
WidgetStack with a 'fixed' size policy makes the group track the
minimum size of the current stack widget. -->
<SizePolicy>me,f</SizePolicy>
<Children>
<WidgetStack>
<ObjectName>SampleDecksContainer</ObjectName>
<SizePolicy>me,min</SizePolicy>
<Children>
<!-- Collapsed SampleDecks -->
<WidgetGroup>
<ObjectName>SampleDecksCollapsed</ObjectName>
<Layout>horizontal</Layout>
<SizePolicy>me,min</SizePolicy>
<Children>
<Template src="skin:hide_show_button.xml">
<SetVariable name="object_name">SampleDeckToggle</SetVariable>
<SetVariable name="control">[Samplers],show_samplers</SetVariable>
</Template>
<Template src="skin:sampler_simple.xml">
<SetVariable name="i">1</SetVariable>
</Template>
<Template src="skin:sampler_simple.xml">
<SetVariable name="i">2</SetVariable>
</Template>
<Template src="skin:sampler_simple.xml">
<SetVariable name="i">3</SetVariable>
</Template>
<Template src="skin:sampler_simple.xml">
<SetVariable name="i">4</SetVariable>
</Template>
<Template src="skin:sampler_simple.xml">
<SetVariable name="i">5</SetVariable>
</Template>
<Template src="skin:sampler_simple.xml">
<SetVariable name="i">6</SetVariable>
</Template>
<Template src="skin:sampler_simple.xml">
<SetVariable name="i">7</SetVariable>
</Template>
<Template src="skin:sampler_simple.xml">
<SetVariable name="i">8</SetVariable>
</Template>
</Children>
</WidgetGroup>
<!-- Expanded SampleDecks -->
<WidgetGroup trigger="[Samplers],show_samplers">
<ObjectName>SampleDecksExpanded</ObjectName>
<SizePolicy>me,min</SizePolicy>
<Layout>horizontal</Layout>
<Children>
<Template src="skin:hide_show_button.xml">
<SetVariable name="object_name">SampleDeckToggle</SetVariable>
<SetVariable name="control">[Samplers],show_samplers</SetVariable>
</Template>
<Template src="skin:sampler.xml">
<SetVariable name="i">1</SetVariable>
</Template>
<Template src="skin:sampler.xml">
<SetVariable name="i">2</SetVariable>
</Template>
<Template src="skin:sampler.xml">
<SetVariable name="i">3</SetVariable>
</Template>
<Template src="skin:sampler.xml">
<SetVariable name="i">4</SetVariable>
</Template>
<Template src="skin:sampler.xml">
<SetVariable name="i">5</SetVariable>
</Template>
<Template src="skin:sampler.xml">
<SetVariable name="i">6</SetVariable>
</Template>
<Template src="skin:sampler.xml">
<SetVariable name="i">7</SetVariable>
</Template>
<Template src="skin:sampler.xml">
<SetVariable name="i">8</SetVariable>
</Template>
<WidgetGroup>
<Layout>vertical</Layout>
<Children>
<Template src="skin:left_1state_button.xml">
<SetVariable name="ObjectName">SamplerBankLoad</SetVariable>
<SetVariable name="MinimumSize">40,20</SetVariable>
<SetVariable name="MaximumSize">40,20</SetVariable>
<SetVariable name="SizePolicy">f,f</SetVariable>
<SetVariable name="state_0_text">Load</SetVariable>
<SetVariable name="state_0_pressed"></SetVariable>
<SetVariable name="state_0_unpressed"></SetVariable>
<SetVariable name="left_connection_control">[Sampler],LoadSamplerBank</SetVariable>
</Template>
<Template src="skin:left_1state_button.xml">
<SetVariable name="ObjectName">SamplerBankSave</SetVariable>
<SetVariable name="MinimumSize">40,20</SetVariable>
<SetVariable name="MaximumSize">40,20</SetVariable>
<SetVariable name="SizePolicy">f,f</SetVariable>
<SetVariable name="state_0_text">Save</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>
</Children>
</WidgetStack>
</Children>
<Connection>
<ConfigKey persist="true">[Master],maximize_library</ConfigKey>
<BindProperty>visible</BindProperty>
<Transform>
<Not/>
</Transform>
</Connection>
</WidgetGroup>
</Template>