1 <?xml version="1.0" encoding="UTF-8"?>
3 <class>CadToolBarSnap</class>
4 <widget class="QWidget" name="CadToolBarSnap">
5 <property name="geometry">
13 <property name="sizePolicy">
14 <sizepolicy hsizetype="Fixed" vsizetype="Minimum">
15 <horstretch>0</horstretch>
16 <verstretch>0</verstretch>
19 <property name="minimumSize">
25 <property name="windowTitle">
28 <widget class="QToolButton" name="bBack">
29 <property name="geometry">
37 <property name="toolTip">
38 <string>Back to main menu</string>
40 <property name="text">
43 <property name="icon">
44 <iconset resource="res/architektonas.qrc">
45 <normaloff>:res/qg_back.xpm</normaloff>:res/qg_back.xpm</iconset>
48 <widget class="QToolButton" name="bGrid">
49 <property name="geometry">
57 <property name="toolTip">
58 <string>Snap to grid</string>
60 <property name="text">
63 <property name="icon">
64 <iconset resource="res/architektonas.qrc">
65 <normaloff>:res/qg_snapgrid.xpm</normaloff>:res/qg_snapgrid.xpm</iconset>
67 <property name="checkable">
71 <widget class="QToolButton" name="bFree">
72 <property name="geometry">
80 <property name="toolTip">
81 <string>Free positioning</string>
83 <property name="text">
86 <property name="icon">
87 <iconset resource="res/architektonas.qrc">
88 <normaloff>:res/qg_snapfree.xpm</normaloff>:res/qg_snapfree.xpm</iconset>
90 <property name="checkable">
94 <widget class="QToolButton" name="bEndpoint">
95 <property name="geometry">
103 <property name="toolTip">
104 <string>Snap to Endpoints</string>
106 <property name="text">
109 <property name="icon">
110 <iconset resource="res/architektonas.qrc">
111 <normaloff>:res/qg_snapendpoint.xpm</normaloff>:res/qg_snapendpoint.xpm</iconset>
113 <property name="checkable">
117 <widget class="QToolButton" name="bOnEntity">
118 <property name="geometry">
126 <property name="toolTip">
127 <string>Snap to closest point on entity</string>
129 <property name="text">
132 <property name="icon">
133 <iconset resource="res/architektonas.qrc">
134 <normaloff>:res/qg_snaponentity.xpm</normaloff>:res/qg_snaponentity.xpm</iconset>
136 <property name="checkable">
140 <widget class="QToolButton" name="bCenter">
141 <property name="geometry">
149 <property name="toolTip">
150 <string>Snap to center points</string>
152 <property name="text">
155 <property name="icon">
156 <iconset resource="res/architektonas.qrc">
157 <normaloff>:res/qg_snapcenter.xpm</normaloff>:res/qg_snapcenter.xpm</iconset>
159 <property name="checkable">
163 <widget class="QToolButton" name="bMiddle">
164 <property name="geometry">
172 <property name="toolTip">
173 <string>Snap to middle points</string>
175 <property name="text">
178 <property name="icon">
179 <iconset resource="res/architektonas.qrc">
180 <normaloff>:res/qg_snapmiddle.xpm</normaloff>:res/qg_snapmiddle.xpm</iconset>
182 <property name="checkable">
186 <widget class="QToolButton" name="bDist">
187 <property name="geometry">
195 <property name="toolTip">
196 <string>Snap to point with given distance to endpoint</string>
198 <property name="text">
201 <property name="icon">
202 <iconset resource="res/architektonas.qrc">
203 <normaloff>:res/qg_snapdist.xpm</normaloff>:res/qg_snapdist.xpm</iconset>
205 <property name="checkable">
209 <widget class="QToolButton" name="bIntersection">
210 <property name="geometry">
218 <property name="toolTip">
219 <string>Snap to intersections automatically</string>
221 <property name="text">
224 <property name="icon">
225 <iconset resource="res/architektonas.qrc">
226 <normaloff>:res/qg_snapintersection.xpm</normaloff>:res/qg_snapintersection.xpm</iconset>
228 <property name="checkable">
232 <widget class="QToolButton" name="bResNothing">
233 <property name="geometry">
241 <property name="toolTip">
242 <string>No Restriction</string>
244 <property name="text">
247 <property name="icon">
248 <iconset resource="res/architektonas.qrc">
249 <normaloff>:res/qg_restrictnothing.xpm</normaloff>:res/qg_restrictnothing.xpm</iconset>
251 <property name="checkable">
255 <widget class="QToolButton" name="bResOrthogonal">
256 <property name="geometry">
264 <property name="toolTip">
265 <string>Orthogonal Restriction</string>
267 <property name="text">
270 <property name="icon">
271 <iconset resource="res/architektonas.qrc">
272 <normaloff>:res/qg_restrictorthogonal.xpm</normaloff>:res/qg_restrictorthogonal.xpm</iconset>
274 <property name="checkable">
278 <widget class="QToolButton" name="bResHorizontal">
279 <property name="geometry">
287 <property name="toolTip">
288 <string>Horizontal Restriction</string>
290 <property name="text">
293 <property name="icon">
294 <iconset resource="res/architektonas.qrc">
295 <normaloff>:res/qg_restricthorizontal.xpm</normaloff>:res/qg_restricthorizontal.xpm</iconset>
297 <property name="checkable">
301 <widget class="QToolButton" name="bResVertical">
302 <property name="geometry">
310 <property name="toolTip">
311 <string>Vertical Restriction</string>
313 <property name="text">
316 <property name="icon">
317 <iconset resource="res/architektonas.qrc">
318 <normaloff>:res/qg_restrictvertical.xpm</normaloff>:res/qg_restrictvertical.xpm</iconset>
320 <property name="checkable">
324 <widget class="QToolButton" name="bRelZero">
325 <property name="geometry">
333 <property name="toolTip">
334 <string>Move relative Zero</string>
336 <property name="text">
339 <property name="icon">
340 <iconset resource="res/architektonas.qrc">
341 <normaloff>:res/qg_relzeromove.xpm</normaloff>:res/qg_relzeromove.xpm</iconset>
343 <property name="checkable">
347 <widget class="QToolButton" name="bLockRelZero">
348 <property name="geometry">
356 <property name="toolTip">
357 <string>Lock relative Zero</string>
359 <property name="text">
362 <property name="icon">
363 <iconset resource="res/architektonas.qrc">
364 <normaloff>:res/qg_relzerolock.xpm</normaloff>:res/qg_relzerolock.xpm</iconset>
366 <property name="checkable">
370 <widget class="QToolButton" name="bIntersectionManual">
371 <property name="geometry">
379 <property name="toolTip">
380 <string>Snap to intersections manually</string>
382 <property name="text">
385 <property name="icon">
386 <iconset resource="res/architektonas.qrc">
387 <normaloff>:res/qg_snapintersectionm.xpm</normaloff>:res/qg_snapintersectionm.xpm</iconset>
389 <property name="checkable">
394 <layoutdefault spacing="6" margin="11"/>
398 <sender>bFree</sender>
399 <signal>clicked()</signal>
400 <receiver>CadToolBarSnap</receiver>
401 <slot>snapFree()</slot>
403 <hint type="sourcelabel">
407 <hint type="destinationlabel">
414 <sender>bGrid</sender>
415 <signal>clicked()</signal>
416 <receiver>CadToolBarSnap</receiver>
417 <slot>snapGrid()</slot>
419 <hint type="sourcelabel">
423 <hint type="destinationlabel">
430 <sender>bEndpoint</sender>
431 <signal>clicked()</signal>
432 <receiver>CadToolBarSnap</receiver>
433 <slot>snapEndpoint()</slot>
435 <hint type="sourcelabel">
439 <hint type="destinationlabel">
446 <sender>bOnEntity</sender>
447 <signal>clicked()</signal>
448 <receiver>CadToolBarSnap</receiver>
449 <slot>snapOnEntity()</slot>
451 <hint type="sourcelabel">
455 <hint type="destinationlabel">
462 <sender>bCenter</sender>
463 <signal>clicked()</signal>
464 <receiver>CadToolBarSnap</receiver>
465 <slot>snapCenter()</slot>
467 <hint type="sourcelabel">
471 <hint type="destinationlabel">
478 <sender>bMiddle</sender>
479 <signal>clicked()</signal>
480 <receiver>CadToolBarSnap</receiver>
481 <slot>snapMiddle()</slot>
483 <hint type="sourcelabel">
487 <hint type="destinationlabel">
494 <sender>bDist</sender>
495 <signal>clicked()</signal>
496 <receiver>CadToolBarSnap</receiver>
497 <slot>snapDist()</slot>
499 <hint type="sourcelabel">
503 <hint type="destinationlabel">
510 <sender>bIntersection</sender>
511 <signal>clicked()</signal>
512 <receiver>CadToolBarSnap</receiver>
513 <slot>snapIntersection()</slot>
515 <hint type="sourcelabel">
519 <hint type="destinationlabel">
526 <sender>bBack</sender>
527 <signal>clicked()</signal>
528 <receiver>CadToolBarSnap</receiver>
531 <hint type="sourcelabel">
535 <hint type="destinationlabel">
542 <sender>bResOrthogonal</sender>
543 <signal>clicked()</signal>
544 <receiver>CadToolBarSnap</receiver>
545 <slot>restrictOrthogonal()</slot>
547 <hint type="sourcelabel">
551 <hint type="destinationlabel">
558 <sender>bResNothing</sender>
559 <signal>clicked()</signal>
560 <receiver>CadToolBarSnap</receiver>
561 <slot>restrictNothing()</slot>
563 <hint type="sourcelabel">
567 <hint type="destinationlabel">
574 <sender>bRelZero</sender>
575 <signal>clicked()</signal>
576 <receiver>CadToolBarSnap</receiver>
577 <slot>setRelativeZero()</slot>
579 <hint type="sourcelabel">
583 <hint type="destinationlabel">
590 <sender>bLockRelZero</sender>
591 <signal>toggled(bool)</signal>
592 <receiver>CadToolBarSnap</receiver>
593 <slot>lockRelativeZero(bool)</slot>
595 <hint type="sourcelabel">
599 <hint type="destinationlabel">
606 <sender>bResHorizontal</sender>
607 <signal>clicked()</signal>
608 <receiver>CadToolBarSnap</receiver>
609 <slot>restrictHorizontal()</slot>
611 <hint type="sourcelabel">
615 <hint type="destinationlabel">
622 <sender>bResVertical</sender>
623 <signal>clicked()</signal>
624 <receiver>CadToolBarSnap</receiver>
625 <slot>restrictVertical()</slot>
627 <hint type="sourcelabel">
631 <hint type="destinationlabel">
638 <sender>bIntersectionManual</sender>
639 <signal>clicked()</signal>
640 <receiver>CadToolBarSnap</receiver>
641 <slot>snapIntersectionManual()</slot>
643 <hint type="sourcelabel">
647 <hint type="destinationlabel">