Updated Makefile.am for Latvian language help translation.
[gcalctool.git] / data / buttons-basic.ui
blob6a4b69f710b4a80747548822e8bb44042d8004ff
1 <?xml version="1.0" encoding="UTF-8"?>
2 <interface>
3 <requires lib="gtk+" version="2.16"/>
4 <!-- interface-naming-policy toplevel-contextual -->
5 <object class="GtkWindow" id="window1">
6 <child>
7 <object class="GtkTable" id="button_panel">
8 <property name="visible">True</property>
9 <property name="n_rows">4</property>
10 <property name="n_columns">6</property>
11 <property name="homogeneous">True</property>
12 <child>
13 <object class="GtkButton" id="calc_4_button">
14 <property name="label">4</property>
15 <property name="visible">True</property>
16 <property name="can_focus">True</property>
17 <property name="receives_default">False</property>
18 <property name="use_underline">True</property>
19 <property name="focus_on_click">False</property>
20 <signal name="clicked" handler="digit_cb"/>
21 </object>
22 <packing>
23 <property name="top_attach">1</property>
24 <property name="bottom_attach">2</property>
25 <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
26 <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
27 </packing>
28 </child>
29 <child>
30 <object class="GtkButton" id="calc_7_button">
31 <property name="label">7</property>
32 <property name="visible">True</property>
33 <property name="can_focus">True</property>
34 <property name="receives_default">False</property>
35 <property name="use_underline">True</property>
36 <property name="focus_on_click">False</property>
37 <signal name="clicked" handler="digit_cb"/>
38 </object>
39 <packing>
40 <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
41 <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
42 </packing>
43 </child>
44 <child>
45 <object class="GtkButton" id="calc_8_button">
46 <property name="label">8</property>
47 <property name="visible">True</property>
48 <property name="can_focus">True</property>
49 <property name="receives_default">False</property>
50 <property name="use_underline">True</property>
51 <property name="focus_on_click">False</property>
52 <signal name="clicked" handler="digit_cb"/>
53 </object>
54 <packing>
55 <property name="left_attach">1</property>
56 <property name="right_attach">2</property>
57 <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
58 <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
59 </packing>
60 </child>
61 <child>
62 <object class="GtkButton" id="calc_9_button">
63 <property name="label">9</property>
64 <property name="visible">True</property>
65 <property name="can_focus">True</property>
66 <property name="receives_default">False</property>
67 <property name="use_underline">True</property>
68 <property name="focus_on_click">False</property>
69 <signal name="clicked" handler="digit_cb"/>
70 </object>
71 <packing>
72 <property name="left_attach">2</property>
73 <property name="right_attach">3</property>
74 <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
75 <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
76 </packing>
77 </child>
78 <child>
79 <object class="GtkButton" id="calc_5_button">
80 <property name="label">5</property>
81 <property name="visible">True</property>
82 <property name="can_focus">True</property>
83 <property name="receives_default">False</property>
84 <property name="use_underline">True</property>
85 <property name="focus_on_click">False</property>
86 <signal name="clicked" handler="digit_cb"/>
87 </object>
88 <packing>
89 <property name="left_attach">1</property>
90 <property name="right_attach">2</property>
91 <property name="top_attach">1</property>
92 <property name="bottom_attach">2</property>
93 <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
94 <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
95 </packing>
96 </child>
97 <child>
98 <object class="GtkButton" id="calc_6_button">
99 <property name="label">6</property>
100 <property name="visible">True</property>
101 <property name="can_focus">True</property>
102 <property name="receives_default">False</property>
103 <property name="use_underline">True</property>
104 <property name="focus_on_click">False</property>
105 <signal name="clicked" handler="digit_cb"/>
106 </object>
107 <packing>
108 <property name="left_attach">2</property>
109 <property name="right_attach">3</property>
110 <property name="top_attach">1</property>
111 <property name="bottom_attach">2</property>
112 <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
113 <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
114 </packing>
115 </child>
116 <child>
117 <object class="GtkButton" id="calc_divide_button">
118 <property name="label">÷</property>
119 <property name="visible">True</property>
120 <property name="can_focus">True</property>
121 <property name="receives_default">False</property>
122 <property name="use_underline">True</property>
123 <property name="focus_on_click">False</property>
124 <signal name="clicked" handler="button_cb"/>
125 </object>
126 <packing>
127 <property name="left_attach">3</property>
128 <property name="right_attach">4</property>
129 <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
130 <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
131 </packing>
132 </child>
133 <child>
134 <object class="GtkButton" id="calc_1_button">
135 <property name="label">1</property>
136 <property name="visible">True</property>
137 <property name="can_focus">True</property>
138 <property name="receives_default">False</property>
139 <property name="use_underline">True</property>
140 <property name="focus_on_click">False</property>
141 <signal name="clicked" handler="digit_cb"/>
142 </object>
143 <packing>
144 <property name="top_attach">2</property>
145 <property name="bottom_attach">3</property>
146 <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
147 <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
148 </packing>
149 </child>
150 <child>
151 <object class="GtkButton" id="calc_2_button">
152 <property name="label">2</property>
153 <property name="visible">True</property>
154 <property name="can_focus">True</property>
155 <property name="receives_default">False</property>
156 <property name="use_underline">True</property>
157 <property name="focus_on_click">False</property>
158 <signal name="clicked" handler="digit_cb"/>
159 </object>
160 <packing>
161 <property name="left_attach">1</property>
162 <property name="right_attach">2</property>
163 <property name="top_attach">2</property>
164 <property name="bottom_attach">3</property>
165 <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
166 <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
167 </packing>
168 </child>
169 <child>
170 <object class="GtkButton" id="calc_0_button">
171 <property name="label">0</property>
172 <property name="width_request">50</property>
173 <property name="visible">True</property>
174 <property name="can_focus">True</property>
175 <property name="receives_default">False</property>
176 <property name="use_underline">True</property>
177 <property name="focus_on_click">False</property>
178 <signal name="clicked" handler="digit_cb"/>
179 </object>
180 <packing>
181 <property name="top_attach">3</property>
182 <property name="bottom_attach">4</property>
183 <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
184 <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
185 </packing>
186 </child>
187 <child>
188 <object class="GtkButton" id="calc_numeric_point_button">
189 <property name="label" comments="Label is set in gtk.c to comply with LC flags">.</property>
190 <property name="visible">True</property>
191 <property name="can_focus">True</property>
192 <property name="receives_default">False</property>
193 <property name="use_underline">True</property>
194 <property name="focus_on_click">False</property>
195 <signal name="clicked" handler="numeric_point_cb"/>
196 </object>
197 <packing>
198 <property name="left_attach">1</property>
199 <property name="right_attach">2</property>
200 <property name="top_attach">3</property>
201 <property name="bottom_attach">4</property>
202 <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
203 <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
204 </packing>
205 </child>
206 <child>
207 <object class="GtkButton" id="calc_percentage_button">
208 <property name="label">%</property>
209 <property name="visible">True</property>
210 <property name="can_focus">True</property>
211 <property name="receives_default">True</property>
212 <property name="use_underline">True</property>
213 <property name="focus_on_click">False</property>
214 <signal name="clicked" handler="button_cb"/>
215 </object>
216 <packing>
217 <property name="left_attach">2</property>
218 <property name="right_attach">3</property>
219 <property name="top_attach">3</property>
220 <property name="bottom_attach">4</property>
221 <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
222 <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
223 </packing>
224 </child>
225 <child>
226 <object class="GtkButton" id="calc_3_button">
227 <property name="label">3</property>
228 <property name="visible">True</property>
229 <property name="can_focus">True</property>
230 <property name="receives_default">False</property>
231 <property name="use_underline">True</property>
232 <property name="focus_on_click">False</property>
233 <signal name="clicked" handler="digit_cb"/>
234 </object>
235 <packing>
236 <property name="left_attach">2</property>
237 <property name="right_attach">3</property>
238 <property name="top_attach">2</property>
239 <property name="bottom_attach">3</property>
240 <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
241 <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
242 </packing>
243 </child>
244 <child>
245 <object class="GtkButton" id="calc_multiply_button">
246 <property name="label">×</property>
247 <property name="visible">True</property>
248 <property name="can_focus">True</property>
249 <property name="receives_default">False</property>
250 <property name="use_underline">True</property>
251 <property name="focus_on_click">False</property>
252 <signal name="clicked" handler="button_cb"/>
253 </object>
254 <packing>
255 <property name="left_attach">3</property>
256 <property name="right_attach">4</property>
257 <property name="top_attach">1</property>
258 <property name="bottom_attach">2</property>
259 <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
260 <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
261 </packing>
262 </child>
263 <child>
264 <object class="GtkButton" id="calc_subtract_button">
265 <property name="label"></property>
266 <property name="visible">True</property>
267 <property name="can_focus">True</property>
268 <property name="receives_default">False</property>
269 <property name="use_underline">True</property>
270 <property name="focus_on_click">False</property>
271 <signal name="clicked" handler="subtract_cb"/>
272 </object>
273 <packing>
274 <property name="left_attach">3</property>
275 <property name="right_attach">4</property>
276 <property name="top_attach">2</property>
277 <property name="bottom_attach">3</property>
278 <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
279 <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
280 </packing>
281 </child>
282 <child>
283 <object class="GtkButton" id="calc_add_button">
284 <property name="label">+</property>
285 <property name="visible">True</property>
286 <property name="can_focus">True</property>
287 <property name="receives_default">False</property>
288 <property name="use_underline">True</property>
289 <property name="focus_on_click">False</property>
290 <signal name="clicked" handler="button_cb"/>
291 </object>
292 <packing>
293 <property name="left_attach">3</property>
294 <property name="right_attach">4</property>
295 <property name="top_attach">3</property>
296 <property name="bottom_attach">4</property>
297 <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
298 <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
299 </packing>
300 </child>
301 <child>
302 <object class="GtkButton" id="calc_result_button">
303 <property name="label" translatable="yes" comments="Label on the solve button (clicking this solves the displayed calculation)">=</property>
304 <property name="visible">True</property>
305 <property name="can_focus">True</property>
306 <property name="receives_default">False</property>
307 <property name="use_underline">True</property>
308 <property name="focus_on_click">False</property>
309 <signal name="clicked" handler="solve_cb"/>
310 </object>
311 <packing>
312 <property name="left_attach">4</property>
313 <property name="right_attach">6</property>
314 <property name="top_attach">3</property>
315 <property name="bottom_attach">4</property>
316 <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
317 <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
318 </packing>
319 </child>
320 <child>
321 <object class="GtkButton" id="calc_start_group_button">
322 <property name="label">(</property>
323 <property name="visible">True</property>
324 <property name="can_focus">True</property>
325 <property name="receives_default">True</property>
326 <property name="use_underline">True</property>
327 <property name="focus_on_click">False</property>
328 <signal name="clicked" handler="button_cb"/>
329 </object>
330 <packing>
331 <property name="left_attach">4</property>
332 <property name="right_attach">5</property>
333 <property name="top_attach">1</property>
334 <property name="bottom_attach">2</property>
335 <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
336 <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
337 </packing>
338 </child>
339 <child>
340 <object class="GtkButton" id="calc_end_group_button">
341 <property name="label">)</property>
342 <property name="visible">True</property>
343 <property name="can_focus">True</property>
344 <property name="receives_default">True</property>
345 <property name="use_underline">True</property>
346 <property name="focus_on_click">False</property>
347 <signal name="clicked" handler="button_cb"/>
348 </object>
349 <packing>
350 <property name="left_attach">5</property>
351 <property name="right_attach">6</property>
352 <property name="top_attach">1</property>
353 <property name="bottom_attach">2</property>
354 <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
355 <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
356 </packing>
357 </child>
358 <child>
359 <object class="GtkButton" id="calc_clear_button">
360 <property name="visible">True</property>
361 <property name="can_focus">True</property>
362 <property name="receives_default">True</property>
363 <property name="use_underline">True</property>
364 <property name="focus_on_click">False</property>
365 <signal name="clicked" handler="clear_cb"/>
366 <child>
367 <object class="GtkImage" id="image2">
368 <property name="visible">True</property>
369 <property name="stock">gtk-clear</property>
370 </object>
371 </child>
372 </object>
373 <packing>
374 <property name="left_attach">5</property>
375 <property name="right_attach">6</property>
376 <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
377 <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
378 </packing>
379 </child>
380 <child>
381 <object class="GtkButton" id="calc_square_root_button">
382 <property name="label"></property>
383 <property name="visible">True</property>
384 <property name="can_focus">True</property>
385 <property name="receives_default">True</property>
386 <property name="use_underline">True</property>
387 <property name="focus_on_click">False</property>
388 <signal name="clicked" handler="button_cb"/>
389 </object>
390 <packing>
391 <property name="left_attach">5</property>
392 <property name="right_attach">6</property>
393 <property name="top_attach">2</property>
394 <property name="bottom_attach">3</property>
395 <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
396 <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
397 </packing>
398 </child>
399 <child>
400 <object class="GtkButton" id="calc_x_squared_button">
401 <property name="visible">True</property>
402 <property name="can_focus">True</property>
403 <property name="receives_default">True</property>
404 <property name="focus_on_click">False</property>
405 <child internal-child="accessible">
406 <object class="AtkObject" id="calc_x_squared_button-atkobject">
407 <property name="AtkObject::accessible-name" translatable="yes" comments="Accessible name for the exponentiation (x to the power of y) button">Exponent</property>
408 </object>
409 </child>
410 <signal name="clicked" handler="button_cb"/>
411 <child>
412 <object class="GtkLabel" id="x_squared_label">
413 <property name="visible">True</property>
414 <property name="label">&lt;i&gt;x&lt;/i&gt;&lt;sup&gt;&lt;i&gt;2&lt;/i&gt;&lt;/sup&gt;</property>
415 <property name="use_markup">True</property>
416 </object>
417 </child>
418 </object>
419 <packing>
420 <property name="left_attach">4</property>
421 <property name="right_attach">5</property>
422 <property name="top_attach">2</property>
423 <property name="bottom_attach">3</property>
424 <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
425 <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
426 </packing>
427 </child>
428 <child>
429 <object class="GtkButton" id="calc_undo_button">
430 <property name="visible">True</property>
431 <property name="can_focus">True</property>
432 <property name="receives_default">True</property>
433 <property name="use_underline">True</property>
434 <property name="focus_on_click">False</property>
435 <signal name="clicked" handler="undo_cb"/>
436 <child>
437 <object class="GtkImage" id="image1">
438 <property name="visible">True</property>
439 <property name="stock">gtk-undo</property>
440 </object>
441 </child>
442 </object>
443 <packing>
444 <property name="left_attach">4</property>
445 <property name="right_attach">5</property>
446 <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
447 <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
448 </packing>
449 </child>
450 </object>
451 </child>
452 </object>
453 </interface>