blob: bde964869ea501f0492fc2344053202d0765d550 [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>
146 <property name="valign">start</property>
147 <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"/>
157 <attribute name="foreground" value="#ffffffffffff"/>
158 </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>
170 <property name="ellipsize">end</property>
171 <attributes>
172 <attribute name="foreground" value="#ffffffffffff"/>
173 </attributes>
174 </object>
175 <packing>
176 <property name="expand">False</property>
177 <property name="fill">True</property>
178 </packing>
179 </child>
Stepan Salenikoviche178e632015-11-06 13:31:19 -0500180 </object>
181 <packing>
182 <property name="expand">False</property>
183 <property name="fill">True</property>
184 </packing>
185 </child>
Stepan Salenikovich07107e92016-05-06 10:35:17 -0400186 <!-- end of box which contains peer name and uri -->
Stepan Salenikoviche178e632015-11-06 13:31:19 -0500187
188 <!-- call status box -->
189 <child>
190 <object class="GtkBox" id="hbox_call_status">
191 <property name="visible">True</property>
192 <property name="spacing">10</property>
193 <property name="valign">start</property>
194 <child>
195 <object class="GtkLabel" id="label_status">
196 <property name="visible">True</property>
197 <property name="ellipsize">end</property>
198 <attributes>
199 <attribute name="foreground" value="#ffffffffffff"/>
200 </attributes>
201 </object>
202 <packing>
203 <property name="expand">False</property>
204 <property name="fill">True</property>
205 </packing>
206 </child>
207 <child>
208 <object class="GtkLabel" id="label_duration">
209 <property name="visible">True</property>
210 <property name="can_focus">True</property>
211 <property name="selectable">True</property>
212 <property name="ellipsize">end</property>
213 <attributes>
214 <attribute name="foreground" value="#ffffffffffff"/>
215 </attributes>
216 </object>
217 <packing>
218 <property name="expand">False</property>
219 <property name="fill">True</property>
220 </packing>
221 </child>
222 </object>
223 <packing>
224 <property name="expand">False</property>
225 <property name="fill">True</property>
226 <property name="pack-type">end</property>
227 </packing>
228 </child>
229 <!-- end of call status box -->
230 </object>
231 <!-- end of box which contains peer image and name -->
232
AmarOke7c02972017-07-17 15:21:20 -0400233 <!-- call control button box -->
Stepan Salenikoviche178e632015-11-06 13:31:19 -0500234 <object class="GtkBox" id="hbox_call_controls">
235 <property name="visible">True</property>
236 <property name="spacing">15</property>
237 <property name="border-width">10</property>
238 <child>
239 <object class="GtkButton" id="button_hangup">
AmarOke7c02972017-07-17 15:21:20 -0400240 <style>
241 <class name="hangup-button-style"/>
242 </style>
Stepan Salenikoviche178e632015-11-06 13:31:19 -0500243 <property name="visible">True</property>
244 <property name="can_focus">True</property>
245 <property name="receives_default">True</property>
AmarOke7c02972017-07-17 15:21:20 -0400246 <property name="width-request">48</property>
247 <property name="height-request">48</property>
Stepan Salenikoviche178e632015-11-06 13:31:19 -0500248 <property name="action-name">app.hangup</property>
249 <property name="has_tooltip">True</property>
250 <property name="tooltip-text" translatable="yes">End this call</property>
251 <property name="image">image_end</property>
252 <child internal-child="accessible">
253 <object class="AtkObject" id="button_hangup-atkobject">
254 <property name="AtkObject::accessible-name" translatable="yes">End call</property>
255 </object>
256 </child>
257 </object>
258 <packing>
259 <property name="expand">False</property>
260 <property name="fill">True</property>
261 </packing>
262 </child>
263 <child>
264 <object class="GtkToggleButton" id="togglebutton_hold">
AmarOke7c02972017-07-17 15:21:20 -0400265 <style>
266 <class name="call-button"/>
267 </style>
Stepan Salenikoviche178e632015-11-06 13:31:19 -0500268 <property name="visible">True</property>
269 <property name="can_focus">True</property>
270 <property name="receives_default">True</property>
AmarOke7c02972017-07-17 15:21:20 -0400271 <property name="width-request">48</property>
272 <property name="height-request">48</property>
Stepan Salenikoviche178e632015-11-06 13:31:19 -0500273 <property name="action-name">app.hold</property>
274 <property name="has_tooltip">True</property>
275 <property name="tooltip-text" translatable="yes">Toggle hold</property>
276 <property name="image">image_pause</property>
277 <child internal-child="accessible">
278 <object class="AtkObject" id="togglebutton_hold-atkobject">
279 <property name="AtkObject::accessible-name" translatable="yes">Hold</property>
280 </object>
281 </child>
282 </object>
283 <packing>
284 <property name="expand">False</property>
285 <property name="fill">True</property>
286 </packing>
287 </child>
288 <child>
289 <object class="GtkToggleButton" id="togglebutton_muteaudio">
AmarOke7c02972017-07-17 15:21:20 -0400290 <style>
291 <class name="can-be-disabled"/>
292 <class name="call-button"/>
293 </style>
Stepan Salenikoviche178e632015-11-06 13:31:19 -0500294 <property name="visible">True</property>
295 <property name="can_focus">True</property>
296 <property name="receives_default">True</property>
AmarOke7c02972017-07-17 15:21:20 -0400297 <property name="width-request">48</property>
298 <property name="height-request">48</property>
Stepan Salenikoviche178e632015-11-06 13:31:19 -0500299 <property name="action-name">app.mute_audio</property>
300 <property name="has_tooltip">True</property>
301 <property name="tooltip-text" translatable="yes">Toggle mute audio</property>
302 <property name="image">image_mute_audio</property>
303 <child internal-child="accessible">
304 <object class="AtkObject" id="togglebutton_muteaudio-atkobject">
305 <property name="AtkObject::accessible-name" translatable="yes">Hold</property>
306 </object>
307 </child>
308 </object>
309 <packing>
310 <property name="expand">False</property>
311 <property name="fill">True</property>
312 </packing>
313 </child>
314 <child>
315 <object class="GtkToggleButton" id="togglebutton_mutevideo">
AmarOke7c02972017-07-17 15:21:20 -0400316 <style>
317 <class name="call-button"/>
318 <class name="can-be-disabled"/>
319 </style>
Stepan Salenikoviche178e632015-11-06 13:31:19 -0500320 <property name="visible">True</property>
321 <property name="can_focus">True</property>
322 <property name="receives_default">True</property>
AmarOke7c02972017-07-17 15:21:20 -0400323 <property name="width-request">48</property>
324 <property name="height-request">48</property>
Stepan Salenikoviche178e632015-11-06 13:31:19 -0500325 <property name="action-name">app.mute_video</property>
326 <property name="has_tooltip">True</property>
327 <property name="tooltip-text" translatable="yes">Toggle mute video</property>
328 <property name="image">image_mute_video</property>
329 <child internal-child="accessible">
330 <object class="AtkObject" id="togglebutton_mutevideo-atkobject">
331 <property name="AtkObject::accessible-name" translatable="yes">Mute video</property>
332 </object>
333 </child>
334 </object>
335 <packing>
336 <property name="expand">False</property>
337 <property name="fill">True</property>
338 </packing>
339 </child>
340 <child>
341 <object class="GtkToggleButton" id="togglebutton_record">
AmarOke7c02972017-07-17 15:21:20 -0400342 <style>
343 <class name="call-button"/>
344 <class name="record-button"/>
345 </style>
Stepan Salenikoviche178e632015-11-06 13:31:19 -0500346 <property name="visible">True</property>
347 <property name="can_focus">True</property>
348 <property name="receives_default">True</property>
AmarOke7c02972017-07-17 15:21:20 -0400349 <property name="width-request">48</property>
350 <property name="height-request">48</property>
Stepan Salenikoviche178e632015-11-06 13:31:19 -0500351 <property name="action-name">app.record</property>
352 <property name="has_tooltip">True</property>
353 <property name="image">image_record</property>
354 <property name="tooltip-text" translatable="yes">Toggle record audio</property>
355 <child internal-child="accessible">
356 <object class="AtkObject" id="togglebutton_record-atkobject">
357 <property name="AtkObject::accessible-name" translatable="yes">Record audio</property>
358 </object>
359 </child>
360 </object>
361 <packing>
362 <property name="expand">False</property>
363 <property name="fill">True</property>
364 </packing>
365 </child>
366 <child>
Stepan Salenikovich7e283552015-12-21 16:17:52 -0500367 <object class="GtkScaleButton" id="scalebutton_quality">
AmarOke7c02972017-07-17 15:21:20 -0400368 <style>
369 <class name="call-button"/>
370 </style>
Stepan Salenikovich7e283552015-12-21 16:17:52 -0500371 <property name="visible">True</property>
372 <property name="can_focus">True</property>
AmarOke7c02972017-07-17 15:21:20 -0400373 <property name="width-request">48</property>
374 <property name="height-request">48</property>
Stepan Salenikovich7e283552015-12-21 16:17:52 -0500375 <property name="has_tooltip">True</property>
376 <property name="relief">normal</property>
377 <property name="tooltip-text" translatable="yes">Adjust outgoing video quality</property>
378 <property name="image">image_quality</property>
379 <property name="adjustment">adjustment_quality</property>
380 <child internal-child="accessible">
381 <object class="AtkObject" id="scalebutton_quality-atkobject">
382 <property name="AtkObject::accessible-name" translatable="yes">Video quality</property>
383 </object>
384 </child>
385 </object>
386 <packing>
387 <property name="expand">False</property>
388 <property name="fill">True</property>
389 </packing>
390 </child>
391 <child>
Stepan Salenikoviche178e632015-11-06 13:31:19 -0500392 <object class="GtkToggleButton" id="togglebutton_chat">
AmarOke7c02972017-07-17 15:21:20 -0400393 <style>
394 <class name="call-button"/>
395 </style>
Stepan Salenikoviche178e632015-11-06 13:31:19 -0500396 <property name="visible">True</property>
397 <property name="can_focus">True</property>
AmarOke7c02972017-07-17 15:21:20 -0400398 <property name="width-request">48</property>
399 <property name="height-request">48</property>
Stepan Salenikoviche178e632015-11-06 13:31:19 -0500400 <property name="has_tooltip">True</property>
401 <property name="tooltip-text" translatable="yes">Toggle show chat</property>
402 <property name="image">image_chat</property>
403 <child internal-child="accessible">
404 <object class="AtkObject" id="togglebutton_chat-atkobject">
405 <property name="AtkObject::accessible-name" translatable="yes">Chat</property>
406 </object>
407 </child>
408 </object>
409 <packing>
410 <property name="expand">False</property>
411 <property name="fill">True</property>
412 </packing>
413 </child>
414 </object>
415 <!-- end of call control button box -->
416
Stepan Salenikovich77baa522015-07-07 15:29:14 -0400417 <object class="GtkImage" id="image_chat">
418 <property name="visible">True</property>
419 <property name="resource">/cx/ring/RingGnome/chat</property>
Stepan Salenikovich5de6e0a2015-07-07 16:10:39 -0400420 <child internal-child="accessible">
421 <object class="AtkObject" id="image_chat-atkobject">
422 <property name="AtkObject::accessible-description" translatable="yes">Chat</property>
423 </object>
424 </child>
Stepan Salenikovich77baa522015-07-07 15:29:14 -0400425 </object>
426 <object class="GtkImage" id="image_mute_audio">
427 <property name="visible">True</property>
428 <property name="resource">/cx/ring/RingGnome/mute_audio</property>
Stepan Salenikovich5de6e0a2015-07-07 16:10:39 -0400429 <child internal-child="accessible">
430 <object class="AtkObject" id="image_mute_audio-atkobject">
431 <property name="AtkObject::accessible-description" translatable="yes">Mute audio</property>
432 </object>
433 </child>
Stepan Salenikovich77baa522015-07-07 15:29:14 -0400434 </object>
435 <object class="GtkImage" id="image_mute_video">
436 <property name="visible">True</property>
437 <property name="resource">/cx/ring/RingGnome/mute_video</property>
Stepan Salenikovich5de6e0a2015-07-07 16:10:39 -0400438 <child internal-child="accessible">
439 <object class="AtkObject" id="image_mute_video-atkobject">
440 <property name="AtkObject::accessible-description" translatable="yes">Mute video</property>
441 </object>
442 </child>
Stepan Salenikovich77baa522015-07-07 15:29:14 -0400443 </object>
444 <object class="GtkImage" id="image_pause">
445 <property name="visible">True</property>
446 <property name="resource">/cx/ring/RingGnome/pause</property>
Stepan Salenikovich5de6e0a2015-07-07 16:10:39 -0400447 <child internal-child="accessible">
448 <object class="AtkObject" id="image_pause-atkobject">
449 <property name="AtkObject::accessible-description" translatable="yes">Hold</property>
450 </object>
451 </child>
Stepan Salenikovich77baa522015-07-07 15:29:14 -0400452 </object>
453 <object class="GtkImage" id="image_end">
454 <property name="visible">True</property>
AmarOke7c02972017-07-17 15:21:20 -0400455 <property name="resource">/cx/ring/RingGnome/call_end</property>
Stepan Salenikovich5de6e0a2015-07-07 16:10:39 -0400456 <child internal-child="accessible">
457 <object class="AtkObject" id="image_end-atkobject">
458 <property name="AtkObject::accessible-description" translatable="yes">End call</property>
459 </object>
460 </child>
Stepan Salenikovich77baa522015-07-07 15:29:14 -0400461 </object>
Stepan Salenikovich7e283552015-12-21 16:17:52 -0500462 <object class="GtkImage" id="image_quality">
463 <property name="visible">True</property>
464 <property name="resource">/cx/ring/RingGnome/quality</property>
465 <child internal-child="accessible">
466 <object class="AtkObject" id="image_quality-atkobject">
467 <property name="AtkObject::accessible-description" translatable="yes">Video quality</property>
468 </object>
469 </child>
470 </object>
Stepan Salenikovich943bd052015-09-04 17:42:08 -0400471 <object class="GtkImage" id="image_record">
472 <property name="visible">True</property>
AmarOke7c02972017-07-17 15:21:20 -0400473 <property name="resource">/cx/ring/RingGnome/record</property>
Stepan Salenikovich943bd052015-09-04 17:42:08 -0400474 <child internal-child="accessible">
475 <object class="AtkObject" id="image_record-atkobject">
476 <property name="AtkObject::accessible-description" translatable="yes">Record</property>
477 </object>
478 </child>
479 </object>
Stepan Salenikovich7e283552015-12-21 16:17:52 -0500480 <object class="GtkAdjustment" id="adjustment_quality">
481 <property name="lower">0</property>
482 <property name="upper">100</property>
483 <property name="value">50</property>
484 <property name="step_increment">1</property>
485 <property name="page_increment">10</property>
486 </object>
Stepan Salenikovichc64523b2015-02-27 16:31:00 -0500487</interface>