-
Notifications
You must be signed in to change notification settings - Fork 0
/
library.xml
198 lines (189 loc) · 9.88 KB
/
library.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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
<!DOCTYPE template>
<!--
Description:
Library widget (both collapsed and expanded).
-->
<Template>
<WidgetStack>
<ObjectName>LibraryContainer</ObjectName>
<!-- Fixed is interesting here. Ignore is the only thing that lets it shrink
to nothing. -->
<SizePolicy>me,i</SizePolicy>
<MinimumSize>0,0</MinimumSize>
<Children>
<!-- Main Library -->
<WidgetGroup trigger="[Library],show_library">
<ObjectName>LibraryExpanded</ObjectName>
<Layout>vertical</Layout>
<!-- Fixed is interesting here. Ignore is the only thing that lets it
shrink to nothing. -->
<SizePolicy>me,f</SizePolicy>
<MinimumSize>0,0</MinimumSize>
<Children>
<!-- QSplitter between LibrarySidebar and Library -->
<Splitter>
<ObjectName>LibrarySplitter</ObjectName>
<Orientation>horizontal</Orientation>
<SizePolicy>me,me</SizePolicy>
<SplitSizesConfigKey>[Deere],LibrarySidebarSplitSize</SplitSizesConfigKey>
<SplitSizes>2,8</SplitSizes>
<Children>
<WidgetGroup>
<Layout>vertical</Layout>
<Children>
<WidgetGroup>
<Layout>horizontal</Layout>
<Children>
<Template src="skin:hide_show_button.xml">
<SetVariable name="TooltipId">show_library</SetVariable>
<SetVariable name="object_name">LibraryToggle</SetVariable>
<SetVariable name="control">[Library],show_library</SetVariable>
</Template>
<SearchBox>
</SearchBox>
</Children>
</WidgetGroup>
<WidgetGroup>
<ObjectName>PreviewDeckContainer</ObjectName>
<Layout>vertical</Layout>
<!-- When TextRow is laid out, we need to ignore our children.
Otherwise decks might end up with different widths based
on the size of the labels in this row -->
<SizePolicy>i,max</SizePolicy>
<Children>
<Template src="skin:vumeter.xml">
<SetVariable name="TooltipId">channel_VuMeter</SetVariable>>
<SetVariable name="group">[PreviewDeck1]</SetVariable>
<SetVariable name="control">VuMeter</SetVariable>
</Template>
<WidgetGroup>
<ObjectName>PreviewDeckTextRow</ObjectName>
<Layout>horizontal</Layout>
<Children>
<Text>
<TooltipId>text</TooltipId>
<SizePolicy>me,min</SizePolicy>
<Group>[PreviewDeck1]</Group>
<Elide>right</Elide>
</Text>
<Template src="skin:left_1state_button.xml">
<SetVariable name="TooltipId">eject</SetVariable>
<SetVariable name="ObjectName">PreviewDeckEjectButton</SetVariable>
<SetVariable name="MinimumSize"><Variable name="SquareButtonMinimumSize"/></SetVariable>
<SetVariable name="MaximumSize"><Variable name="SquareButtonMaximumSize"/></SetVariable>
<SetVariable name="SizePolicy"><Variable name="SquareButtonSizePolicy"/></SetVariable>
<SetVariable name="state_0_text"></SetVariable>
<SetVariable name="state_0_pressed">icon/ic_eject_48px.svg</SetVariable>
<SetVariable name="state_0_unpressed">icon/ic_eject_48px.svg</SetVariable>
<SetVariable name="left_connection_control">[PreviewDeck1],eject</SetVariable>
</Template>
</Children>
</WidgetGroup>
<WidgetGroup>
<ObjectName>PreviewDeckVisualRow</ObjectName>
<Layout>horizontal</Layout>
<Children>
<Template src="skin:left_right_2state_button.xml">
<SetVariable name="TooltipId">play_start</SetVariable>
<SetVariable name="ObjectName">PreviewDeckPlayButton</SetVariable>
<SetVariable name="MinimumSize"><Variable name="SquareButtonMinimumSize"/></SetVariable>
<SetVariable name="MaximumSize"><Variable name="SquareButtonMaximumSize"/></SetVariable>
<SetVariable name="SizePolicy"><Variable name="SquareButtonSizePolicy"/></SetVariable>
<SetVariable name="state_0_text"></SetVariable>
<SetVariable name="state_0_pressed">icon/ic_play_48px.svg</SetVariable>
<SetVariable name="state_0_unpressed">icon/ic_play_48px.svg</SetVariable>
<SetVariable name="state_1_text"></SetVariable>
<SetVariable name="state_1_pressed">icon/ic_pause_48px.svg</SetVariable>
<SetVariable name="state_1_unpressed">icon/ic_pause_48px.svg</SetVariable>
<SetVariable name="left_connection_control">[PreviewDeck1],play</SetVariable>
<SetVariable name="right_connection_control">[PreviewDeck1],start</SetVariable>
</Template>
<Overview>
<TooltipId>waveform_overview</TooltipId>
<Style></Style>
<Group>[PreviewDeck1]</Group>
<Size>me,30f</Size>
<BgColor></BgColor>
<SignalHighColor>#FFE300</SignalHighColor>
<SignalMidColor>#0099FF</SignalMidColor>
<SignalLowColor>#FF0035</SignalLowColor>
<SignalRGBHighColor></SignalRGBHighColor>
<SignalRGBMidColor></SignalRGBMidColor>
<SignalRGBLowColor></SignalRGBLowColor>
<SignalColor>#FF8000</SignalColor>
<PlayPosColor>#00FF00</PlayPosColor>
<DefaultMark>
<Align>bottom</Align>
<Color>#FFFFFF</Color>
<TextColor>#00FF00</TextColor>
<Text> %1 </Text>
</DefaultMark>
<Mark>
<Control>cue_point</Control>
<Text> C </Text>
<Align>top</Align>
<Color>#bfb327</Color>
<TextColor>#00FF00</TextColor>
</Mark>
<Connection>
<ConfigKey>[PreviewDeck1],playposition</ConfigKey>
<EmitOnDownPress>false</EmitOnDownPress>
</Connection>
</Overview>
</Children>
</WidgetGroup>
</Children>
<Connection>
<ConfigKey persist="true">[PreviewDeck],show_previewdeck</ConfigKey>
<BindProperty>visible</BindProperty>
</Connection>
</WidgetGroup>
<!-- QSplitter between LibrarySidebar and CoverArt -->
<Splitter>
<ObjectName>LibraryCoverArtSplitter</ObjectName>
<Orientation>vertical</Orientation>
<SizePolicy>me,me</SizePolicy>
<MinimumSize>30,30</MinimumSize>
<SplitSizesConfigKey>[Deere],LibraryCoverartSplitSize</SplitSizesConfigKey>
<SplitSizes>2,8</SplitSizes>
<Children>
<LibrarySidebar>
</LibrarySidebar>
<CoverArt>
<ObjectName>LibraryCoverArt</ObjectName>
<TooltipId>coverart</TooltipId>
<SizePolicy>me,me</SizePolicy>
<MinimumSize>30,30</MinimumSize>
<Connection>
<ConfigKey persist="true">[Library],show_coverart</ConfigKey>
<BindProperty>visible</BindProperty>
</Connection>
</CoverArt>
</Children>
</Splitter>
</Children>
</WidgetGroup>
<Library>
</Library>
</Children>
</Splitter>
</Children>
</WidgetGroup>
<!-- Collapsed Library -->
<WidgetGroup>
<ObjectName>LibraryCollapsed</ObjectName>
<Layout>vertical</Layout>
<MinimumSize>-1,20</MinimumSize>
<MaximumSize>-1,20</MaximumSize>
<SizePolicy>me,min</SizePolicy>
<Children>
<Template src="skin:hide_show_button.xml">
<SetVariable name="TooltipId">show_library</SetVariable>
<SetVariable name="object_name">LibraryToggle</SetVariable>
<SetVariable name="control">[Library],show_library</SetVariable>
</Template>
</Children>
</WidgetGroup>
</Children>
</WidgetStack>
</Template>