]> Shamusworld >> Repos - architektonas/blob - src/forms/cadtoolbarsnap.ui
Bugfixes related to removing Snapper class.
[architektonas] / src / forms / cadtoolbarsnap.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>CadToolBarSnap</class>
4  <widget class="QWidget" name="CadToolBarSnap">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>56</width>
10     <height>336</height>
11    </rect>
12   </property>
13   <property name="sizePolicy">
14    <sizepolicy hsizetype="Fixed" vsizetype="Minimum">
15     <horstretch>0</horstretch>
16     <verstretch>0</verstretch>
17    </sizepolicy>
18   </property>
19   <property name="minimumSize">
20    <size>
21     <width>56</width>
22     <height>336</height>
23    </size>
24   </property>
25   <property name="windowTitle">
26    <string>Snap</string>
27   </property>
28   <widget class="QToolButton" name="bBack">
29    <property name="geometry">
30     <rect>
31      <x>0</x>
32      <y>0</y>
33      <width>56</width>
34      <height>20</height>
35     </rect>
36    </property>
37    <property name="toolTip">
38     <string>Back to main menu</string>
39    </property>
40    <property name="text">
41     <string/>
42    </property>
43    <property name="icon">
44     <iconset resource="res/architektonas.qrc">
45      <normaloff>:res/qg_back.xpm</normaloff>:res/qg_back.xpm</iconset>
46    </property>
47   </widget>
48   <widget class="QToolButton" name="bGrid">
49    <property name="geometry">
50     <rect>
51      <x>28</x>
52      <y>20</y>
53      <width>28</width>
54      <height>28</height>
55     </rect>
56    </property>
57    <property name="toolTip">
58     <string>Snap to grid</string>
59    </property>
60    <property name="text">
61     <string/>
62    </property>
63    <property name="icon">
64     <iconset resource="res/architektonas.qrc">
65      <normaloff>:res/qg_snapgrid.xpm</normaloff>:res/qg_snapgrid.xpm</iconset>
66    </property>
67    <property name="checkable">
68     <bool>true</bool>
69    </property>
70   </widget>
71   <widget class="QToolButton" name="bFree">
72    <property name="geometry">
73     <rect>
74      <x>0</x>
75      <y>20</y>
76      <width>28</width>
77      <height>28</height>
78     </rect>
79    </property>
80    <property name="toolTip">
81     <string>Free positioning</string>
82    </property>
83    <property name="text">
84     <string/>
85    </property>
86    <property name="icon">
87     <iconset resource="res/architektonas.qrc">
88      <normaloff>:res/qg_snapfree.xpm</normaloff>:res/qg_snapfree.xpm</iconset>
89    </property>
90    <property name="checkable">
91     <bool>true</bool>
92    </property>
93   </widget>
94   <widget class="QToolButton" name="bEndpoint">
95    <property name="geometry">
96     <rect>
97      <x>0</x>
98      <y>48</y>
99      <width>28</width>
100      <height>28</height>
101     </rect>
102    </property>
103    <property name="toolTip">
104     <string>Snap to Endpoints</string>
105    </property>
106    <property name="text">
107     <string/>
108    </property>
109    <property name="icon">
110     <iconset resource="res/architektonas.qrc">
111      <normaloff>:res/qg_snapendpoint.xpm</normaloff>:res/qg_snapendpoint.xpm</iconset>
112    </property>
113    <property name="checkable">
114     <bool>true</bool>
115    </property>
116   </widget>
117   <widget class="QToolButton" name="bOnEntity">
118    <property name="geometry">
119     <rect>
120      <x>28</x>
121      <y>48</y>
122      <width>28</width>
123      <height>28</height>
124     </rect>
125    </property>
126    <property name="toolTip">
127     <string>Snap to closest point on entity</string>
128    </property>
129    <property name="text">
130     <string/>
131    </property>
132    <property name="icon">
133     <iconset resource="res/architektonas.qrc">
134      <normaloff>:res/qg_snaponentity.xpm</normaloff>:res/qg_snaponentity.xpm</iconset>
135    </property>
136    <property name="checkable">
137     <bool>true</bool>
138    </property>
139   </widget>
140   <widget class="QToolButton" name="bCenter">
141    <property name="geometry">
142     <rect>
143      <x>0</x>
144      <y>76</y>
145      <width>28</width>
146      <height>28</height>
147     </rect>
148    </property>
149    <property name="toolTip">
150     <string>Snap to center points</string>
151    </property>
152    <property name="text">
153     <string/>
154    </property>
155    <property name="icon">
156     <iconset resource="res/architektonas.qrc">
157      <normaloff>:res/qg_snapcenter.xpm</normaloff>:res/qg_snapcenter.xpm</iconset>
158    </property>
159    <property name="checkable">
160     <bool>true</bool>
161    </property>
162   </widget>
163   <widget class="QToolButton" name="bMiddle">
164    <property name="geometry">
165     <rect>
166      <x>28</x>
167      <y>76</y>
168      <width>28</width>
169      <height>28</height>
170     </rect>
171    </property>
172    <property name="toolTip">
173     <string>Snap to middle points</string>
174    </property>
175    <property name="text">
176     <string/>
177    </property>
178    <property name="icon">
179     <iconset resource="res/architektonas.qrc">
180      <normaloff>:res/qg_snapmiddle.xpm</normaloff>:res/qg_snapmiddle.xpm</iconset>
181    </property>
182    <property name="checkable">
183     <bool>true</bool>
184    </property>
185   </widget>
186   <widget class="QToolButton" name="bDist">
187    <property name="geometry">
188     <rect>
189      <x>0</x>
190      <y>104</y>
191      <width>28</width>
192      <height>28</height>
193     </rect>
194    </property>
195    <property name="toolTip">
196     <string>Snap to point with given distance to endpoint</string>
197    </property>
198    <property name="text">
199     <string/>
200    </property>
201    <property name="icon">
202     <iconset resource="res/architektonas.qrc">
203      <normaloff>:res/qg_snapdist.xpm</normaloff>:res/qg_snapdist.xpm</iconset>
204    </property>
205    <property name="checkable">
206     <bool>true</bool>
207    </property>
208   </widget>
209   <widget class="QToolButton" name="bIntersection">
210    <property name="geometry">
211     <rect>
212      <x>28</x>
213      <y>104</y>
214      <width>28</width>
215      <height>28</height>
216     </rect>
217    </property>
218    <property name="toolTip">
219     <string>Snap to intersections automatically</string>
220    </property>
221    <property name="text">
222     <string/>
223    </property>
224    <property name="icon">
225     <iconset resource="res/architektonas.qrc">
226      <normaloff>:res/qg_snapintersection.xpm</normaloff>:res/qg_snapintersection.xpm</iconset>
227    </property>
228    <property name="checkable">
229     <bool>true</bool>
230    </property>
231   </widget>
232   <widget class="QToolButton" name="bResNothing">
233    <property name="geometry">
234     <rect>
235      <x>0</x>
236      <y>180</y>
237      <width>28</width>
238      <height>28</height>
239     </rect>
240    </property>
241    <property name="toolTip">
242     <string>No Restriction</string>
243    </property>
244    <property name="text">
245     <string/>
246    </property>
247    <property name="icon">
248     <iconset resource="res/architektonas.qrc">
249      <normaloff>:res/qg_restrictnothing.xpm</normaloff>:res/qg_restrictnothing.xpm</iconset>
250    </property>
251    <property name="checkable">
252     <bool>true</bool>
253    </property>
254   </widget>
255   <widget class="QToolButton" name="bResOrthogonal">
256    <property name="geometry">
257     <rect>
258      <x>28</x>
259      <y>180</y>
260      <width>28</width>
261      <height>28</height>
262     </rect>
263    </property>
264    <property name="toolTip">
265     <string>Orthogonal Restriction</string>
266    </property>
267    <property name="text">
268     <string/>
269    </property>
270    <property name="icon">
271     <iconset resource="res/architektonas.qrc">
272      <normaloff>:res/qg_restrictorthogonal.xpm</normaloff>:res/qg_restrictorthogonal.xpm</iconset>
273    </property>
274    <property name="checkable">
275     <bool>true</bool>
276    </property>
277   </widget>
278   <widget class="QToolButton" name="bResHorizontal">
279    <property name="geometry">
280     <rect>
281      <x>0</x>
282      <y>208</y>
283      <width>28</width>
284      <height>28</height>
285     </rect>
286    </property>
287    <property name="toolTip">
288     <string>Horizontal Restriction</string>
289    </property>
290    <property name="text">
291     <string/>
292    </property>
293    <property name="icon">
294     <iconset resource="res/architektonas.qrc">
295      <normaloff>:res/qg_restricthorizontal.xpm</normaloff>:res/qg_restricthorizontal.xpm</iconset>
296    </property>
297    <property name="checkable">
298     <bool>true</bool>
299    </property>
300   </widget>
301   <widget class="QToolButton" name="bResVertical">
302    <property name="geometry">
303     <rect>
304      <x>28</x>
305      <y>208</y>
306      <width>28</width>
307      <height>28</height>
308     </rect>
309    </property>
310    <property name="toolTip">
311     <string>Vertical Restriction</string>
312    </property>
313    <property name="text">
314     <string/>
315    </property>
316    <property name="icon">
317     <iconset resource="res/architektonas.qrc">
318      <normaloff>:res/qg_restrictvertical.xpm</normaloff>:res/qg_restrictvertical.xpm</iconset>
319    </property>
320    <property name="checkable">
321     <bool>true</bool>
322    </property>
323   </widget>
324   <widget class="QToolButton" name="bRelZero">
325    <property name="geometry">
326     <rect>
327      <x>0</x>
328      <y>260</y>
329      <width>28</width>
330      <height>28</height>
331     </rect>
332    </property>
333    <property name="toolTip">
334     <string>Move relative Zero</string>
335    </property>
336    <property name="text">
337     <string/>
338    </property>
339    <property name="icon">
340     <iconset resource="res/architektonas.qrc">
341      <normaloff>:res/qg_relzeromove.xpm</normaloff>:res/qg_relzeromove.xpm</iconset>
342    </property>
343    <property name="checkable">
344     <bool>false</bool>
345    </property>
346   </widget>
347   <widget class="QToolButton" name="bLockRelZero">
348    <property name="geometry">
349     <rect>
350      <x>28</x>
351      <y>260</y>
352      <width>28</width>
353      <height>28</height>
354     </rect>
355    </property>
356    <property name="toolTip">
357     <string>Lock relative Zero</string>
358    </property>
359    <property name="text">
360     <string/>
361    </property>
362    <property name="icon">
363     <iconset resource="res/architektonas.qrc">
364      <normaloff>:res/qg_relzerolock.xpm</normaloff>:res/qg_relzerolock.xpm</iconset>
365    </property>
366    <property name="checkable">
367     <bool>true</bool>
368    </property>
369   </widget>
370   <widget class="QToolButton" name="bIntersectionManual">
371    <property name="geometry">
372     <rect>
373      <x>0</x>
374      <y>132</y>
375      <width>28</width>
376      <height>28</height>
377     </rect>
378    </property>
379    <property name="toolTip">
380     <string>Snap to intersections manually</string>
381    </property>
382    <property name="text">
383     <string/>
384    </property>
385    <property name="icon">
386     <iconset resource="res/architektonas.qrc">
387      <normaloff>:res/qg_snapintersectionm.xpm</normaloff>:res/qg_snapintersectionm.xpm</iconset>
388    </property>
389    <property name="checkable">
390     <bool>false</bool>
391    </property>
392   </widget>
393  </widget>
394  <layoutdefault spacing="6" margin="11"/>
395  <resources/>
396  <connections>
397   <connection>
398    <sender>bFree</sender>
399    <signal>clicked()</signal>
400    <receiver>CadToolBarSnap</receiver>
401    <slot>snapFree()</slot>
402    <hints>
403     <hint type="sourcelabel">
404      <x>20</x>
405      <y>20</y>
406     </hint>
407     <hint type="destinationlabel">
408      <x>20</x>
409      <y>20</y>
410     </hint>
411    </hints>
412   </connection>
413   <connection>
414    <sender>bGrid</sender>
415    <signal>clicked()</signal>
416    <receiver>CadToolBarSnap</receiver>
417    <slot>snapGrid()</slot>
418    <hints>
419     <hint type="sourcelabel">
420      <x>20</x>
421      <y>20</y>
422     </hint>
423     <hint type="destinationlabel">
424      <x>20</x>
425      <y>20</y>
426     </hint>
427    </hints>
428   </connection>
429   <connection>
430    <sender>bEndpoint</sender>
431    <signal>clicked()</signal>
432    <receiver>CadToolBarSnap</receiver>
433    <slot>snapEndpoint()</slot>
434    <hints>
435     <hint type="sourcelabel">
436      <x>20</x>
437      <y>20</y>
438     </hint>
439     <hint type="destinationlabel">
440      <x>20</x>
441      <y>20</y>
442     </hint>
443    </hints>
444   </connection>
445   <connection>
446    <sender>bOnEntity</sender>
447    <signal>clicked()</signal>
448    <receiver>CadToolBarSnap</receiver>
449    <slot>snapOnEntity()</slot>
450    <hints>
451     <hint type="sourcelabel">
452      <x>20</x>
453      <y>20</y>
454     </hint>
455     <hint type="destinationlabel">
456      <x>20</x>
457      <y>20</y>
458     </hint>
459    </hints>
460   </connection>
461   <connection>
462    <sender>bCenter</sender>
463    <signal>clicked()</signal>
464    <receiver>CadToolBarSnap</receiver>
465    <slot>snapCenter()</slot>
466    <hints>
467     <hint type="sourcelabel">
468      <x>20</x>
469      <y>20</y>
470     </hint>
471     <hint type="destinationlabel">
472      <x>20</x>
473      <y>20</y>
474     </hint>
475    </hints>
476   </connection>
477   <connection>
478    <sender>bMiddle</sender>
479    <signal>clicked()</signal>
480    <receiver>CadToolBarSnap</receiver>
481    <slot>snapMiddle()</slot>
482    <hints>
483     <hint type="sourcelabel">
484      <x>20</x>
485      <y>20</y>
486     </hint>
487     <hint type="destinationlabel">
488      <x>20</x>
489      <y>20</y>
490     </hint>
491    </hints>
492   </connection>
493   <connection>
494    <sender>bDist</sender>
495    <signal>clicked()</signal>
496    <receiver>CadToolBarSnap</receiver>
497    <slot>snapDist()</slot>
498    <hints>
499     <hint type="sourcelabel">
500      <x>20</x>
501      <y>20</y>
502     </hint>
503     <hint type="destinationlabel">
504      <x>20</x>
505      <y>20</y>
506     </hint>
507    </hints>
508   </connection>
509   <connection>
510    <sender>bIntersection</sender>
511    <signal>clicked()</signal>
512    <receiver>CadToolBarSnap</receiver>
513    <slot>snapIntersection()</slot>
514    <hints>
515     <hint type="sourcelabel">
516      <x>20</x>
517      <y>20</y>
518     </hint>
519     <hint type="destinationlabel">
520      <x>20</x>
521      <y>20</y>
522     </hint>
523    </hints>
524   </connection>
525   <connection>
526    <sender>bBack</sender>
527    <signal>clicked()</signal>
528    <receiver>CadToolBarSnap</receiver>
529    <slot>back()</slot>
530    <hints>
531     <hint type="sourcelabel">
532      <x>20</x>
533      <y>20</y>
534     </hint>
535     <hint type="destinationlabel">
536      <x>20</x>
537      <y>20</y>
538     </hint>
539    </hints>
540   </connection>
541   <connection>
542    <sender>bResOrthogonal</sender>
543    <signal>clicked()</signal>
544    <receiver>CadToolBarSnap</receiver>
545    <slot>restrictOrthogonal()</slot>
546    <hints>
547     <hint type="sourcelabel">
548      <x>20</x>
549      <y>20</y>
550     </hint>
551     <hint type="destinationlabel">
552      <x>20</x>
553      <y>20</y>
554     </hint>
555    </hints>
556   </connection>
557   <connection>
558    <sender>bResNothing</sender>
559    <signal>clicked()</signal>
560    <receiver>CadToolBarSnap</receiver>
561    <slot>restrictNothing()</slot>
562    <hints>
563     <hint type="sourcelabel">
564      <x>20</x>
565      <y>20</y>
566     </hint>
567     <hint type="destinationlabel">
568      <x>20</x>
569      <y>20</y>
570     </hint>
571    </hints>
572   </connection>
573   <connection>
574    <sender>bRelZero</sender>
575    <signal>clicked()</signal>
576    <receiver>CadToolBarSnap</receiver>
577    <slot>setRelativeZero()</slot>
578    <hints>
579     <hint type="sourcelabel">
580      <x>20</x>
581      <y>20</y>
582     </hint>
583     <hint type="destinationlabel">
584      <x>20</x>
585      <y>20</y>
586     </hint>
587    </hints>
588   </connection>
589   <connection>
590    <sender>bLockRelZero</sender>
591    <signal>toggled(bool)</signal>
592    <receiver>CadToolBarSnap</receiver>
593    <slot>lockRelativeZero(bool)</slot>
594    <hints>
595     <hint type="sourcelabel">
596      <x>20</x>
597      <y>20</y>
598     </hint>
599     <hint type="destinationlabel">
600      <x>20</x>
601      <y>20</y>
602     </hint>
603    </hints>
604   </connection>
605   <connection>
606    <sender>bResHorizontal</sender>
607    <signal>clicked()</signal>
608    <receiver>CadToolBarSnap</receiver>
609    <slot>restrictHorizontal()</slot>
610    <hints>
611     <hint type="sourcelabel">
612      <x>20</x>
613      <y>20</y>
614     </hint>
615     <hint type="destinationlabel">
616      <x>20</x>
617      <y>20</y>
618     </hint>
619    </hints>
620   </connection>
621   <connection>
622    <sender>bResVertical</sender>
623    <signal>clicked()</signal>
624    <receiver>CadToolBarSnap</receiver>
625    <slot>restrictVertical()</slot>
626    <hints>
627     <hint type="sourcelabel">
628      <x>20</x>
629      <y>20</y>
630     </hint>
631     <hint type="destinationlabel">
632      <x>20</x>
633      <y>20</y>
634     </hint>
635    </hints>
636   </connection>
637   <connection>
638    <sender>bIntersectionManual</sender>
639    <signal>clicked()</signal>
640    <receiver>CadToolBarSnap</receiver>
641    <slot>snapIntersectionManual()</slot>
642    <hints>
643     <hint type="sourcelabel">
644      <x>20</x>
645      <y>20</y>
646     </hint>
647     <hint type="destinationlabel">
648      <x>20</x>
649      <y>20</y>
650     </hint>
651    </hints>
652   </connection>
653  </connections>
654 </ui>