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