-
Notifications
You must be signed in to change notification settings - Fork 0
/
effect_single_with_parameters_row.xml
106 lines (100 loc) · 4.25 KB
/
effect_single_with_parameters_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
97
98
99
100
101
102
103
104
105
106
<!DOCTYPE template>
<!--
A single effect with all parameters showing
Variables:
EffectRack: the rack
EffectUnit: the chain
Effect: the effect
-->
<Template>
<WidgetGroup>
<ObjectName>EffectUnitControlRow</ObjectName>
<Layout>horizontal</Layout>
<SizePolicy>me,me</SizePolicy>
<Children>
<WidgetGroup>
<ObjectName>EffectUnitParameters</ObjectName>
<Size>-1me,42f</Size>
<Layout>horizontal</Layout>
<Children>
<WidgetGroup>
<ObjectName>EffectButtonContainer</ObjectName>
<SizePolicy>min,min</SizePolicy>
<Layout>horizontal</Layout>
<Children>
<Template src="skin:effect_buttons.xml">
<SetVariable name="SizePolicy">max,min</SetVariable>
<SetVariable name="EnableButtonMaxSize">22,36</SetVariable>
</Template>
<Template src="skin:effect_meta_knob.xml"/>
</Children>
</WidgetGroup>
<!-- Allow up to 8 parameters, needed to control the graphic eq effect-->
<EffectSelector>
<EffectRack><Variable name="EffectRack"/></EffectRack>
<EffectUnit><Variable name="EffectUnit"/></EffectUnit>
<Effect><Variable name="Effect"/></Effect>
<MinimumSize>85,22</MinimumSize>
<MaximumSize>120,22</MaximumSize>
<SizePolicy>min,f</SizePolicy>
</EffectSelector>
<WidgetGroup>
<ObjectName>EffectParameterKnobsButtons</ObjectName>
<SizePolicy>me,min</SizePolicy>
<Layout>horizontal</Layout>
<Children>
<Template src="skin:effect_parameter_knob.xml">
<SetVariable name="EffectParameter">1</SetVariable>
</Template>
<Template src="skin:effect_parameter_knob.xml">
<SetVariable name="EffectParameter">2</SetVariable>
</Template>
<Template src="skin:effect_parameter_knob.xml">
<SetVariable name="EffectParameter">3</SetVariable>
</Template>
<Template src="skin:effect_parameter_knob.xml">
<SetVariable name="EffectParameter">4</SetVariable>
</Template>
<Template src="skin:effect_parameter_knob.xml">
<SetVariable name="EffectParameter">5</SetVariable>
</Template>
<Template src="skin:effect_parameter_knob.xml">
<SetVariable name="EffectParameter">6</SetVariable>
</Template>
<Template src="skin:effect_parameter_knob.xml">
<SetVariable name="EffectParameter">7</SetVariable>
</Template>
<Template src="skin:effect_parameter_knob.xml">
<SetVariable name="EffectParameter">8</SetVariable>
</Template>
<Template src="skin:effect_parameter_button.xml">
<SetVariable name="EffectButtonParameter">1</SetVariable>
</Template>
<Template src="skin:effect_parameter_button.xml">
<SetVariable name="EffectButtonParameter">2</SetVariable>
</Template>
<Template src="skin:effect_parameter_button.xml">
<SetVariable name="EffectButtonParameter">3</SetVariable>
</Template>
<Template src="skin:effect_parameter_button.xml">
<SetVariable name="EffectButtonParameter">4</SetVariable>
</Template>
<Template src="skin:effect_parameter_button.xml">
<SetVariable name="EffectButtonParameter">5</SetVariable>
</Template>
<Template src="skin:effect_parameter_button.xml">
<SetVariable name="EffectButtonParameter">6</SetVariable>
</Template>
<Template src="skin:effect_parameter_button.xml">
<SetVariable name="EffectButtonParameter">7</SetVariable>
</Template>
<Template src="skin:effect_parameter_button.xml">
<SetVariable name="EffectButtonParameter">8</SetVariable>
</Template>
</Children>
</WidgetGroup>
</Children>
</WidgetGroup>
</Children>
</WidgetGroup>
</Template>