blob: 7867383b11132d66ef60ac1e618987dd99a4e0f6 [file] [log] [blame]
Stepan Salenikovich69771842015-02-24 18:11:45 -05001<?xml version="1.0" encoding="UTF-8"?>
2<interface>
3 <requires lib="gtk+" version="3.10"/>
4 <template class="IncomingCallView" parent="GtkBox">
5 <property name="visible">True</property>
Stepan Salenikovichdaf3cb32016-10-12 16:39:42 -04006
7 <!-- start of Paned container which splits the call and the chat -->
Stepan Salenikovich69771842015-02-24 18:11:45 -05008 <child>
Stepan Salenikovichdaf3cb32016-10-12 16:39:42 -04009 <object class="GtkPaned" id="paned_call">
Stepan Salenikovich69771842015-02-24 18:11:45 -050010 <property name="visible">True</property>
Stepan Salenikovichdaf3cb32016-10-12 16:39:42 -040011
12 <!-- call goes in this frame -->
Stepan Salenikovich69771842015-02-24 18:11:45 -050013 <child>
Stepan Salenikovichdaf3cb32016-10-12 16:39:42 -040014 <object class="GtkFrame" id="frame_call">
Stepan Salenikovich69771842015-02-24 18:11:45 -050015 <property name="visible">True</property>
Stepan Salenikovichdaf3cb32016-10-12 16:39:42 -040016 <property name="shadow-type">GTK_SHADOW_NONE</property>
AmarOke7c02972017-07-17 15:21:20 -040017 <property name="valign">center</property>
Stepan Salenikovichdaf3cb32016-10-12 16:39:42 -040018
19 <!-- box call -->
Stepan Salenikovich69771842015-02-24 18:11:45 -050020 <child>
Stepan Salenikovichdaf3cb32016-10-12 16:39:42 -040021 <object class="GtkBox" id="vbox_call">
Stepan Salenikovich69771842015-02-24 18:11:45 -050022 <property name="visible">True</property>
Stepan Salenikovich69771842015-02-24 18:11:45 -050023 <property name="orientation">vertical</property>
Stepan Salenikovichdaf3cb32016-10-12 16:39:42 -040024
25 <!-- info vbox -->
Stepan Salenikovich69771842015-02-24 18:11:45 -050026 <child>
Stepan Salenikovichdaf3cb32016-10-12 16:39:42 -040027 <object class="GtkBox" id="vbox_incoming_info">
Stepan Salenikovich69771842015-02-24 18:11:45 -050028 <property name="visible">True</property>
Stepan Salenikovichdaf3cb32016-10-12 16:39:42 -040029 <property name="valign">center</property>
30 <property name="border_width">15</property>
31 <property name="orientation">vertical</property>
32 <property name="spacing">15</property>
33 <!-- image of contact -->
34 <child>
35 <object class="GtkImage" id="image_incoming">
36 <property name="visible">True</property>
37 <property name="can_focus">False</property>
38 <property name="halign">center</property>
39 <property name="xpad">10</property>
40 <property name="ypad">10</property>
41 </object>
42 <packing>
43 <property name="expand">False</property>
44 <property name="fill">True</property>
45 </packing>
46 </child>
47 <!-- end image of contact -->
48 <!-- name or other identity of contact -->
49 <child>
50 <object class="GtkLabel" id="label_name">
51 <property name="visible">True</property>
52 <property name="can_focus">True</property>
53 <property name="halign">center</property>
54 <property name="selectable">True</property>
55 <property name="ellipsize">end</property>
56 <attributes>
57 <attribute name="scale" value="1.5"/>
58 </attributes>
59 </object>
60 <packing>
61 <property name="expand">False</property>
62 <property name="fill">True</property>
63 </packing>
64 </child>
65 <!-- end name or other identity of contact -->
66 <!-- uri of contact -->
67 <child>
Nicolas Jager2e467c32017-01-18 08:52:23 -050068 <object class="GtkLabel" id="label_bestId">
Stepan Salenikovichdaf3cb32016-10-12 16:39:42 -040069 <property name="visible">False</property>
70 <property name="can_focus">True</property>
71 <property name="halign">center</property>
72 <property name="selectable">True</property>
73 <property name="ellipsize">end</property>
74 <style>
75 <class name="dim-label"/>
76 </style>
77 </object>
78 <packing>
79 <property name="expand">False</property>
80 <property name="fill">True</property>
81 </packing>
82 </child>
83 <!-- end uri of contact -->
84 <!-- call initialization progress -->
85 <child>
86 <object class="GtkSpinner" id="spinner_status">
87 <property name="visible">False</property>
88 <property name="can_focus">False</property>
89 <property name="active">True</property>
90 <property name="height-request">25</property>
91 </object>
92 </child>
93 <child>
94 <object class="GtkLabel" id="placeholder">
95 <property name="visible">False</property>
96 <property name="can_focus">False</property>
97 <property name="height-request">25</property>
98 </object>
99 </child>
100 <!-- end of call initialization progress -->
101 <!-- call state info -->
102 <child>
103 <object class="GtkLabel" id="label_status">
104 <property name="visible">True</property>
105 <property name="can_focus">False</property>
106 <property name="label" translatable="yes">Incoming...</property>
107 <property name="ellipsize">end</property>
108 <style>
109 <class name="dim-label"/>
110 </style>
111 </object>
112 </child>
Stepan Salenikovich69771842015-02-24 18:11:45 -0500113 </object>
114 <packing>
115 <property name="expand">False</property>
116 <property name="fill">True</property>
117 </packing>
118 </child>
Stepan Salenikovichdaf3cb32016-10-12 16:39:42 -0400119 <!-- end info vbox -->
120
121 <!-- hbox action bar -->
Stepan Salenikovich69771842015-02-24 18:11:45 -0500122 <child>
Stepan Salenikovichdaf3cb32016-10-12 16:39:42 -0400123 <object class="GtkBox" id="hbox_action_bar">
Stepan Salenikovich69771842015-02-24 18:11:45 -0500124 <property name="visible">True</property>
Stepan Salenikovichdaf3cb32016-10-12 16:39:42 -0400125 <property name="orientation">horizontal</property>
126 <property name="spacing">20</property>
127 <property name="border_width">20</property>
128 <property name="valign">center</property>
AmarOke7c02972017-07-17 15:21:20 -0400129 <property name="halign">center</property>
Stepan Salenikovichdaf3cb32016-10-12 16:39:42 -0400130 <!-- accept button -->
131 <child>
132 <object class="GtkButton" id="button_accept_incoming">
AmarOke7c02972017-07-17 15:21:20 -0400133 <style>
134 <class name="green-button"/>
135 <class name="flat-button"/>
136 </style>
137 <property name="width-request">48</property>
138 <property name="height-request">48</property>
Stepan Salenikovichdaf3cb32016-10-12 16:39:42 -0400139 <property name="visible">True</property>
140 <property name="can_focus">True</property>
AmarOke7c02972017-07-17 15:21:20 -0400141 <property name="has_tooltip">True</property>
142 <property name="tooltip-text" translatable="yes">Accept</property>
Stepan Salenikovichdaf3cb32016-10-12 16:39:42 -0400143 <property name="image">image_accept</property>
144 <property name="action-name">app.accept</property>
145 </object>
146 <packing>
147 <property name="expand">True</property>
148 <property name="fill">True</property>
149 </packing>
150 </child>
151 <!-- end accept button -->
152 <!-- reject button -->
153 <child>
154 <object class="GtkButton" id="button_reject_incoming">
AmarOke7c02972017-07-17 15:21:20 -0400155 <style>
156 <class name="red-button"/>
157 <class name="flat-button"/>
158 </style>
159 <property name="width-request">48</property>
160 <property name="height-request">48</property>
Stepan Salenikovichdaf3cb32016-10-12 16:39:42 -0400161 <property name="visible">True</property>
AmarOke7c02972017-07-17 15:21:20 -0400162 <property name="has_tooltip">True</property>
163 <property name="tooltip-text" translatable="yes">Reject</property>
Stepan Salenikovichdaf3cb32016-10-12 16:39:42 -0400164 <property name="can_focus">True</property>
Stepan Salenikovichdaf3cb32016-10-12 16:39:42 -0400165 <property name="image">image_reject</property>
166 <property name="action-name">app.hangup</property>
167 </object>
168 <packing>
169 <property name="expand">True</property>
170 <property name="fill">True</property>
171 </packing>
172 </child>
173 <!-- end reject button -->
174 <!-- end button -->
175 <child>
176 <object class="GtkButton" id="button_end_call">
AmarOke7c02972017-07-17 15:21:20 -0400177 <style>
178 <class name="red-button"/>
179 <class name="flat-button"/>
180 </style>
181 <property name="width-request">48</property>
182 <property name="height-request">48</property>
Stepan Salenikovichdaf3cb32016-10-12 16:39:42 -0400183 <property name="visible">False</property>
184 <property name="can_focus">True</property>
AmarOke7c02972017-07-17 15:21:20 -0400185 <property name="has_tooltip">True</property>
186 <property name="tooltip-text" translatable="yes">Hang up</property>
Stepan Salenikovichdaf3cb32016-10-12 16:39:42 -0400187 <property name="image">image_hangup</property>
188 <property name="action-name">app.hangup</property>
189 </object>
190 <packing>
191 <property name="expand">True</property>
192 <property name="fill">True</property>
193 </packing>
194 </child>
195 <!-- end end button -->
Stepan Salenikovich69771842015-02-24 18:11:45 -0500196 </object>
197 <packing>
198 <property name="expand">False</property>
199 <property name="fill">True</property>
200 </packing>
201 </child>
Stepan Salenikovichdaf3cb32016-10-12 16:39:42 -0400202 <!-- end hbox action bar -->
Stepan Salenikovich69771842015-02-24 18:11:45 -0500203 </object>
204 </child>
Stepan Salenikovichdaf3cb32016-10-12 16:39:42 -0400205 <!-- end box call -->
206
Stepan Salenikovich69771842015-02-24 18:11:45 -0500207 </object>
Stepan Salenikovichdaf3cb32016-10-12 16:39:42 -0400208 <packing>
209 <property name="shrink">False</property>
210 <property name="resize">True</property>
211 </packing>
Stepan Salenikovich69771842015-02-24 18:11:45 -0500212 </child>
Stepan Salenikovichdaf3cb32016-10-12 16:39:42 -0400213 <!-- end of call frame -->
214
215 <!-- chat widget goes in this frame -->
216 <child>
217 <object class="GtkFrame" id="frame_chat">
AmarOkbf695b42017-07-17 09:55:05 -0400218 <property name="width_request">300</property>
Stepan Salenikovichdaf3cb32016-10-12 16:39:42 -0400219 <property name="visible">True</property>
220 <property name="shadow-type">GTK_SHADOW_NONE</property>
221 </object>
222 <packing>
223 <property name="shrink">False</property>
224 <property name="resize">True</property>
225 </packing>
226 </child>
227 <!-- end of chat frame -->
228
Stepan Salenikovich69771842015-02-24 18:11:45 -0500229 </object>
230 <packing>
Stepan Salenikovichdaf3cb32016-10-12 16:39:42 -0400231 <property name="expand">True</property>
Stepan Salenikovich69771842015-02-24 18:11:45 -0500232 <property name="fill">True</property>
233 </packing>
234 </child>
Stepan Salenikovichdaf3cb32016-10-12 16:39:42 -0400235 <!-- end of Paned container -->
Stepan Salenikovich69771842015-02-24 18:11:45 -0500236 </template>
237 <object class="GtkImage" id="image_accept">
238 <property name="visible">True</property>
239 <property name="resource">/cx/ring/RingGnome/accept</property>
240 </object>
241 <object class="GtkImage" id="image_reject">
242 <property name="visible">True</property>
AmarOke7c02972017-07-17 15:21:20 -0400243 <property name="resource">/cx/ring/RingGnome/call_end</property>
Stepan Salenikovich69771842015-02-24 18:11:45 -0500244 </object>
Stepan Salenikovich297b5d12015-02-26 17:51:13 -0500245 <object class="GtkImage" id="image_hangup">
246 <property name="visible">True</property>
AmarOke7c02972017-07-17 15:21:20 -0400247 <property name="resource">/cx/ring/RingGnome/call_end</property>
Stepan Salenikovich297b5d12015-02-26 17:51:13 -0500248 </object>
Stepan Salenikovich69771842015-02-24 18:11:45 -0500249</interface>