]> Shamusworld >> Repos - architektonas/blob - src/forms/dlghatch.ui
Bugfixes related to removing Snapper class.
[architektonas] / src / forms / dlghatch.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>DlgHatch</class>
4  <widget class="QDialog" name="DlgHatch">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>438</width>
10     <height>294</height>
11    </rect>
12   </property>
13   <property name="windowTitle">
14    <string>Choose Hatch Attributes</string>
15   </property>
16   <layout class="QVBoxLayout">
17    <item>
18     <layout class="QHBoxLayout">
19      <item>
20       <widget class="QGroupBox" name="bgParameter">
21        <property name="title">
22         <string>Pattern</string>
23        </property>
24        <layout class="QGridLayout">
25         <item row="2" column="1">
26          <widget class="QLineEdit" name="leScale"/>
27         </item>
28         <item row="3" column="1">
29          <widget class="QLineEdit" name="leAngle"/>
30         </item>
31         <item row="3" column="0">
32          <widget class="QLabel" name="lAngle">
33           <property name="text">
34            <string>Angle:</string>
35           </property>
36           <property name="wordWrap">
37            <bool>false</bool>
38           </property>
39          </widget>
40         </item>
41         <item row="2" column="0">
42          <widget class="QLabel" name="lScale">
43           <property name="text">
44            <string>Scale:</string>
45           </property>
46           <property name="wordWrap">
47            <bool>false</bool>
48           </property>
49          </widget>
50         </item>
51         <item row="1" column="0" colspan="2">
52          <widget class="PatternBox" name="cbPattern" native="true"/>
53         </item>
54         <item row="0" column="0" colspan="2">
55          <widget class="QCheckBox" name="cbSolid">
56           <property name="text">
57            <string>Solid Fill</string>
58           </property>
59          </widget>
60         </item>
61        </layout>
62       </widget>
63      </item>
64      <item>
65       <widget class="QGroupBox" name="bgPreview">
66        <property name="title">
67         <string>Preview</string>
68        </property>
69        <layout class="QVBoxLayout">
70         <item>
71          <widget class="QCheckBox" name="cbEnablePreview">
72           <property name="text">
73            <string>Enable Preview</string>
74           </property>
75          </widget>
76         </item>
77         <item>
78          <widget class="QG_GraphicView" name="gvPreview" native="true"/>
79         </item>
80        </layout>
81       </widget>
82      </item>
83     </layout>
84    </item>
85    <item>
86     <layout class="QHBoxLayout">
87      <property name="spacing">
88       <number>6</number>
89      </property>
90      <property name="margin">
91       <number>0</number>
92      </property>
93      <item>
94       <spacer name="Horizontal Spacing2">
95        <property name="orientation">
96         <enum>Qt::Horizontal</enum>
97        </property>
98        <property name="sizeType">
99         <enum>QSizePolicy::Expanding</enum>
100        </property>
101        <property name="sizeHint" stdset="0">
102         <size>
103          <width>20</width>
104          <height>20</height>
105         </size>
106        </property>
107       </spacer>
108      </item>
109      <item>
110       <widget class="QPushButton" name="buttonOk">
111        <property name="text">
112         <string>&amp;OK</string>
113        </property>
114        <property name="shortcut">
115         <string>Alt+O</string>
116        </property>
117        <property name="autoDefault">
118         <bool>true</bool>
119        </property>
120        <property name="default">
121         <bool>true</bool>
122        </property>
123       </widget>
124      </item>
125      <item>
126       <widget class="QPushButton" name="buttonCancel">
127        <property name="text">
128         <string>Cancel</string>
129        </property>
130        <property name="shortcut">
131         <string/>
132        </property>
133        <property name="autoDefault">
134         <bool>true</bool>
135        </property>
136       </widget>
137      </item>
138     </layout>
139    </item>
140   </layout>
141  </widget>
142  <layoutdefault spacing="6" margin="11"/>
143  <customwidgets>
144   <customwidget>
145    <class>PatternBox</class>
146    <extends>QWidget</extends>
147    <header>patternbox.h</header>
148   </customwidget>
149   <customwidget>
150    <class>QG_GraphicView</class>
151    <extends>QWidget</extends>
152    <header>qg_graphicview.h</header>
153   </customwidget>
154  </customwidgets>
155  <tabstops>
156   <tabstop>cbSolid</tabstop>
157   <tabstop>leScale</tabstop>
158   <tabstop>leAngle</tabstop>
159   <tabstop>cbEnablePreview</tabstop>
160   <tabstop>buttonOk</tabstop>
161   <tabstop>buttonCancel</tabstop>
162  </tabstops>
163  <resources/>
164  <connections>
165   <connection>
166    <sender>buttonOk</sender>
167    <signal>clicked()</signal>
168    <receiver>DlgHatch</receiver>
169    <slot>accept()</slot>
170    <hints>
171     <hint type="sourcelabel">
172      <x>20</x>
173      <y>20</y>
174     </hint>
175     <hint type="destinationlabel">
176      <x>20</x>
177      <y>20</y>
178     </hint>
179    </hints>
180   </connection>
181   <connection>
182    <sender>buttonCancel</sender>
183    <signal>clicked()</signal>
184    <receiver>DlgHatch</receiver>
185    <slot>reject()</slot>
186    <hints>
187     <hint type="sourcelabel">
188      <x>20</x>
189      <y>20</y>
190     </hint>
191     <hint type="destinationlabel">
192      <x>20</x>
193      <y>20</y>
194     </hint>
195    </hints>
196   </connection>
197   <connection>
198    <sender>cbSolid</sender>
199    <signal>toggled(bool)</signal>
200    <receiver>cbPattern</receiver>
201    <slot>setDisabled(bool)</slot>
202    <hints>
203     <hint type="sourcelabel">
204      <x>20</x>
205      <y>20</y>
206     </hint>
207     <hint type="destinationlabel">
208      <x>20</x>
209      <y>20</y>
210     </hint>
211    </hints>
212   </connection>
213   <connection>
214    <sender>cbSolid</sender>
215    <signal>toggled(bool)</signal>
216    <receiver>leScale</receiver>
217    <slot>setDisabled(bool)</slot>
218    <hints>
219     <hint type="sourcelabel">
220      <x>20</x>
221      <y>20</y>
222     </hint>
223     <hint type="destinationlabel">
224      <x>20</x>
225      <y>20</y>
226     </hint>
227    </hints>
228   </connection>
229   <connection>
230    <sender>cbSolid</sender>
231    <signal>toggled(bool)</signal>
232    <receiver>lScale</receiver>
233    <slot>setDisabled(bool)</slot>
234    <hints>
235     <hint type="sourcelabel">
236      <x>20</x>
237      <y>20</y>
238     </hint>
239     <hint type="destinationlabel">
240      <x>20</x>
241      <y>20</y>
242     </hint>
243    </hints>
244   </connection>
245   <connection>
246    <sender>cbSolid</sender>
247    <signal>toggled(bool)</signal>
248    <receiver>leAngle</receiver>
249    <slot>setDisabled(bool)</slot>
250    <hints>
251     <hint type="sourcelabel">
252      <x>20</x>
253      <y>20</y>
254     </hint>
255     <hint type="destinationlabel">
256      <x>20</x>
257      <y>20</y>
258     </hint>
259    </hints>
260   </connection>
261   <connection>
262    <sender>cbSolid</sender>
263    <signal>toggled(bool)</signal>
264    <receiver>lAngle</receiver>
265    <slot>setDisabled(bool)</slot>
266    <hints>
267     <hint type="sourcelabel">
268      <x>20</x>
269      <y>20</y>
270     </hint>
271     <hint type="destinationlabel">
272      <x>20</x>
273      <y>20</y>
274     </hint>
275    </hints>
276   </connection>
277   <connection>
278    <sender>cbPattern</sender>
279    <signal>patternChanged(Pattern*)</signal>
280    <receiver>DlgHatch</receiver>
281    <slot>updatePreview(Pattern*)</slot>
282    <hints>
283     <hint type="sourcelabel">
284      <x>20</x>
285      <y>20</y>
286     </hint>
287     <hint type="destinationlabel">
288      <x>20</x>
289      <y>20</y>
290     </hint>
291    </hints>
292   </connection>
293   <connection>
294    <sender>cbSolid</sender>
295    <signal>toggled(bool)</signal>
296    <receiver>DlgHatch</receiver>
297    <slot>updatePreview()</slot>
298    <hints>
299     <hint type="sourcelabel">
300      <x>20</x>
301      <y>20</y>
302     </hint>
303     <hint type="destinationlabel">
304      <x>20</x>
305      <y>20</y>
306     </hint>
307    </hints>
308   </connection>
309   <connection>
310    <sender>leAngle</sender>
311    <signal>textChanged(QString)</signal>
312    <receiver>DlgHatch</receiver>
313    <slot>updatePreview()</slot>
314    <hints>
315     <hint type="sourcelabel">
316      <x>20</x>
317      <y>20</y>
318     </hint>
319     <hint type="destinationlabel">
320      <x>20</x>
321      <y>20</y>
322     </hint>
323    </hints>
324   </connection>
325   <connection>
326    <sender>cbEnablePreview</sender>
327    <signal>toggled(bool)</signal>
328    <receiver>DlgHatch</receiver>
329    <slot>updatePreview()</slot>
330    <hints>
331     <hint type="sourcelabel">
332      <x>20</x>
333      <y>20</y>
334     </hint>
335     <hint type="destinationlabel">
336      <x>20</x>
337      <y>20</y>
338     </hint>
339    </hints>
340   </connection>
341  </connections>
342 </ui>