forked from geigi/cozy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmedia_controller_big.ui
428 lines (428 loc) Β· 20.3 KB
/
media_controller_big.ui
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
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.38.2 -->
<interface>
<requires lib="gtk+" version="3.20"/>
<requires lib="libhandy" version="0.0"/>
<object class="GtkImage" id="next_img">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="pixel-size">14</property>
<property name="icon-name">object-rotate-right-symbolic</property>
</object>
<object class="GtkImage" id="play_img">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="pixel-size">20</property>
<property name="icon-name">play-symbolic</property>
</object>
<object class="GtkImage" id="prev_img">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="pixel-size">14</property>
<property name="icon-name">object-rotate-left-symbolic</property>
</object>
<template class="MediaControllerBig" parent="GtkBox">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="margin-end">10</property>
<property name="spacing">20</property>
<child>
<object class="GtkBox" id="mini_player">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="halign">center</property>
<property name="valign">center</property>
<property name="hexpand">False</property>
<property name="spacing">15</property>
<child>
<object class="HdyClamp">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="maximum-size">220</property>
<property name="tightening-threshold">220</property>
<child>
<object class="GtkBox" id="book_info_box">
<property name="width-request">220</property>
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="spacing">10</property>
<child>
<object class="GtkEventBox" id="cover_img_event_box">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="tooltip-text" translatable="yes">Open book</property>
<child>
<object class="GtkImage" id="cover_img">
<property name="width-request">46</property>
<property name="height-request">46</property>
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="halign">center</property>
<property name="valign">end</property>
</object>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkBox" id="title_box">
<property name="name">s</property>
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="tooltip-text" translatable="yes">Currently playing</property>
<property name="valign">center</property>
<property name="orientation">vertical</property>
<property name="spacing">2</property>
<child>
<object class="GtkLabel" id="title_label">
<property name="name">title_book</property>
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="halign">start</property>
<property name="valign">center</property>
<property name="ellipsize">end</property>
<property name="width-chars">15</property>
<property name="single-line-mode">True</property>
<property name="max-width-chars">20</property>
<property name="xalign">0</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
<child internal-child="accessible">
<object class="AtkObject" id="title_label-atkobject">
<property name="AtkObject::accessible-name" translatable="yes">Booktitle</property>
<property name="AtkObject::accessible-description" translatable="yes">Title of currently playing book</property>
</object>
</child>
<style>
<class name="title"/>
<class name="no_padding"/>
</style>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="subtitle_label">
<property name="name">title_track</property>
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="halign">start</property>
<property name="valign">center</property>
<property name="ellipsize">end</property>
<property name="width-chars">15</property>
<property name="single-line-mode">True</property>
<property name="max-width-chars">20</property>
<property name="xalign">0</property>
<child internal-child="accessible">
<object class="AtkObject" id="subtitle_label-atkobject">
<property name="AtkObject::accessible-name" translatable="yes">Part name</property>
<property name="AtkObject::accessible-description" translatable="yes">Title of the currently playing part</property>
</object>
</child>
<style>
<class name="subtitle"/>
<class name="no_padding"/>
</style>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkSeparator">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="orientation">vertical</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">2</property>
</packing>
</child>
</object>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkBox" id="control_box">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="halign">end</property>
<property name="valign">center</property>
<property name="spacing">3</property>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="spacing">4</property>
<child>
<object class="GtkButton" id="prev_button">
<property name="width-request">36</property>
<property name="height-request">36</property>
<property name="visible">True</property>
<property name="sensitive">False</property>
<property name="can-focus">True</property>
<property name="receives-default">True</property>
<property name="tooltip-text" translatable="yes">Rewind</property>
<property name="halign">center</property>
<property name="valign">center</property>
<property name="hexpand">True</property>
<property name="image">prev_img</property>
<property name="relief">none</property>
<child internal-child="accessible">
<object class="AtkObject" id="prev_button-atkobject">
<property name="AtkObject::accessible-name" translatable="yes">Rewind button</property>
<property name="AtkObject::accessible-description" translatable="yes">Rewind playback</property>
</object>
</child>
<style>
<class name="flat"/>
<class name="circular"/>
</style>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkButton" id="play_button">
<property name="width-request">36</property>
<property name="height-request">36</property>
<property name="visible">True</property>
<property name="sensitive">False</property>
<property name="can-focus">True</property>
<property name="receives-default">True</property>
<property name="tooltip-text" translatable="yes">Start playback</property>
<property name="halign">center</property>
<property name="valign">center</property>
<property name="hexpand">True</property>
<property name="image">play_img</property>
<property name="relief">none</property>
<child internal-child="accessible">
<object class="AtkObject" id="play_button-atkobject">
<property name="AtkObject::accessible-name" translatable="yes">Play/Pause Button</property>
<property name="AtkObject::accessible-description" translatable="yes">Start or pause the playback</property>
</object>
</child>
<style>
<class name="flat"/>
<class name="play_button"/>
<class name="circular"/>
</style>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkButton" id="next_button">
<property name="width-request">36</property>
<property name="height-request">36</property>
<property name="visible">True</property>
<property name="sensitive">False</property>
<property name="can-focus">True</property>
<property name="receives-default">True</property>
<property name="tooltip-text" translatable="yes">Forward</property>
<property name="halign">center</property>
<property name="valign">center</property>
<property name="hexpand">True</property>
<property name="image">next_img</property>
<property name="relief">none</property>
<child internal-child="accessible">
<object class="AtkObject" id="next_button-atkobject">
<property name="AtkObject::accessible-name" translatable="yes">Forward button</property>
<property name="AtkObject::accessible-description" translatable="yes">Forward Playback</property>
</object>
</child>
<style>
<class name="flat"/>
<class name="circular"/>
</style>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">2</property>
</packing>
</child>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">3</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkBox" id="seek_bar_container">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="hexpand">True</property>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">2</property>
</packing>
</child>
<child>
<object class="GtkBox" id="tools_box">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="valign">center</property>
<property name="margin-start">20</property>
<property name="spacing">3</property>
<child>
<object class="GtkVolumeButton" id="volume_button">
<property name="width-request">36</property>
<property name="height-request">36</property>
<property name="visible">True</property>
<property name="sensitive">False</property>
<property name="can-focus">True</property>
<property name="focus-on-click">False</property>
<property name="receives-default">True</property>
<property name="tooltip-text" translatable="yes">Volume control</property>
<property name="size">button</property>
<property name="icons">audio-volume-muted-symbolic
audio-volume-high-symbolic
audio-volume-low-symbolic
audio-volume-medium-symbolic</property>
<child internal-child="plus_button">
<object class="GtkButton">
<property name="can-focus">True</property>
<property name="receives-default">True</property>
<property name="halign">center</property>
<property name="valign">center</property>
<property name="relief">none</property>
</object>
</child>
<child internal-child="minus_button">
<object class="GtkButton">
<property name="can-focus">True</property>
<property name="receives-default">True</property>
<property name="halign">center</property>
<property name="valign">center</property>
<property name="relief">none</property>
</object>
</child>
<style>
<class name="circular"/>
<class name="flat"/>
</style>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkMenuButton" id="playback_speed_button">
<property name="width-request">36</property>
<property name="height-request">36</property>
<property name="visible">True</property>
<property name="sensitive">False</property>
<property name="can-focus">True</property>
<property name="receives-default">True</property>
<property name="tooltip-text" translatable="yes">Playback speed</property>
<child>
<object class="GtkImage" id="playback_speed_img">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="icon-name">playback-speed-symbolic</property>
</object>
</child>
<style>
<class name="flat"/>
<class name="circular"/>
</style>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">2</property>
</packing>
</child>
<child>
<object class="GtkMenuButton" id="timer_button">
<property name="width-request">36</property>
<property name="height-request">36</property>
<property name="visible">True</property>
<property name="sensitive">False</property>
<property name="can-focus">True</property>
<property name="receives-default">True</property>
<property name="tooltip-text" translatable="yes">Sleep timer</property>
<child>
<object class="GtkImage" id="timer_image">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="icon-name">bed-symbolic</property>
</object>
</child>
<child internal-child="accessible">
<object class="AtkObject" id="timer_button-atkobject">
<property name="AtkObject::accessible-name" translatable="yes">Timer menu button</property>
<property name="AtkObject::accessible-description" translatable="yes">Open the sleep timer popover</property>
</object>
</child>
<style>
<class name="flat"/>
<class name="circular"/>
</style>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">3</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="pack-type">end</property>
<property name="position">2</property>
</packing>
</child>
</template>
</interface>