blob: b3be4b68ca3f005d09dd1aeca3a13312fc82c3b0 [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>
17
18 <!-- box call -->
Stepan Salenikovich69771842015-02-24 18:11:45 -050019 <child>
Stepan Salenikovichdaf3cb32016-10-12 16:39:42 -040020 <object class="GtkBox" id="vbox_call">
Stepan Salenikovich69771842015-02-24 18:11:45 -050021 <property name="visible">True</property>
Stepan Salenikovich69771842015-02-24 18:11:45 -050022 <property name="orientation">vertical</property>
Stepan Salenikovichdaf3cb32016-10-12 16:39:42 -040023
24 <!-- info vbox -->
Stepan Salenikovich69771842015-02-24 18:11:45 -050025 <child>
Stepan Salenikovichdaf3cb32016-10-12 16:39:42 -040026 <object class="GtkBox" id="vbox_incoming_info">
Stepan Salenikovich69771842015-02-24 18:11:45 -050027 <property name="visible">True</property>
Stepan Salenikovichdaf3cb32016-10-12 16:39:42 -040028 <property name="valign">center</property>
29 <property name="border_width">15</property>
30 <property name="orientation">vertical</property>
31 <property name="spacing">15</property>
32 <!-- image of contact -->
33 <child>
34 <object class="GtkImage" id="image_incoming">
35 <property name="visible">True</property>
36 <property name="can_focus">False</property>
37 <property name="halign">center</property>
38 <property name="xpad">10</property>
39 <property name="ypad">10</property>
40 </object>
41 <packing>
42 <property name="expand">False</property>
43 <property name="fill">True</property>
44 </packing>
45 </child>
46 <!-- end image of contact -->
47 <!-- name or other identity of contact -->
48 <child>
49 <object class="GtkLabel" id="label_name">
50 <property name="visible">True</property>
51 <property name="can_focus">True</property>
52 <property name="halign">center</property>
53 <property name="selectable">True</property>
54 <property name="ellipsize">end</property>
55 <attributes>
56 <attribute name="scale" value="1.5"/>
57 </attributes>
58 </object>
59 <packing>
60 <property name="expand">False</property>
61 <property name="fill">True</property>
62 </packing>
63 </child>
64 <!-- end name or other identity of contact -->
65 <!-- uri of contact -->
66 <child>
67 <object class="GtkLabel" id="label_uri">
68 <property name="visible">False</property>
69 <property name="can_focus">True</property>
70 <property name="halign">center</property>
71 <property name="selectable">True</property>
72 <property name="ellipsize">end</property>
73 <style>
74 <class name="dim-label"/>
75 </style>
76 </object>
77 <packing>
78 <property name="expand">False</property>
79 <property name="fill">True</property>
80 </packing>
81 </child>
82 <!-- end uri of contact -->
83 <!-- call initialization progress -->
84 <child>
85 <object class="GtkSpinner" id="spinner_status">
86 <property name="visible">False</property>
87 <property name="can_focus">False</property>
88 <property name="active">True</property>
89 <property name="height-request">25</property>
90 </object>
91 </child>
92 <child>
93 <object class="GtkLabel" id="placeholder">
94 <property name="visible">False</property>
95 <property name="can_focus">False</property>
96 <property name="height-request">25</property>
97 </object>
98 </child>
99 <!-- end of call initialization progress -->
100 <!-- call state info -->
101 <child>
102 <object class="GtkLabel" id="label_status">
103 <property name="visible">True</property>
104 <property name="can_focus">False</property>
105 <property name="label" translatable="yes">Incoming...</property>
106 <property name="ellipsize">end</property>
107 <style>
108 <class name="dim-label"/>
109 </style>
110 </object>
111 </child>
Stepan Salenikovich69771842015-02-24 18:11:45 -0500112 </object>
113 <packing>
114 <property name="expand">False</property>
115 <property name="fill">True</property>
116 </packing>
117 </child>
Stepan Salenikovichdaf3cb32016-10-12 16:39:42 -0400118 <!-- end info vbox -->
119
120 <!-- hbox action bar -->
Stepan Salenikovich69771842015-02-24 18:11:45 -0500121 <child>
Stepan Salenikovichdaf3cb32016-10-12 16:39:42 -0400122 <object class="GtkBox" id="hbox_action_bar">
Stepan Salenikovich69771842015-02-24 18:11:45 -0500123 <property name="visible">True</property>
Stepan Salenikovichdaf3cb32016-10-12 16:39:42 -0400124 <property name="orientation">horizontal</property>
125 <property name="spacing">20</property>
126 <property name="border_width">20</property>
127 <property name="valign">center</property>
128 <!-- accept button -->
129 <child>
130 <object class="GtkButton" id="button_accept_incoming">
131 <property name="visible">True</property>
132 <property name="can_focus">True</property>
133 <property name="label" translatable="yes"> Accept</property>
134 <property name="image">image_accept</property>
135 <property name="action-name">app.accept</property>
136 </object>
137 <packing>
138 <property name="expand">True</property>
139 <property name="fill">True</property>
140 </packing>
141 </child>
142 <!-- end accept button -->
143 <!-- reject button -->
144 <child>
145 <object class="GtkButton" id="button_reject_incoming">
146 <property name="visible">True</property>
147 <property name="can_focus">True</property>
148 <property name="label" translatable="yes"> Reject</property>
149 <property name="image">image_reject</property>
150 <property name="action-name">app.hangup</property>
151 </object>
152 <packing>
153 <property name="expand">True</property>
154 <property name="fill">True</property>
155 </packing>
156 </child>
157 <!-- end reject button -->
158 <!-- end button -->
159 <child>
160 <object class="GtkButton" id="button_end_call">
161 <property name="visible">False</property>
162 <property name="can_focus">True</property>
163 <property name="label" translatable="yes"> Hang-up</property>
164 <property name="image">image_hangup</property>
165 <property name="action-name">app.hangup</property>
166 </object>
167 <packing>
168 <property name="expand">True</property>
169 <property name="fill">True</property>
170 </packing>
171 </child>
172 <!-- end end button -->
Stepan Salenikovich69771842015-02-24 18:11:45 -0500173 </object>
174 <packing>
175 <property name="expand">False</property>
176 <property name="fill">True</property>
177 </packing>
178 </child>
Stepan Salenikovichdaf3cb32016-10-12 16:39:42 -0400179 <!-- end hbox action bar -->
Stepan Salenikovich69771842015-02-24 18:11:45 -0500180 </object>
181 </child>
Stepan Salenikovichdaf3cb32016-10-12 16:39:42 -0400182 <!-- end box call -->
183
Stepan Salenikovich69771842015-02-24 18:11:45 -0500184 </object>
Stepan Salenikovichdaf3cb32016-10-12 16:39:42 -0400185 <packing>
186 <property name="shrink">False</property>
187 <property name="resize">True</property>
188 </packing>
Stepan Salenikovich69771842015-02-24 18:11:45 -0500189 </child>
Stepan Salenikovichdaf3cb32016-10-12 16:39:42 -0400190 <!-- end of call frame -->
191
192 <!-- chat widget goes in this frame -->
193 <child>
194 <object class="GtkFrame" id="frame_chat">
195 <property name="visible">True</property>
196 <property name="shadow-type">GTK_SHADOW_NONE</property>
197 </object>
198 <packing>
199 <property name="shrink">False</property>
200 <property name="resize">True</property>
201 </packing>
202 </child>
203 <!-- end of chat frame -->
204
Stepan Salenikovich69771842015-02-24 18:11:45 -0500205 </object>
206 <packing>
Stepan Salenikovichdaf3cb32016-10-12 16:39:42 -0400207 <property name="expand">True</property>
Stepan Salenikovich69771842015-02-24 18:11:45 -0500208 <property name="fill">True</property>
209 </packing>
210 </child>
Stepan Salenikovichdaf3cb32016-10-12 16:39:42 -0400211 <!-- end of Paned container -->
Stepan Salenikovich69771842015-02-24 18:11:45 -0500212 </template>
213 <object class="GtkImage" id="image_accept">
214 <property name="visible">True</property>
215 <property name="resource">/cx/ring/RingGnome/accept</property>
216 </object>
217 <object class="GtkImage" id="image_reject">
218 <property name="visible">True</property>
219 <property name="resource">/cx/ring/RingGnome/reject</property>
220 </object>
Stepan Salenikovich297b5d12015-02-26 17:51:13 -0500221 <object class="GtkImage" id="image_hangup">
222 <property name="visible">True</property>
223 <property name="resource">/cx/ring/RingGnome/reject</property>
224 </object>
Stepan Salenikovich69771842015-02-24 18:11:45 -0500225</interface>