blob: 19d80d441cfec16e447bd8ce476a7656ca09109c [file] [log] [blame]
Stepan Salenikovichc64523b2015-02-27 16:31:00 -05001<?xml version="1.0" encoding="UTF-8"?>
2<interface>
3 <requires lib="gtk+" version="3.10"/>
4 <template class="CurrentCallView" parent="GtkBox">
5 <property name="visible">True</property>
Stepan Salenikovicha5129f62015-11-05 15:10:59 -05006
Stepan Salenikoviche178e632015-11-06 13:31:19 -05007 <!-- start of Paned container which splits the video/controls and the chat -->
Stepan Salenikovichc64523b2015-02-27 16:31:00 -05008 <child>
Stepan Salenikovichd2cad062016-01-08 13:43:49 -05009 <object class="GtkPaned" id="paned_call">
Stepan Salenikovichc64523b2015-02-27 16:31:00 -050010 <property name="visible">True</property>
Stepan Salenikovicha5129f62015-11-05 15:10:59 -050011 <property name="can_focus">True</property>
Stepan Salenikovicha5129f62015-11-05 15:10:59 -050012
Stepan Salenikoviche178e632015-11-06 13:31:19 -050013 <!-- video widget goes in this frame -->
Stepan Salenikovichc64523b2015-02-27 16:31:00 -050014 <child>
Stepan Salenikoviche178e632015-11-06 13:31:19 -050015 <object class="GtkFrame" id="frame_video">
16 <property name="visible">False</property>
17 <property name="shadow-type">GTK_SHADOW_NONE</property>
18 <property name="height-request">150</property>
19 <property name="width-request">200</property>
Stepan Salenikovicha448f602015-05-29 13:33:06 -040020 </object>
21 <packing>
Stepan Salenikovicha5129f62015-11-05 15:10:59 -050022 <property name="shrink">False</property>
23 <property name="resize">True</property>
Stepan Salenikovicha448f602015-05-29 13:33:06 -040024 </packing>
25 </child>
Stepan Salenikovichd2cad062016-01-08 13:43:49 -050026 <!-- end of video widget frame -->
Stepan Salenikovicha5129f62015-11-05 15:10:59 -050027
Stepan Salenikovichd2cad062016-01-08 13:43:49 -050028 <!-- chat widget goes in this frame -->
Stepan Salenikovichc64523b2015-02-27 16:31:00 -050029 <child>
Stepan Salenikovichd2cad062016-01-08 13:43:49 -050030 <object class="GtkFrame" id="frame_chat">
AmarOkbf695b42017-07-17 09:55:05 -040031 <property name="width-request">300</property>
Stepan Salenikovicha5129f62015-11-05 15:10:59 -050032 <property name="visible">False</property>
Stepan Salenikovichd2cad062016-01-08 13:43:49 -050033 <property name="shadow-type">GTK_SHADOW_NONE</property>
Stepan Salenikovichc64523b2015-02-27 16:31:00 -050034 </object>
35 <packing>
Stepan Salenikovicha5129f62015-11-05 15:10:59 -050036 <property name="shrink">False</property>
Stepan Salenikovichd2cad062016-01-08 13:43:49 -050037 <property name="resize">True</property>
Stepan Salenikovichc64523b2015-02-27 16:31:00 -050038 </packing>
39 </child>
Stepan Salenikovichd2cad062016-01-08 13:43:49 -050040 <!-- end of chat frame -->
41
Stepan Salenikovichc64523b2015-02-27 16:31:00 -050042 </object>
43 <packing>
44 <property name="expand">True</property>
45 <property name="fill">True</property>
46 </packing>
47 </child>
Stepan Salenikovicha5129f62015-11-05 15:10:59 -050048 <!-- end of Paned container -->
Stepan Salenikovichc64523b2015-02-27 16:31:00 -050049 </template>
Stepan Salenikoviche178e632015-11-06 13:31:19 -050050
Olivier Gregoire66e4df72016-06-17 18:39:05 -040051 <!-- vertical box which contains smartInfo -->
52 <object class="GtkBox" id="vbox_call_smartInfo">
Guillaume Roguezbf686102017-04-11 12:27:34 -040053 <style>
54 <class name="smartinfo-block-style"/>
55 </style>
Olivier Gregoire66e4df72016-06-17 18:39:05 -040056 <property name="visible">True</property>
57 <property name="spacing">5</property>
58 <property name="valign">start</property>
59 <property name="orientation">vertical</property>
60 <child>
61 <object class="GtkLabel" id="label_smartinfo_general_information">
62 <property name="visible">True</property>
63 <property name="can_focus">True</property>
64 <property name="selectable">True</property>
65 <property name="ellipsize">end</property>
66 <property name="halign">start</property>
67 <attributes>
68 <attribute name="scale" value="1"/>
Olivier Gregoire66e4df72016-06-17 18:39:05 -040069 <attribute name="weight" value="bold"/>
70 </attributes>
71 </object>
72 <packing>
73 <property name="expand">False</property>
74 <property name="fill">True</property>
75 </packing>
76 </child>
77 <child>
Sébastien Blin4514eeb2017-07-25 14:17:01 -040078 <!-- horizontal box which contains smartInfo -->
79 <object class="GtkBox" id="hbox_call_smartInfo">
80 <property name="visible">True</property>
81 <property name="hexpand">True</property>
82 <property name="spacing">10</property>
83 <property name="border-width">10</property>
84 <child>
85 <object class="GtkLabel" id="label_smartinfo_description">
86 <property name="visible">True</property>
87 <property name="can_focus">True</property>
88 <property name="selectable">True</property>
89 <property name="ellipsize">end</property>
90 <property name="halign">start</property>
91 <attributes>
92 <attribute name="scale" value="1"/>
93 <attribute name="weight" value="bold"/>
94 </attributes>
95 </object>
96 <packing>
97 <property name="expand">False</property>
98 <property name="fill">True</property>
99 </packing>
100 </child>
101 <child>
102 <object class="GtkLabel" id="label_smartinfo_value">
103 <property name="visible">True</property>
104 <property name="can_focus">True</property>
105 <property name="selectable">True</property>
106 <property name="ellipsize">end</property>
107 <property name="halign">start</property>
108 <attributes>
109 <attribute name="scale" value="1"/>
110 <attribute name="weight" value="bold"/>
111 </attributes>
112 </object>
113 <packing>
114 <property name="expand">False</property>
115 <property name="fill">True</property>
116 </packing>
117 </child>
118 </object>
119 <!-- end of horizontal box which contains smartInfo -->
120 </child>
Olivier Gregoire66e4df72016-06-17 18:39:05 -0400121 </object>
122 <!-- end of the vertical box which contains smartInfo -->
123
Stepan Salenikoviche178e632015-11-06 13:31:19 -0500124 <!-- box which contains peer image and name and call status -->
125 <object class="GtkBox" id="hbox_call_info">
126 <property name="visible">True</property>
127 <property name="hexpand">True</property>
128 <property name="spacing">10</property>
129 <property name="border-width">10</property>
AmarOkbf695b42017-07-17 09:55:05 -0400130 <property name="valign">center</property>
Stepan Salenikoviche178e632015-11-06 13:31:19 -0500131 <child>
132 <object class="GtkImage" id="image_peer">
133 <property name="visible">True</property>
134 </object>
135 <packing>
136 <property name="expand">False</property>
137 <property name="fill">True</property>
138 </packing>
139 </child>
Stepan Salenikovich07107e92016-05-06 10:35:17 -0400140
141 <!-- box which contains peer name and uri (if different) -->
Stepan Salenikoviche178e632015-11-06 13:31:19 -0500142 <child>
Stepan Salenikovich07107e92016-05-06 10:35:17 -0400143 <object class="GtkBox" id="vbox_peer_identity">
Stepan Salenikoviche178e632015-11-06 13:31:19 -0500144 <property name="visible">True</property>
Stepan Salenikovich07107e92016-05-06 10:35:17 -0400145 <property name="spacing">5</property>
Sébastien Blinc2d57692017-07-26 09:39:50 -0400146 <property name="valign">center</property>
Stepan Salenikovich07107e92016-05-06 10:35:17 -0400147 <property name="orientation">vertical</property>
148 <child>
149 <object class="GtkLabel" id="label_name">
150 <property name="visible">True</property>
151 <property name="can_focus">True</property>
152 <property name="selectable">True</property>
153 <property name="ellipsize">end</property>
154 <property name="halign">start</property>
155 <attributes>
156 <attribute name="scale" value="1.25"/>
Sébastien Blinc2d57692017-07-26 09:39:50 -0400157 <attribute name="foreground" value="#ffffff"/>
Stepan Salenikovich07107e92016-05-06 10:35:17 -0400158 </attributes>
159 </object>
160 <packing>
161 <property name="expand">False</property>
162 <property name="fill">True</property>
163 </packing>
164 </child>
165 <child>
Nicolas Jager2e467c32017-01-18 08:52:23 -0500166 <object class="GtkLabel" id="label_bestId">
Stepan Salenikovich07107e92016-05-06 10:35:17 -0400167 <property name="visible">False</property>
168 <property name="can_focus">True</property>
169 <property name="selectable">True</property>
Sébastien Blinc2d57692017-07-26 09:39:50 -0400170 <property name="halign">start</property>
Stepan Salenikovich07107e92016-05-06 10:35:17 -0400171 <property name="ellipsize">end</property>
172 <attributes>
Sébastien Blinc2d57692017-07-26 09:39:50 -0400173 <attribute name="foreground" value="#ffffff"/>
Stepan Salenikovich07107e92016-05-06 10:35:17 -0400174 </attributes>
175 </object>
176 <packing>
177 <property name="expand">False</property>
178 <property name="fill">True</property>
179 </packing>
180 </child>
Stepan Salenikoviche178e632015-11-06 13:31:19 -0500181 </object>
182 <packing>
183 <property name="expand">False</property>
184 <property name="fill">True</property>
185 </packing>
186 </child>
Stepan Salenikovich07107e92016-05-06 10:35:17 -0400187 <!-- end of box which contains peer name and uri -->
Stepan Salenikoviche178e632015-11-06 13:31:19 -0500188
189 <!-- call status box -->
190 <child>
191 <object class="GtkBox" id="hbox_call_status">
192 <property name="visible">True</property>
193 <property name="spacing">10</property>
194 <property name="valign">start</property>
195 <child>
196 <object class="GtkLabel" id="label_status">
197 <property name="visible">True</property>
198 <property name="ellipsize">end</property>
199 <attributes>
200 <attribute name="foreground" value="#ffffffffffff"/>
201 </attributes>
202 </object>
203 <packing>
204 <property name="expand">False</property>
205 <property name="fill">True</property>
206 </packing>
207 </child>
208 <child>
209 <object class="GtkLabel" id="label_duration">
210 <property name="visible">True</property>
211 <property name="can_focus">True</property>
212 <property name="selectable">True</property>
213 <property name="ellipsize">end</property>
214 <attributes>
215 <attribute name="foreground" value="#ffffffffffff"/>
216 </attributes>
217 </object>
218 <packing>
219 <property name="expand">False</property>
220 <property name="fill">True</property>
221 </packing>
222 </child>
223 </object>
224 <packing>
225 <property name="expand">False</property>
226 <property name="fill">True</property>
227 <property name="pack-type">end</property>
228 </packing>
229 </child>
230 <!-- end of call status box -->
231 </object>
232 <!-- end of box which contains peer image and name -->
233
AmarOke7c02972017-07-17 15:21:20 -0400234 <!-- call control button box -->
Stepan Salenikoviche178e632015-11-06 13:31:19 -0500235 <object class="GtkBox" id="hbox_call_controls">
236 <property name="visible">True</property>
237 <property name="spacing">15</property>
238 <property name="border-width">10</property>
239 <child>
240 <object class="GtkButton" id="button_hangup">
AmarOke7c02972017-07-17 15:21:20 -0400241 <style>
242 <class name="hangup-button-style"/>
243 </style>
Stepan Salenikoviche178e632015-11-06 13:31:19 -0500244 <property name="visible">True</property>
245 <property name="can_focus">True</property>
246 <property name="receives_default">True</property>
AmarOke7c02972017-07-17 15:21:20 -0400247 <property name="width-request">48</property>
248 <property name="height-request">48</property>
Stepan Salenikoviche178e632015-11-06 13:31:19 -0500249 <property name="action-name">app.hangup</property>
250 <property name="has_tooltip">True</property>
251 <property name="tooltip-text" translatable="yes">End this call</property>
252 <property name="image">image_end</property>
253 <child internal-child="accessible">
254 <object class="AtkObject" id="button_hangup-atkobject">
255 <property name="AtkObject::accessible-name" translatable="yes">End call</property>
256 </object>
257 </child>
258 </object>
259 <packing>
260 <property name="expand">False</property>
261 <property name="fill">True</property>
262 </packing>
263 </child>
264 <child>
265 <object class="GtkToggleButton" id="togglebutton_hold">
AmarOke7c02972017-07-17 15:21:20 -0400266 <style>
267 <class name="call-button"/>
268 </style>
Stepan Salenikoviche178e632015-11-06 13:31:19 -0500269 <property name="visible">True</property>
270 <property name="can_focus">True</property>
271 <property name="receives_default">True</property>
AmarOke7c02972017-07-17 15:21:20 -0400272 <property name="width-request">48</property>
273 <property name="height-request">48</property>
Stepan Salenikoviche178e632015-11-06 13:31:19 -0500274 <property name="action-name">app.hold</property>
275 <property name="has_tooltip">True</property>
276 <property name="tooltip-text" translatable="yes">Toggle hold</property>
277 <property name="image">image_pause</property>
278 <child internal-child="accessible">
279 <object class="AtkObject" id="togglebutton_hold-atkobject">
280 <property name="AtkObject::accessible-name" translatable="yes">Hold</property>
281 </object>
282 </child>
283 </object>
284 <packing>
285 <property name="expand">False</property>
286 <property name="fill">True</property>
287 </packing>
288 </child>
289 <child>
290 <object class="GtkToggleButton" id="togglebutton_muteaudio">
AmarOke7c02972017-07-17 15:21:20 -0400291 <style>
292 <class name="can-be-disabled"/>
293 <class name="call-button"/>
294 </style>
Stepan Salenikoviche178e632015-11-06 13:31:19 -0500295 <property name="visible">True</property>
296 <property name="can_focus">True</property>
297 <property name="receives_default">True</property>
AmarOke7c02972017-07-17 15:21:20 -0400298 <property name="width-request">48</property>
299 <property name="height-request">48</property>
Stepan Salenikoviche178e632015-11-06 13:31:19 -0500300 <property name="action-name">app.mute_audio</property>
301 <property name="has_tooltip">True</property>
302 <property name="tooltip-text" translatable="yes">Toggle mute audio</property>
303 <property name="image">image_mute_audio</property>
304 <child internal-child="accessible">
305 <object class="AtkObject" id="togglebutton_muteaudio-atkobject">
306 <property name="AtkObject::accessible-name" translatable="yes">Hold</property>
307 </object>
308 </child>
309 </object>
310 <packing>
311 <property name="expand">False</property>
312 <property name="fill">True</property>
313 </packing>
314 </child>
315 <child>
316 <object class="GtkToggleButton" id="togglebutton_mutevideo">
AmarOke7c02972017-07-17 15:21:20 -0400317 <style>
318 <class name="call-button"/>
319 <class name="can-be-disabled"/>
320 </style>
Stepan Salenikoviche178e632015-11-06 13:31:19 -0500321 <property name="visible">True</property>
322 <property name="can_focus">True</property>
323 <property name="receives_default">True</property>
AmarOke7c02972017-07-17 15:21:20 -0400324 <property name="width-request">48</property>
325 <property name="height-request">48</property>
Stepan Salenikoviche178e632015-11-06 13:31:19 -0500326 <property name="action-name">app.mute_video</property>
327 <property name="has_tooltip">True</property>
328 <property name="tooltip-text" translatable="yes">Toggle mute video</property>
329 <property name="image">image_mute_video</property>
330 <child internal-child="accessible">
331 <object class="AtkObject" id="togglebutton_mutevideo-atkobject">
332 <property name="AtkObject::accessible-name" translatable="yes">Mute video</property>
333 </object>
334 </child>
335 </object>
336 <packing>
337 <property name="expand">False</property>
338 <property name="fill">True</property>
339 </packing>
340 </child>
341 <child>
342 <object class="GtkToggleButton" id="togglebutton_record">
AmarOke7c02972017-07-17 15:21:20 -0400343 <style>
344 <class name="call-button"/>
345 <class name="record-button"/>
346 </style>
Stepan Salenikoviche178e632015-11-06 13:31:19 -0500347 <property name="visible">True</property>
348 <property name="can_focus">True</property>
349 <property name="receives_default">True</property>
AmarOke7c02972017-07-17 15:21:20 -0400350 <property name="width-request">48</property>
351 <property name="height-request">48</property>
Stepan Salenikoviche178e632015-11-06 13:31:19 -0500352 <property name="action-name">app.record</property>
353 <property name="has_tooltip">True</property>
354 <property name="image">image_record</property>
355 <property name="tooltip-text" translatable="yes">Toggle record audio</property>
356 <child internal-child="accessible">
357 <object class="AtkObject" id="togglebutton_record-atkobject">
358 <property name="AtkObject::accessible-name" translatable="yes">Record audio</property>
359 </object>
360 </child>
361 </object>
362 <packing>
363 <property name="expand">False</property>
364 <property name="fill">True</property>
365 </packing>
366 </child>
367 <child>
Stepan Salenikovich7e283552015-12-21 16:17:52 -0500368 <object class="GtkScaleButton" id="scalebutton_quality">
AmarOke7c02972017-07-17 15:21:20 -0400369 <style>
370 <class name="call-button"/>
371 </style>
Stepan Salenikovich7e283552015-12-21 16:17:52 -0500372 <property name="visible">True</property>
373 <property name="can_focus">True</property>
AmarOke7c02972017-07-17 15:21:20 -0400374 <property name="width-request">48</property>
375 <property name="height-request">48</property>
Stepan Salenikovich7e283552015-12-21 16:17:52 -0500376 <property name="has_tooltip">True</property>
377 <property name="relief">normal</property>
378 <property name="tooltip-text" translatable="yes">Adjust outgoing video quality</property>
379 <property name="image">image_quality</property>
380 <property name="adjustment">adjustment_quality</property>
381 <child internal-child="accessible">
382 <object class="AtkObject" id="scalebutton_quality-atkobject">
383 <property name="AtkObject::accessible-name" translatable="yes">Video quality</property>
384 </object>
385 </child>
386 </object>
387 <packing>
388 <property name="expand">False</property>
389 <property name="fill">True</property>
390 </packing>
391 </child>
392 <child>
Stepan Salenikoviche178e632015-11-06 13:31:19 -0500393 <object class="GtkToggleButton" id="togglebutton_chat">
AmarOke7c02972017-07-17 15:21:20 -0400394 <style>
395 <class name="call-button"/>
396 </style>
Stepan Salenikoviche178e632015-11-06 13:31:19 -0500397 <property name="visible">True</property>
398 <property name="can_focus">True</property>
AmarOke7c02972017-07-17 15:21:20 -0400399 <property name="width-request">48</property>
400 <property name="height-request">48</property>
Stepan Salenikoviche178e632015-11-06 13:31:19 -0500401 <property name="has_tooltip">True</property>
402 <property name="tooltip-text" translatable="yes">Toggle show chat</property>
403 <property name="image">image_chat</property>
404 <child internal-child="accessible">
405 <object class="AtkObject" id="togglebutton_chat-atkobject">
406 <property name="AtkObject::accessible-name" translatable="yes">Chat</property>
407 </object>
408 </child>
409 </object>
410 <packing>
411 <property name="expand">False</property>
412 <property name="fill">True</property>
413 </packing>
414 </child>
415 </object>
416 <!-- end of call control button box -->
417
Stepan Salenikovich77baa522015-07-07 15:29:14 -0400418 <object class="GtkImage" id="image_chat">
419 <property name="visible">True</property>
420 <property name="resource">/cx/ring/RingGnome/chat</property>
Stepan Salenikovich5de6e0a2015-07-07 16:10:39 -0400421 <child internal-child="accessible">
422 <object class="AtkObject" id="image_chat-atkobject">
423 <property name="AtkObject::accessible-description" translatable="yes">Chat</property>
424 </object>
425 </child>
Stepan Salenikovich77baa522015-07-07 15:29:14 -0400426 </object>
427 <object class="GtkImage" id="image_mute_audio">
428 <property name="visible">True</property>
429 <property name="resource">/cx/ring/RingGnome/mute_audio</property>
Stepan Salenikovich5de6e0a2015-07-07 16:10:39 -0400430 <child internal-child="accessible">
431 <object class="AtkObject" id="image_mute_audio-atkobject">
432 <property name="AtkObject::accessible-description" translatable="yes">Mute audio</property>
433 </object>
434 </child>
Stepan Salenikovich77baa522015-07-07 15:29:14 -0400435 </object>
436 <object class="GtkImage" id="image_mute_video">
437 <property name="visible">True</property>
438 <property name="resource">/cx/ring/RingGnome/mute_video</property>
Stepan Salenikovich5de6e0a2015-07-07 16:10:39 -0400439 <child internal-child="accessible">
440 <object class="AtkObject" id="image_mute_video-atkobject">
441 <property name="AtkObject::accessible-description" translatable="yes">Mute video</property>
442 </object>
443 </child>
Stepan Salenikovich77baa522015-07-07 15:29:14 -0400444 </object>
445 <object class="GtkImage" id="image_pause">
446 <property name="visible">True</property>
447 <property name="resource">/cx/ring/RingGnome/pause</property>
Stepan Salenikovich5de6e0a2015-07-07 16:10:39 -0400448 <child internal-child="accessible">
449 <object class="AtkObject" id="image_pause-atkobject">
450 <property name="AtkObject::accessible-description" translatable="yes">Hold</property>
451 </object>
452 </child>
Stepan Salenikovich77baa522015-07-07 15:29:14 -0400453 </object>
454 <object class="GtkImage" id="image_end">
455 <property name="visible">True</property>
AmarOke7c02972017-07-17 15:21:20 -0400456 <property name="resource">/cx/ring/RingGnome/call_end</property>
Stepan Salenikovich5de6e0a2015-07-07 16:10:39 -0400457 <child internal-child="accessible">
458 <object class="AtkObject" id="image_end-atkobject">
459 <property name="AtkObject::accessible-description" translatable="yes">End call</property>
460 </object>
461 </child>
Stepan Salenikovich77baa522015-07-07 15:29:14 -0400462 </object>
Stepan Salenikovich7e283552015-12-21 16:17:52 -0500463 <object class="GtkImage" id="image_quality">
464 <property name="visible">True</property>
465 <property name="resource">/cx/ring/RingGnome/quality</property>
466 <child internal-child="accessible">
467 <object class="AtkObject" id="image_quality-atkobject">
468 <property name="AtkObject::accessible-description" translatable="yes">Video quality</property>
469 </object>
470 </child>
471 </object>
Stepan Salenikovich943bd052015-09-04 17:42:08 -0400472 <object class="GtkImage" id="image_record">
473 <property name="visible">True</property>
AmarOke7c02972017-07-17 15:21:20 -0400474 <property name="resource">/cx/ring/RingGnome/record</property>
Stepan Salenikovich943bd052015-09-04 17:42:08 -0400475 <child internal-child="accessible">
476 <object class="AtkObject" id="image_record-atkobject">
477 <property name="AtkObject::accessible-description" translatable="yes">Record</property>
478 </object>
479 </child>
480 </object>
Stepan Salenikovich7e283552015-12-21 16:17:52 -0500481 <object class="GtkAdjustment" id="adjustment_quality">
482 <property name="lower">0</property>
483 <property name="upper">100</property>
484 <property name="value">50</property>
485 <property name="step_increment">1</property>
486 <property name="page_increment">10</property>
487 </object>
Stepan Salenikovichc64523b2015-02-27 16:31:00 -0500488</interface>