doc: added missing adg-rdim.c to POTFILES.in
[adg.git] / demo / adg-demo.ui.in
blobe3d2851a9328ba352ddd81b150b6b670e8bf4d58
1 <?xml version="1.0"?>
2 <interface>
3 <!-- interface-requires adg 1.0 -->
4 <!-- interface-requires gtk+ 2.12 -->
5 <!-- interface-naming-policy toplevel-contextual -->
6 <object class="GtkWindow" id="wndMain">
7 <property name="border_width">6</property>
8 <property name="title" translatable="yes">adg-demo - Demostration program</property>
9 <property name="window_position">center</property>
10 <child>
11 <object class="GtkVBox" id="mainBox">
12 <property name="visible">True</property>
13 <child>
14 <object class="GtkScrolledWindow" id="scrollCanvas">
15 <property name="visible">True</property>
16 <property name="hscrollbar-policy">automatic</property>
17 <property name="vscrollbar-policy">automatic</property>
18 <child>
19 <object class="AdgGtkLayout" id="mainCanvas">
20 <property name="visible">True</property>
21 </object>
22 </child>
23 </object>
24 <packing>
25 <property name="position">0</property>
26 </packing>
27 </child>
28 <child>
29 <object class="GtkLabel" id="noteLabel">
30 <property name="xalign">0</property>
31 <property name="xpad">6</property>
32 <property name="width-chars">-1</property>
33 <property name="label" translatable="yes">
34 Rotate the mouse wheel to zoom in and out, drag the mouse with the wheel pressed to pan.
35 Keep the shift key pressed while zooming and panning with the mouse to do the same in global space.
36 Left click to restore paper zoom and position, right click to autoscale and center the drawing.
37 </property>
38 </object>
39 <packing>
40 <property name="fill">True</property>
41 <property name="expand">False</property>
42 <property name="position">1</property>
43 </packing>
44 </child>
45 <child>
46 <object class="GtkHButtonBox" id="mainButtons">
47 <property name="visible">True</property>
48 <property name="border_width">6</property>
49 <property name="spacing">12</property>
50 <property name="layout_style">end</property>
51 <child>
52 <object class="GtkButton" id="mainAbout">
53 <property name="label">gtk-about</property>
54 <property name="visible">True</property>
55 <property name="can_focus">True</property>
56 <property name="receives_default">True</property>
57 <property name="use_stock">True</property>
58 </object>
59 <packing>
60 <property name="expand">False</property>
61 <property name="fill">False</property>
62 <property name="position">0</property>
63 <property name="secondary">True</property>
64 </packing>
65 </child>
66 <child>
67 <object class="GtkButton" id="mainEdit">
68 <property name="label">gtk-edit</property>
69 <property name="visible">True</property>
70 <property name="can_focus">True</property>
71 <property name="receives_default">True</property>
72 <property name="use_stock">True</property>
73 </object>
74 <packing>
75 <property name="expand">False</property>
76 <property name="fill">False</property>
77 <property name="position">1</property>
78 </packing>
79 </child>
80 <child>
81 <object class="GtkButton" id="mainSaveAs">
82 <property name="label">gtk-save-as</property>
83 <property name="visible">True</property>
84 <property name="can_focus">True</property>
85 <property name="receives_default">True</property>
86 <property name="use_stock">True</property>
87 </object>
88 <packing>
89 <property name="expand">False</property>
90 <property name="fill">False</property>
91 <property name="position">2</property>
92 </packing>
93 </child>
94 <child>
95 <object class="GtkButton" id="mainPrint">
96 <property name="label">gtk-print</property>
97 <property name="visible">True</property>
98 <property name="can_focus">True</property>
99 <property name="receives_default">True</property>
100 <property name="use_stock">True</property>
101 </object>
102 <packing>
103 <property name="expand">False</property>
104 <property name="fill">False</property>
105 <property name="position">3</property>
106 </packing>
107 </child>
108 <child>
109 <object class="GtkButton" id="mainQuit">
110 <property name="label">gtk-quit</property>
111 <property name="visible">True</property>
112 <property name="can_focus">True</property>
113 <property name="receives_default">True</property>
114 <property name="use_stock">True</property>
115 </object>
116 <packing>
117 <property name="expand">False</property>
118 <property name="fill">False</property>
119 <property name="pack_type">end</property>
120 <property name="position">4</property>
121 </packing>
122 </child>
123 </object>
124 <packing>
125 <property name="expand">False</property>
126 <property name="position">2</property>
127 </packing>
128 </child>
129 </object>
130 </child>
131 </object>
132 <object class="GtkAboutDialog" id="wndAbout">
133 <property name="border_width">6</property>
134 <property name="title" translatable="yes">About adg-demo</property>
135 <property name="resizable">False</property>
136 <property name="modal">True</property>
137 <property name="window_position">center</property>
138 <property name="destroy_with_parent">True</property>
139 <property name="icon_name">dialog-information</property>
140 <property name="type_hint">dialog</property>
141 <property name="skip_taskbar_hint">True</property>
142 <property name="skip_pager_hint">True</property>
143 <property name="transient_for">wndMain</property>
144 <property name="program_name">adg-demo</property>
145 <property name="version">@PACKAGE_VERSION@</property>
146 <property name="copyright" translatable="yes">Copyright (C) 2007,2008,2009,2010,2011,2012 Nicola Fontana</property>
147 <property name="comments" translatable="yes">Demonstration program for the ADG library</property>
148 <property name="website">@PACKAGE_URL@</property>
149 <property name="license" translatable="yes">The ADG library is free software; you can redistribute it and/or
150 modify it under the terms of the GNU Lesser General Public
151 License as published by the Free Software Foundation; either
152 version 2 of the License, or (at your option) any later version.
154 This library is distributed in the hope that it will be useful,
155 but WITHOUT ANY WARRANTY; without even the implied warranty
156 of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
157 See the GNU Lesser General Public License for more details.
159 You should have received a copy of the GNU Lesser General Public
160 License along with this library; if not, write to the
161 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
162 Boston, MA 02110-1301, USA.</property>
163 <property name="authors">Nicola Fontana &lt;ntd at entidi.it&gt;</property>
164 <child internal-child="vbox">
165 <object class="GtkVBox" id="aboutBox">
166 <property name="spacing">2</property>
167 <child internal-child="action_area">
168 <object class="GtkHButtonBox" id="aboutButtons">
169 <property name="layout_style">end</property>
170 </object>
171 <packing>
172 <property name="expand">False</property>
173 <property name="pack_type">end</property>
174 <property name="position">0</property>
175 </packing>
176 </child>
177 </object>
178 </child>
179 </object>
180 <object class="GtkDialog" id="wndEdit">
181 <property name="border_width">6</property>
182 <property name="title" translatable="yes">Customize drawing</property>
183 <property name="resizable">False</property>
184 <property name="modal">True</property>
185 <property name="window_position">none</property>
186 <property name="destroy_with_parent">True</property>
187 <property name="type_hint">normal</property>
188 <property name="skip_taskbar_hint">True</property>
189 <property name="skip_pager_hint">True</property>
190 <property name="transient_for">wndMain</property>
191 <child internal-child="vbox">
192 <object class="GtkVBox" id="boxEdit">
193 <property name="visible">True</property>
194 <property name="spacing">6</property>
195 <child>
196 <object class="GtkNotebook" id="nbMain">
197 <property name="visible">True</property>
198 <property name="can-focus">True</property>
199 <child>
200 <object class="GtkVBox" id="boxDimensions">
201 <property name="visible">True</property>
202 <child>
203 <object class="GtkFrame" id="editBody">
204 <property name="visible">True</property>
205 <property name="border_width">3</property>
206 <property name="label_xalign">0</property>
207 <property name="shadow_type">none</property>
208 <child>
209 <object class="GtkTable" id="editBodyTable">
210 <property name="visible">True</property>
211 <property name="border_width">3</property>
212 <property name="n_rows">4</property>
213 <property name="n_columns">5</property>
214 <property name="row_spacing">6</property>
215 <child>
216 <object class="GtkSpinButton" id="editD1">
217 <property name="visible">True</property>
218 <property name="can_focus">True</property>
219 <property name="is-focus">True</property>
220 <property name="has-focus">True</property>
221 <property name="adjustment">adjD1</property>
222 <property name="digits">1</property>
223 <property name="numeric">True</property>
224 </object>
225 <packing>
226 <property name="left_attach">1</property>
227 <property name="right_attach">2</property>
228 </packing>
229 </child>
230 <child>
231 <object class="GtkLabel" id="editD1Label">
232 <property name="visible">True</property>
233 <property name="xalign">0</property>
234 <property name="label" translatable="yes">_Diameter rail:</property>
235 <property name="use_underline">True</property>
236 <property name="mnemonic_widget">editD1</property>
237 </object>
238 <packing>
239 <property name="x_options">GTK_FILL</property>
240 <property name="x_padding">12</property>
241 </packing>
242 </child>
243 <child>
244 <object class="GtkSpinButton" id="editA">
245 <property name="visible">True</property>
246 <property name="can_focus">True</property>
247 <property name="adjustment">adjA</property>
248 <property name="digits">1</property>
249 <property name="numeric">True</property>
250 </object>
251 <packing>
252 <property name="left_attach">4</property>
253 <property name="right_attach">5</property>
254 </packing>
255 </child>
256 <child>
257 <object class="GtkLabel" id="editALabel">
258 <property name="visible">True</property>
259 <property name="xalign">0</property>
260 <property name="xpad">12</property>
261 <property name="label" translatable="yes">_Total length:</property>
262 <property name="use_underline">True</property>
263 <property name="mnemonic_widget">editA</property>
264 </object>
265 <packing>
266 <property name="left_attach">3</property>
267 <property name="right_attach">4</property>
268 <property name="x_options">GTK_FILL</property>
269 </packing>
270 </child>
271 <child>
272 <object class="GtkLabel" id="editBLabel">
273 <property name="visible">True</property>
274 <property name="xalign">0</property>
275 <property name="xpad">12</property>
276 <property name="label" translatable="yes">_B quote:</property>
277 <property name="use_underline">True</property>
278 <property name="mnemonic_widget">editB</property>
279 </object>
280 <packing>
281 <property name="left_attach">3</property>
282 <property name="right_attach">4</property>
283 <property name="top_attach">3</property>
284 <property name="bottom_attach">4</property>
285 <property name="x_options">GTK_FILL</property>
286 </packing>
287 </child>
288 <child>
289 <object class="GtkSpinButton" id="editB">
290 <property name="visible">True</property>
291 <property name="can_focus">True</property>
292 <property name="adjustment">adjB</property>
293 <property name="digits">1</property>
294 <property name="numeric">True</property>
295 </object>
296 <packing>
297 <property name="left_attach">4</property>
298 <property name="right_attach">5</property>
299 <property name="top_attach">3</property>
300 <property name="bottom_attach">4</property>
301 </packing>
302 </child>
303 <child>
304 <object class="GtkLabel" id="editD2Label">
305 <property name="visible">True</property>
306 <property name="xalign">0</property>
307 <property name="xpad">12</property>
308 <property name="label" translatable="yes">Diameter _2:</property>
309 <property name="use_underline">True</property>
310 <property name="mnemonic_widget">editD2</property>
311 </object>
312 <packing>
313 <property name="top_attach">1</property>
314 <property name="bottom_attach">2</property>
315 <property name="x_options">GTK_FILL</property>
316 </packing>
317 </child>
318 <child>
319 <object class="GtkSpinButton" id="editD2">
320 <property name="visible">True</property>
321 <property name="can_focus">True</property>
322 <property name="adjustment">adjD2</property>
323 <property name="digits">1</property>
324 <property name="numeric">True</property>
325 </object>
326 <packing>
327 <property name="left_attach">1</property>
328 <property name="right_attach">2</property>
329 <property name="top_attach">1</property>
330 <property name="bottom_attach">2</property>
331 </packing>
332 </child>
333 <child>
334 <object class="GtkLabel" id="editLD2Label">
335 <property name="visible">True</property>
336 <property name="xalign">0</property>
337 <property name="xpad">12</property>
338 <property name="label" translatable="yes">Length 2:</property>
339 <property name="use_underline">True</property>
340 <property name="mnemonic_widget">editLD2</property>
341 </object>
342 <packing>
343 <property name="left_attach">3</property>
344 <property name="right_attach">4</property>
345 <property name="top_attach">1</property>
346 <property name="bottom_attach">2</property>
347 <property name="x_options">GTK_FILL</property>
348 </packing>
349 </child>
350 <child>
351 <object class="GtkSpinButton" id="editLD2">
352 <property name="visible">True</property>
353 <property name="can_focus">True</property>
354 <property name="adjustment">adjLD2</property>
355 <property name="digits">1</property>
356 <property name="numeric">True</property>
357 </object>
358 <packing>
359 <property name="left_attach">4</property>
360 <property name="right_attach">5</property>
361 <property name="top_attach">1</property>
362 <property name="bottom_attach">2</property>
363 </packing>
364 </child>
365 <child>
366 <object class="GtkLabel" id="editD3Label">
367 <property name="visible">True</property>
368 <property name="xalign">0</property>
369 <property name="xpad">12</property>
370 <property name="label" translatable="yes">Diameter _3:</property>
371 <property name="use_underline">True</property>
372 <property name="mnemonic_widget">editD3</property>
373 </object>
374 <packing>
375 <property name="top_attach">2</property>
376 <property name="bottom_attach">3</property>
377 <property name="x_options">GTK_FILL</property>
378 </packing>
379 </child>
380 <child>
381 <object class="GtkLabel" id="editD4Label">
382 <property name="visible">True</property>
383 <property name="xalign">0</property>
384 <property name="xpad">12</property>
385 <property name="label" translatable="yes">Diameter _4:</property>
386 <property name="use_underline">True</property>
387 <property name="mnemonic_widget">editD4</property>
388 </object>
389 <packing>
390 <property name="top_attach">3</property>
391 <property name="bottom_attach">4</property>
392 <property name="x_options">GTK_FILL</property>
393 </packing>
394 </child>
395 <child>
396 <object class="GtkSpinButton" id="editD3">
397 <property name="visible">True</property>
398 <property name="can_focus">True</property>
399 <property name="adjustment">adjD3</property>
400 <property name="digits">1</property>
401 <property name="numeric">True</property>
402 </object>
403 <packing>
404 <property name="left_attach">1</property>
405 <property name="right_attach">2</property>
406 <property name="top_attach">2</property>
407 <property name="bottom_attach">3</property>
408 </packing>
409 </child>
410 <child>
411 <object class="GtkSpinButton" id="editD4">
412 <property name="visible">True</property>
413 <property name="can_focus">True</property>
414 <property name="adjustment">adjD4</property>
415 <property name="digits">1</property>
416 <property name="numeric">True</property>
417 </object>
418 <packing>
419 <property name="left_attach">1</property>
420 <property name="right_attach">2</property>
421 <property name="top_attach">3</property>
422 <property name="bottom_attach">4</property>
423 </packing>
424 </child>
425 <child>
426 <object class="GtkLabel" id="editLD3Label">
427 <property name="visible">True</property>
428 <property name="xalign">0</property>
429 <property name="xpad">12</property>
430 <property name="label" translatable="yes">Length 3:</property>
431 <property name="use_underline">True</property>
432 <property name="mnemonic_widget">editLD3</property>
433 </object>
434 <packing>
435 <property name="left_attach">3</property>
436 <property name="right_attach">4</property>
437 <property name="top_attach">2</property>
438 <property name="bottom_attach">3</property>
439 <property name="x_options">GTK_FILL</property>
440 </packing>
441 </child>
442 <child>
443 <object class="GtkSpinButton" id="editLD3">
444 <property name="visible">True</property>
445 <property name="can_focus">True</property>
446 <property name="adjustment">adjLD3</property>
447 <property name="digits">1</property>
448 <property name="numeric">True</property>
449 </object>
450 <packing>
451 <property name="left_attach">4</property>
452 <property name="right_attach">5</property>
453 <property name="top_attach">2</property>
454 <property name="bottom_attach">3</property>
455 </packing>
456 </child>
457 <child>
458 <placeholder/>
459 </child>
460 <child>
461 <placeholder/>
462 </child>
463 <child>
464 <placeholder/>
465 </child>
466 <child>
467 <placeholder/>
468 </child>
469 </object>
470 </child>
471 <child type="label">
472 <object class="GtkLabel" id="editBodyLabel">
473 <property name="visible">True</property>
474 <property name="xalign">0</property>
475 <property name="yalign">0</property>
476 <property name="xpad">3</property>
477 <property name="ypad">3</property>
478 <property name="label" translatable="yes">&lt;b&gt;Body data&lt;/b&gt;</property>
479 <property name="use_markup">True</property>
480 <property name="single_line_mode">True</property>
481 </object>
482 </child>
483 </object>
484 <packing>
485 <property name="expand">False</property>
486 <property name="position">0</property>
487 </packing>
488 </child>
489 <child>
490 <object class="GtkFrame" id="editHead">
491 <property name="visible">True</property>
492 <property name="border_width">3</property>
493 <property name="label_xalign">0</property>
494 <property name="shadow_type">none</property>
495 <child>
496 <object class="GtkTable" id="editHeadTable">
497 <property name="visible">True</property>
498 <property name="border_width">3</property>
499 <property name="n_rows">3</property>
500 <property name="n_columns">5</property>
501 <property name="row_spacing">6</property>
502 <child>
503 <object class="GtkLabel" id="editD6Label">
504 <property name="visible">True</property>
505 <property name="xalign">0</property>
506 <property name="xpad">12</property>
507 <property name="label" translatable="yes">_Head diameter:</property>
508 <property name="use_underline">True</property>
509 <property name="mnemonic_widget">editD6</property>
510 </object>
511 <packing>
512 <property name="x_options">GTK_FILL</property>
513 </packing>
514 </child>
515 <child>
516 <object class="GtkSpinButton" id="editD6">
517 <property name="visible">True</property>
518 <property name="can_focus">True</property>
519 <property name="adjustment">adjD6</property>
520 <property name="digits">1</property>
521 <property name="numeric">True</property>
522 </object>
523 <packing>
524 <property name="left_attach">1</property>
525 <property name="right_attach">2</property>
526 </packing>
527 </child>
528 <child>
529 <object class="GtkLabel" id="editCLabel">
530 <property name="visible">True</property>
531 <property name="xalign">0</property>
532 <property name="xpad">12</property>
533 <property name="label" translatable="yes">Head tickness:</property>
534 <property name="use_underline">True</property>
535 <property name="mnemonic_widget">editC</property>
536 </object>
537 <packing>
538 <property name="left_attach">3</property>
539 <property name="right_attach">4</property>
540 <property name="x_options">GTK_FILL</property>
541 </packing>
542 </child>
543 <child>
544 <object class="GtkSpinButton" id="editC">
545 <property name="visible">True</property>
546 <property name="can_focus">True</property>
547 <property name="adjustment">adjC</property>
548 <property name="digits">1</property>
549 <property name="numeric">True</property>
550 </object>
551 <packing>
552 <property name="left_attach">4</property>
553 <property name="right_attach">5</property>
554 </packing>
555 </child>
556 <child>
557 <object class="GtkLabel" id="editD7Label">
558 <property name="visible">True</property>
559 <property name="xalign">0</property>
560 <property name="xpad">12</property>
561 <property name="label" translatable="yes">Tablet diameter:</property>
562 <property name="use_underline">True</property>
563 <property name="mnemonic_widget">editD7</property>
564 </object>
565 <packing>
566 <property name="left_attach">3</property>
567 <property name="right_attach">4</property>
568 <property name="top_attach">1</property>
569 <property name="bottom_attach">2</property>
570 <property name="x_options">GTK_FILL</property>
571 </packing>
572 </child>
573 <child>
574 <object class="GtkSpinButton" id="editD7">
575 <property name="visible">True</property>
576 <property name="can_focus">True</property>
577 <property name="adjustment">adjD7</property>
578 <property name="digits">1</property>
579 <property name="numeric">True</property>
580 </object>
581 <packing>
582 <property name="left_attach">4</property>
583 <property name="right_attach">5</property>
584 <property name="top_attach">1</property>
585 <property name="bottom_attach">2</property>
586 </packing>
587 </child>
588 <child>
589 <object class="GtkRadioButton" id="optChamferedHead">
590 <property name="label" translatable="yes">Cham_fered head</property>
591 <property name="visible">True</property>
592 <property name="can_focus">True</property>
593 <property name="use_underline">True</property>
594 <property name="draw_indicator">True</property>
595 </object>
596 <packing>
597 <property name="right_attach">3</property>
598 <property name="top_attach">1</property>
599 <property name="bottom_attach">2</property>
600 <property name="x_padding">12</property>
601 </packing>
602 </child>
603 <child>
604 <object class="GtkRadioButton" id="optRoundedHead">
605 <property name="label" translatable="yes">_Rounded head</property>
606 <property name="visible">True</property>
607 <property name="can_focus">True</property>
608 <property name="use_underline">True</property>
609 <property name="active">True</property>
610 <property name="draw_indicator">True</property>
611 <property name="group">optChamferedHead</property>
612 </object>
613 <packing>
614 <property name="right_attach">3</property>
615 <property name="top_attach">2</property>
616 <property name="bottom_attach">3</property>
617 <property name="x_padding">12</property>
618 </packing>
619 </child>
620 <child>
621 <object class="GtkLabel" id="editRD6Label">
622 <property name="visible">True</property>
623 <property name="sensitive">False</property>
624 <property name="xalign">0</property>
625 <property name="xpad">12</property>
626 <property name="label" translatable="yes">Head radius:</property>
627 <property name="use_underline">True</property>
628 <property name="mnemonic_widget">editRD6</property>
629 </object>
630 <packing>
631 <property name="left_attach">3</property>
632 <property name="right_attach">4</property>
633 <property name="top_attach">2</property>
634 <property name="bottom_attach">3</property>
635 <property name="x_options">GTK_FILL</property>
636 </packing>
637 </child>
638 <child>
639 <object class="GtkSpinButton" id="editRD6">
640 <property name="visible">True</property>
641 <property name="sensitive">False</property>
642 <property name="can_focus">True</property>
643 <property name="adjustment">adjRD6</property>
644 <property name="numeric">True</property>
645 </object>
646 <packing>
647 <property name="left_attach">4</property>
648 <property name="right_attach">5</property>
649 <property name="top_attach">2</property>
650 <property name="bottom_attach">3</property>
651 </packing>
652 </child>
653 <child>
654 <placeholder/>
655 </child>
656 </object>
657 </child>
658 <child type="label">
659 <object class="GtkLabel" id="editHeadLabel">
660 <property name="visible">True</property>
661 <property name="xalign">0</property>
662 <property name="yalign">0</property>
663 <property name="xpad">3</property>
664 <property name="ypad">3</property>
665 <property name="label" translatable="yes">&lt;b&gt;Head data&lt;/b&gt;</property>
666 <property name="use_markup">True</property>
667 <property name="single_line_mode">True</property>
668 </object>
669 </child>
670 </object>
671 <packing>
672 <property name="expand">False</property>
673 <property name="position">1</property>
674 </packing>
675 </child>
676 <child>
677 <object class="GtkFrame" id="editHole">
678 <property name="visible">True</property>
679 <property name="border_width">3</property>
680 <property name="label_xalign">0</property>
681 <property name="shadow_type">none</property>
682 <child>
683 <object class="GtkTable" id="editHoleTable">
684 <property name="visible">True</property>
685 <property name="border_width">3</property>
686 <property name="n_rows">1</property>
687 <property name="n_columns">5</property>
688 <property name="row_spacing">6</property>
689 <child>
690 <object class="GtkLabel" id="editDHOLELabel">
691 <property name="visible">True</property>
692 <property name="xalign">0</property>
693 <property name="xpad">12</property>
694 <property name="label" translatable="yes">Hole diameter:</property>
695 <property name="use_underline">True</property>
696 <property name="mnemonic_widget">editD1</property>
697 </object>
698 <packing>
699 <property name="x_options">GTK_FILL</property>
700 </packing>
701 </child>
702 <child>
703 <object class="GtkSpinButton" id="editDHOLE">
704 <property name="visible">True</property>
705 <property name="can_focus">True</property>
706 <property name="adjustment">adjDHOLE</property>
707 <property name="digits">1</property>
708 <property name="numeric">True</property>
709 </object>
710 <packing>
711 <property name="left_attach">1</property>
712 <property name="right_attach">2</property>
713 </packing>
714 </child>
715 <child>
716 <object class="GtkLabel" id="editLHOLELabel">
717 <property name="visible">True</property>
718 <property name="xalign">0</property>
719 <property name="xpad">12</property>
720 <property name="label" translatable="yes">Hole depth:</property>
721 <property name="use_underline">True</property>
722 <property name="mnemonic_widget">editLHOLE</property>
723 </object>
724 <packing>
725 <property name="left_attach">3</property>
726 <property name="right_attach">4</property>
727 <property name="x_options">GTK_FILL</property>
728 </packing>
729 </child>
730 <child>
731 <object class="GtkSpinButton" id="editLHOLE">
732 <property name="visible">True</property>
733 <property name="can_focus">True</property>
734 <property name="adjustment">adjLHOLE</property>
735 <property name="digits">1</property>
736 <property name="numeric">True</property>
737 </object>
738 <packing>
739 <property name="left_attach">4</property>
740 <property name="right_attach">5</property>
741 </packing>
742 </child>
743 </object>
744 </child>
745 <child type="label">
746 <object class="GtkLabel" id="editHoleLabel">
747 <property name="visible">True</property>
748 <property name="xalign">0</property>
749 <property name="yalign">0</property>
750 <property name="xpad">3</property>
751 <property name="ypad">3</property>
752 <property name="label" translatable="yes">&lt;b&gt;Rear hole data&lt;/b&gt;</property>
753 <property name="use_markup">True</property>
754 <property name="single_line_mode">True</property>
755 </object>
756 </child>
757 </object>
758 <packing>
759 <property name="expand">False</property>
760 <property name="position">2</property>
761 </packing>
762 </child>
763 <child>
764 <object class="GtkExpander" id="editAdditional">
765 <property name="visible">True</property>
766 <property name="can_focus">True</property>
767 <property name="border_width">6</property>
768 <property name="use_markup">True</property>
769 <child>
770 <object class="GtkTable" id="editAdditionalTable">
771 <property name="visible">True</property>
772 <property name="border_width">3</property>
773 <property name="n_rows">3</property>
774 <property name="n_columns">5</property>
775 <property name="row_spacing">6</property>
776 <child>
777 <object class="GtkCheckButton" id="GROOVE">
778 <property name="label" translatable="yes">Groove machining</property>
779 <property name="visible">True</property>
780 <property name="can_focus">True</property>
781 <property name="draw_indicator">True</property>
782 </object>
783 <packing>
784 <property name="right_attach">3</property>
785 <property name="top_attach">1</property>
786 <property name="bottom_attach">2</property>
787 <property name="x_padding">12</property>
788 </packing>
789 </child>
790 <child>
791 <object class="GtkLabel" id="editZGROOVELabel">
792 <property name="visible">True</property>
793 <property name="sensitive">False</property>
794 <property name="xalign">0</property>
795 <property name="xpad">12</property>
796 <property name="label" translatable="yes">Groove position:</property>
797 <property name="use_underline">True</property>
798 <property name="mnemonic_widget">editZGROOVE</property>
799 </object>
800 <packing>
801 <property name="left_attach">3</property>
802 <property name="right_attach">4</property>
803 <property name="top_attach">1</property>
804 <property name="bottom_attach">2</property>
805 <property name="x_options">GTK_FILL</property>
806 </packing>
807 </child>
808 <child>
809 <object class="GtkSpinButton" id="editZGROOVE">
810 <property name="visible">True</property>
811 <property name="sensitive">False</property>
812 <property name="can_focus">True</property>
813 <property name="adjustment">adjZGROOVE</property>
814 <property name="digits">1</property>
815 <property name="numeric">True</property>
816 </object>
817 <packing>
818 <property name="left_attach">4</property>
819 <property name="right_attach">5</property>
820 <property name="top_attach">1</property>
821 <property name="bottom_attach">2</property>
822 </packing>
823 </child>
824 <child>
825 <object class="GtkLabel" id="editDGROOVELabel">
826 <property name="visible">True</property>
827 <property name="sensitive">False</property>
828 <property name="xalign">0</property>
829 <property name="xpad">12</property>
830 <property name="label" translatable="yes">Groove diameter:</property>
831 <property name="use_underline">True</property>
832 <property name="mnemonic_widget">editDGROOVE</property>
833 </object>
834 <packing>
835 <property name="top_attach">2</property>
836 <property name="bottom_attach">3</property>
837 <property name="x_options">GTK_FILL</property>
838 </packing>
839 </child>
840 <child>
841 <object class="GtkSpinButton" id="editDGROOVE">
842 <property name="visible">True</property>
843 <property name="sensitive">False</property>
844 <property name="can_focus">True</property>
845 <property name="adjustment">adjDGROOVE</property>
846 <property name="digits">1</property>
847 <property name="numeric">True</property>
848 </object>
849 <packing>
850 <property name="left_attach">1</property>
851 <property name="right_attach">2</property>
852 <property name="top_attach">2</property>
853 <property name="bottom_attach">3</property>
854 </packing>
855 </child>
856 <child>
857 <object class="GtkLabel" id="editLGROOVELabel">
858 <property name="visible">True</property>
859 <property name="sensitive">False</property>
860 <property name="xalign">0</property>
861 <property name="xpad">12</property>
862 <property name="label" translatable="yes">Groove thickness:</property>
863 <property name="use_underline">True</property>
864 <property name="mnemonic_widget">editLGROOVE</property>
865 </object>
866 <packing>
867 <property name="left_attach">3</property>
868 <property name="right_attach">4</property>
869 <property name="top_attach">2</property>
870 <property name="bottom_attach">3</property>
871 <property name="x_options">GTK_FILL</property>
872 </packing>
873 </child>
874 <child>
875 <object class="GtkSpinButton" id="editLGROOVE">
876 <property name="visible">True</property>
877 <property name="sensitive">False</property>
878 <property name="can_focus">True</property>
879 <property name="adjustment">adjLGROOVE</property>
880 <property name="digits">1</property>
881 <property name="numeric">True</property>
882 </object>
883 <packing>
884 <property name="left_attach">4</property>
885 <property name="right_attach">5</property>
886 <property name="top_attach">2</property>
887 <property name="bottom_attach">3</property>
888 </packing>
889 </child>
890 <child>
891 <placeholder/>
892 </child>
893 <child>
894 <placeholder/>
895 </child>
896 </object>
897 </child>
898 <child type="label">
899 <object class="GtkLabel" id="editAdditionalLabel">
900 <property name="visible">True</property>
901 <property name="xalign">0</property>
902 <property name="yalign">0</property>
903 <property name="label" translatable="yes">&lt;b&gt;Additional machinings&lt;/b&gt;</property>
904 <property name="use_markup">True</property>
905 <property name="single_line_mode">True</property>
906 </object>
907 </child>
908 </object>
909 <packing>
910 <property name="expand">False</property>
911 <property name="position">3</property>
912 </packing>
913 </child>
914 </object>
915 </child>
916 <child type="tab">
917 <object class="GtkLabel" id="lblDimensions">
918 <property name="visible">True</property>
919 <property name="label" translatable="yes">Dimensions</property>
920 </object>
921 <packing>
922 <property name="tab-fill">False</property>
923 </packing>
924 </child>
925 <child>
926 <object class="GtkVBox" id="boxTitleBlock">
927 <property name="visible">True</property>
928 <child>
929 <object class="GtkFrame" id="frmMetadata">
930 <property name="visible">True</property>
931 <property name="border-width">3</property>
932 <property name="label-xalign">0</property>
933 <property name="shadow-type">none</property>
934 <child>
935 <object class="GtkTable" id="tableMetadata">
936 <property name="visible">True</property>
937 <property name="border-width">6</property>
938 <property name="n-rows">4</property>
939 <property name="n-columns">2</property>
940 <property name="row-spacing">6</property>
941 <property name="column-spacing">6</property>
942 <child>
943 <object class="GtkLabel" id="lblTitle">
944 <property name="visible">True</property>
945 <property name="xalign">0</property>
946 <property name="label" translatable="yes">_Title:</property>
947 <property name="use-underline">True</property>
948 <property name="mnemonic-widget">txtTitle</property>
949 </object>
950 <packing>
951 <property name="x-options">GTK_FILL</property>
952 <property name="x-padding">12</property>
953 </packing>
954 </child>
955 <child>
956 <object class="GtkEntry" id="txtTitle">
957 <property name="visible">True</property>
958 <property name="can-focus">True</property>
959 <property name="text" translatable="yes">SAMPLE DRAWING</property>
960 </object>
961 <packing>
962 <property name="left-attach">1</property>
963 <property name="right-attach">2</property>
964 </packing>
965 </child>
966 <child>
967 <object class="GtkLabel" id="lblDrawing">
968 <property name="visible">True</property>
969 <property name="xalign">0</property>
970 <property name="label" translatable="yes">_Drawing:</property>
971 <property name="use-underline">True</property>
972 <property name="mnemonic-widget">txtDrawing</property>
973 </object>
974 <packing>
975 <property name="x-options">GTK_FILL</property>
976 <property name="x-padding">12</property>
977 <property name="top-attach">1</property>
978 <property name="bottom-attach">2</property>
979 </packing>
980 </child>
981 <child>
982 <object class="GtkEntry" id="txtDrawing">
983 <property name="visible">True</property>
984 <property name="can-focus">True</property>
985 <property name="text" translatable="yes">EXAMPLE</property>
986 </object>
987 <packing>
988 <property name="top-attach">1</property>
989 <property name="bottom-attach">2</property>
990 <property name="left-attach">1</property>
991 <property name="right-attach">2</property>
992 </packing>
993 </child>
994 <child>
995 <object class="GtkLabel" id="lblAuthor">
996 <property name="visible">True</property>
997 <property name="xalign">0</property>
998 <property name="label" translatable="yes">A_uthor:</property>
999 <property name="use-underline">True</property>
1000 <property name="mnemonic-widget">txtAuthor</property>
1001 </object>
1002 <packing>
1003 <property name="x-options">GTK_FILL</property>
1004 <property name="x-padding">12</property>
1005 <property name="top-attach">2</property>
1006 <property name="bottom-attach">3</property>
1007 </packing>
1008 </child>
1009 <child>
1010 <object class="GtkEntry" id="txtAuthor">
1011 <property name="visible">True</property>
1012 <property name="can-focus">True</property>
1013 <property name="text" translatable="no">adg-demo</property>
1014 </object>
1015 <packing>
1016 <property name="top-attach">2</property>
1017 <property name="bottom-attach">3</property>
1018 <property name="left-attach">1</property>
1019 <property name="right-attach">2</property>
1020 </packing>
1021 </child>
1022 <child>
1023 <object class="GtkLabel" id="lblDate">
1024 <property name="visible">True</property>
1025 <property name="xalign">0</property>
1026 <property name="label" translatable="yes">D_ate:</property>
1027 <property name="use-underline">True</property>
1028 <property name="mnemonic-widget">txtDate</property>
1029 </object>
1030 <packing>
1031 <property name="x-options">GTK_FILL</property>
1032 <property name="x-padding">12</property>
1033 <property name="top-attach">3</property>
1034 <property name="bottom-attach">4</property>
1035 </packing>
1036 </child>
1037 <child>
1038 <object class="GtkEntry" id="txtDate">
1039 <property name="visible">True</property>
1040 <property name="can-focus">True</property>
1041 <property name="text" translatable="no">09/03/2011</property>
1042 </object>
1043 <packing>
1044 <property name="top-attach">3</property>
1045 <property name="bottom-attach">4</property>
1046 <property name="left-attach">1</property>
1047 <property name="right-attach">2</property>
1048 </packing>
1049 </child>
1050 </object>
1051 </child>
1052 <child type="label">
1053 <object class="GtkLabel" id="lblMetadata">
1054 <property name="visible">True</property>
1055 <property name="xalign">0</property>
1056 <property name="yalign">0</property>
1057 <property name="xpad">3</property>
1058 <property name="ypad">3</property>
1059 <property name="label" translatable="yes">&lt;b&gt;Metadata&lt;/b&gt;</property>
1060 <property name="use-markup">True</property>
1061 <property name="single-line-mode">True</property>
1062 </object>
1063 </child>
1064 </object>
1065 <packing>
1066 <property name="expand">False</property>
1067 <property name="fill">False</property>
1068 <property name="position">0</property>
1069 </packing>
1070 </child>
1071 <child>
1072 <placeholder/>
1073 </child>
1074 </object>
1075 </child>
1076 <child type="tab">
1077 <object class="GtkLabel" id="lblTitleblock">
1078 <property name="visible">True</property>
1079 <property name="label" translatable="yes">Title block</property>
1080 </object>
1081 <packing>
1082 <property name="position">1</property>
1083 <property name="tab-fill">False</property>
1084 </packing>
1085 </child>
1086 </object>
1087 </child>
1088 <child internal-child="action_area">
1089 <object class="GtkHButtonBox" id="bbMain">
1090 <property name="layout_style">end</property>
1091 <child>
1092 <object class="GtkButton" id="btnApply">
1093 <property name="label">gtk-apply</property>
1094 <property name="visible">True</property>
1095 <property name="sensitive">False</property>
1096 <property name="can-focus">True</property>
1097 <property name="can-default">True</property>
1098 <property name="has-default">True</property>
1099 <property name="use-stock">True</property>
1100 <property name="focus-on-click">False</property>
1101 </object>
1102 <packing>
1103 <property name="expand">False</property>
1104 <property name="fill">False</property>
1105 <property name="position">0</property>
1106 </packing>
1107 </child>
1108 <child>
1109 <object class="GtkButton" id="btnReset">
1110 <property name="label">gtk-revert-to-saved</property>
1111 <property name="visible">True</property>
1112 <property name="sensitive">False</property>
1113 <property name="can-focus">True</property>
1114 <property name="use-stock">True</property>
1115 <property name="focus-on-click">False</property>
1116 </object>
1117 <packing>
1118 <property name="expand">False</property>
1119 <property name="fill">False</property>
1120 <property name="position">1</property>
1121 </packing>
1122 </child>
1123 <child>
1124 <object class="GtkButton" id="btnClose">
1125 <property name="label">gtk-close</property>
1126 <property name="visible">True</property>
1127 <property name="can-focus">True</property>
1128 <property name="use-stock">True</property>
1129 </object>
1130 <packing>
1131 <property name="expand">False</property>
1132 <property name="fill">False</property>
1133 <property name="position">2</property>
1134 </packing>
1135 </child>
1136 </object>
1137 <packing>
1138 <property name="expand">False</property>
1139 <property name="pack_type">end</property>
1140 <property name="position">3</property>
1141 </packing>
1142 </child>
1143 </object>
1144 </child>
1145 <action-widgets>
1146 <action-widget response="-4">btnClose</action-widget>
1147 </action-widgets>
1148 </object>
1149 <object class="GtkFileChooserDialog" id="wndSaveAs">
1150 <property name="border_width">6</property>
1151 <property name="title" translatable="yes">Save current drawing</property>
1152 <property name="modal">True</property>
1153 <property name="type_hint">normal</property>
1154 <property name="skip_taskbar_hint">True</property>
1155 <property name="skip_pager_hint">True</property>
1156 <property name="urgency_hint">True</property>
1157 <property name="transient_for">wndMain</property>
1158 <property name="preview_widget_active">False</property>
1159 <property name="use_preview_label">False</property>
1160 <property name="action">save</property>
1161 <child internal-child="vbox">
1162 <object class="GtkVBox" id="saveAsBox">
1163 <property name="visible">True</property>
1164 <property name="spacing">2</property>
1165 <child>
1166 <object class="GtkFrame" id="saveAsType">
1167 <property name="visible">True</property>
1168 <property name="label_xalign">0</property>
1169 <property name="shadow_type">none</property>
1170 <child>
1171 <object class="GtkHBox" id="saveAsTypeBox">
1172 <property name="visible">True</property>
1173 <property name="border_width">6</property>
1174 <property name="spacing">6</property>
1175 <child>
1176 <object class="GtkRadioButton" id="saveAsPng">
1177 <property name="label" translatable="yes">PNG _image</property>
1178 <property name="visible">True</property>
1179 <property name="can_focus">True</property>
1180 <property name="tooltip_text">.png</property>
1181 <property name="use_underline">True</property>
1182 <property name="active">True</property>
1183 <property name="draw_indicator">True</property>
1184 </object>
1185 <packing>
1186 <property name="expand">False</property>
1187 <property name="padding">6</property>
1188 <property name="position">0</property>
1189 </packing>
1190 </child>
1191 <child>
1192 <object class="GtkRadioButton" id="saveAsSvg">
1193 <property name="label" translatable="yes">S_VG image</property>
1194 <property name="visible">True</property>
1195 <property name="can_focus">True</property>
1196 <property name="tooltip_text">.svg</property>
1197 <property name="use_underline">True</property>
1198 <property name="draw_indicator">True</property>
1199 <property name="group">saveAsPng</property>
1200 </object>
1201 <packing>
1202 <property name="expand">False</property>
1203 <property name="padding">6</property>
1204 <property name="position">1</property>
1205 </packing>
1206 </child>
1207 <child>
1208 <object class="GtkRadioButton" id="saveAsPdf">
1209 <property name="label" translatable="yes">P_DF document</property>
1210 <property name="visible">True</property>
1211 <property name="can_focus">True</property>
1212 <property name="tooltip_text">.pdf</property>
1213 <property name="use_underline">True</property>
1214 <property name="draw_indicator">True</property>
1215 <property name="group">saveAsPng</property>
1216 </object>
1217 <packing>
1218 <property name="expand">False</property>
1219 <property name="padding">6</property>
1220 <property name="position">2</property>
1221 </packing>
1222 </child>
1223 <child>
1224 <object class="GtkRadioButton" id="saveAsPs">
1225 <property name="label" translatable="yes">_PostScript file</property>
1226 <property name="visible">True</property>
1227 <property name="can_focus">True</property>
1228 <property name="tooltip_text">.ps</property>
1229 <property name="use_underline">True</property>
1230 <property name="draw_indicator">True</property>
1231 <property name="group">saveAsPng</property>
1232 </object>
1233 <packing>
1234 <property name="expand">False</property>
1235 <property name="padding">6</property>
1236 <property name="position">3</property>
1237 </packing>
1238 </child>
1239 </object>
1240 </child>
1241 <child type="label">
1242 <object class="GtkLabel" id="saveAsTypeLabel">
1243 <property name="visible">True</property>
1244 <property name="label" translatable="yes">&lt;b&gt;File format&lt;/b&gt;</property>
1245 <property name="use_markup">True</property>
1246 </object>
1247 </child>
1248 </object>
1249 <packing>
1250 <property name="expand">False</property>
1251 <property name="padding">6</property>
1252 <property name="position">2</property>
1253 </packing>
1254 </child>
1255 <child internal-child="action_area">
1256 <object class="GtkHButtonBox" id="saveAsButtons">
1257 <property name="layout_style">end</property>
1258 <child>
1259 <object class="GtkButton" id="saveAsCancel">
1260 <property name="label">gtk-cancel</property>
1261 <property name="visible">True</property>
1262 <property name="can_focus">True</property>
1263 <property name="receives_default">True</property>
1264 <property name="use_stock">True</property>
1265 </object>
1266 <packing>
1267 <property name="expand">False</property>
1268 <property name="fill">False</property>
1269 <property name="position">0</property>
1270 </packing>
1271 </child>
1272 <child>
1273 <object class="GtkButton" id="saveAsSave">
1274 <property name="label">gtk-save</property>
1275 <property name="visible">True</property>
1276 <property name="can_focus">True</property>
1277 <property name="can_default">True</property>
1278 <property name="has_default">True</property>
1279 <property name="receives_default">True</property>
1280 <property name="use_stock">True</property>
1281 </object>
1282 <packing>
1283 <property name="expand">False</property>
1284 <property name="fill">False</property>
1285 <property name="position">1</property>
1286 </packing>
1287 </child>
1288 </object>
1289 <packing>
1290 <property name="expand">False</property>
1291 <property name="pack_type">end</property>
1292 <property name="position">0</property>
1293 </packing>
1294 </child>
1295 </object>
1296 </child>
1297 <action-widgets>
1298 <action-widget response="-5">saveAsSave</action-widget>
1299 <action-widget response="-6">saveAsCancel</action-widget>
1300 </action-widgets>
1301 </object>
1302 <object class="GtkAdjustment" id="adjA">
1303 <property name="lower">20</property>
1304 <property name="upper">180</property>
1305 <property name="step_increment">0.1</property>
1306 <property name="page_increment">1</property>
1307 <property name="value">55</property>
1308 </object>
1309 <object class="GtkAdjustment" id="adjB">
1310 <property name="lower">10</property>
1311 <property name="upper">100</property>
1312 <property name="step_increment">0.1</property>
1313 <property name="page_increment">1</property>
1314 <property name="value">20.6</property>
1315 </object>
1316 <object class="GtkAdjustment" id="adjC">
1317 <property name="lower">0.5</property>
1318 <property name="upper">10</property>
1319 <property name="step_increment">0.1</property>
1320 <property name="page_increment">1</property>
1321 <property name="value">2</property>
1322 </object>
1323 <object class="GtkAdjustment" id="adjD1">
1324 <property name="lower">4</property>
1325 <property name="upper">25</property>
1326 <property name="step_increment">0.1</property>
1327 <property name="page_increment">1</property>
1328 <property name="value">9.3</property>
1329 </object>
1330 <object class="GtkAdjustment" id="adjD2">
1331 <property name="lower">2</property>
1332 <property name="upper">20</property>
1333 <property name="step_increment">0.1</property>
1334 <property name="page_increment">1</property>
1335 <property name="value">6.5</property>
1336 </object>
1337 <object class="GtkAdjustment" id="adjLD2">
1338 <property name="lower">2</property>
1339 <property name="upper">20</property>
1340 <property name="step_increment">0.1</property>
1341 <property name="page_increment">1</property>
1342 <property name="value">7</property>
1343 </object>
1344 <object class="GtkAdjustment" id="adjD3">
1345 <property name="lower">5</property>
1346 <property name="upper">25</property>
1347 <property name="step_increment">0.1</property>
1348 <property name="page_increment">1</property>
1349 <property name="value">13.8</property>
1350 </object>
1351 <object class="GtkAdjustment" id="adjLD3">
1352 <property name="lower">1</property>
1353 <property name="upper">50</property>
1354 <property name="step_increment">0.1</property>
1355 <property name="page_increment">1</property>
1356 <property name="value">3.5</property>
1357 </object>
1358 <object class="GtkAdjustment" id="adjD4">
1359 <property name="lower">2</property>
1360 <property name="upper">20</property>
1361 <property name="step_increment">0.1</property>
1362 <property name="page_increment">1</property>
1363 <property name="value">6.5</property>
1364 </object>
1365 <object class="GtkAdjustment" id="adjD6">
1366 <property name="lower">4</property>
1367 <property name="upper">20</property>
1368 <property name="step_increment">0.1</property>
1369 <property name="page_increment">1</property>
1370 <property name="value">7.2</property>
1371 </object>
1372 <object class="GtkAdjustment" id="adjRD6">
1373 <property name="lower">10</property>
1374 <property name="upper">200</property>
1375 <property name="step_increment">1</property>
1376 <property name="page_increment">10</property>
1377 <property name="value">25</property>
1378 </object>
1379 <object class="GtkAdjustment" id="adjD7">
1380 <property name="upper">10</property>
1381 <property name="step_increment">0.1</property>
1382 <property name="page_increment">1</property>
1383 <property name="value">2</property>
1384 </object>
1385 <object class="GtkAdjustment" id="adjDHOLE">
1386 <property name="lower">0.1</property>
1387 <property name="upper">15</property>
1388 <property name="step_increment">0.1</property>
1389 <property name="page_increment">1</property>
1390 <property name="value">2</property>
1391 </object>
1392 <object class="GtkAdjustment" id="adjLHOLE">
1393 <property name="lower">1</property>
1394 <property name="upper">50</property>
1395 <property name="step_increment">0.1</property>
1396 <property name="page_increment">1</property>
1397 <property name="value">3</property>
1398 </object>
1399 <object class="GtkAdjustment" id="adjDGROOVE">
1400 <property name="lower">2</property>
1401 <property name="upper">24</property>
1402 <property name="step_increment">0.1</property>
1403 <property name="page_increment">1</property>
1404 <property name="value">8.3</property>
1405 </object>
1406 <object class="GtkAdjustment" id="adjLGROOVE">
1407 <property name="lower">0.1</property>
1408 <property name="upper">20</property>
1409 <property name="step_increment">0.1</property>
1410 <property name="page_increment">1</property>
1411 <property name="value">1</property>
1412 </object>
1413 <object class="GtkAdjustment" id="adjZGROOVE">
1414 <property name="lower">0.5</property>
1415 <property name="upper">50</property>
1416 <property name="step_increment">0.1</property>
1417 <property name="page_increment">1</property>
1418 <property name="value">16</property>
1419 </object>
1420 </interface>