1 <?xml version="1.0" encoding="UTF-8"?>
3 <class>DlgHatch</class>
4 <widget class="QDialog" name="DlgHatch">
5 <property name="geometry">
13 <property name="windowTitle">
14 <string>Choose Hatch Attributes</string>
16 <layout class="QVBoxLayout">
18 <layout class="QHBoxLayout">
20 <widget class="QGroupBox" name="bgParameter">
21 <property name="title">
22 <string>Pattern</string>
24 <layout class="QGridLayout">
25 <item row="2" column="1">
26 <widget class="QLineEdit" name="leScale"/>
28 <item row="3" column="1">
29 <widget class="QLineEdit" name="leAngle"/>
31 <item row="3" column="0">
32 <widget class="QLabel" name="lAngle">
33 <property name="text">
34 <string>Angle:</string>
36 <property name="wordWrap">
41 <item row="2" column="0">
42 <widget class="QLabel" name="lScale">
43 <property name="text">
44 <string>Scale:</string>
46 <property name="wordWrap">
51 <item row="1" column="0" colspan="2">
52 <widget class="PatternBox" name="cbPattern" native="true"/>
54 <item row="0" column="0" colspan="2">
55 <widget class="QCheckBox" name="cbSolid">
56 <property name="text">
57 <string>Solid Fill</string>
65 <widget class="QGroupBox" name="bgPreview">
66 <property name="title">
67 <string>Preview</string>
69 <layout class="QVBoxLayout">
71 <widget class="QCheckBox" name="cbEnablePreview">
72 <property name="text">
73 <string>Enable Preview</string>
78 <widget class="QG_GraphicView" name="gvPreview" native="true"/>
86 <layout class="QHBoxLayout">
87 <property name="spacing">
90 <property name="margin">
94 <spacer name="Horizontal Spacing2">
95 <property name="orientation">
96 <enum>Qt::Horizontal</enum>
98 <property name="sizeType">
99 <enum>QSizePolicy::Expanding</enum>
101 <property name="sizeHint" stdset="0">
110 <widget class="QPushButton" name="buttonOk">
111 <property name="text">
112 <string>&OK</string>
114 <property name="shortcut">
115 <string>Alt+O</string>
117 <property name="autoDefault">
120 <property name="default">
126 <widget class="QPushButton" name="buttonCancel">
127 <property name="text">
128 <string>Cancel</string>
130 <property name="shortcut">
133 <property name="autoDefault">
142 <layoutdefault spacing="6" margin="11"/>
145 <class>PatternBox</class>
146 <extends>QWidget</extends>
147 <header>patternbox.h</header>
150 <class>QG_GraphicView</class>
151 <extends>QWidget</extends>
152 <header>qg_graphicview.h</header>
156 <tabstop>cbSolid</tabstop>
157 <tabstop>leScale</tabstop>
158 <tabstop>leAngle</tabstop>
159 <tabstop>cbEnablePreview</tabstop>
160 <tabstop>buttonOk</tabstop>
161 <tabstop>buttonCancel</tabstop>
166 <sender>buttonOk</sender>
167 <signal>clicked()</signal>
168 <receiver>DlgHatch</receiver>
169 <slot>accept()</slot>
171 <hint type="sourcelabel">
175 <hint type="destinationlabel">
182 <sender>buttonCancel</sender>
183 <signal>clicked()</signal>
184 <receiver>DlgHatch</receiver>
185 <slot>reject()</slot>
187 <hint type="sourcelabel">
191 <hint type="destinationlabel">
198 <sender>cbSolid</sender>
199 <signal>toggled(bool)</signal>
200 <receiver>cbPattern</receiver>
201 <slot>setDisabled(bool)</slot>
203 <hint type="sourcelabel">
207 <hint type="destinationlabel">
214 <sender>cbSolid</sender>
215 <signal>toggled(bool)</signal>
216 <receiver>leScale</receiver>
217 <slot>setDisabled(bool)</slot>
219 <hint type="sourcelabel">
223 <hint type="destinationlabel">
230 <sender>cbSolid</sender>
231 <signal>toggled(bool)</signal>
232 <receiver>lScale</receiver>
233 <slot>setDisabled(bool)</slot>
235 <hint type="sourcelabel">
239 <hint type="destinationlabel">
246 <sender>cbSolid</sender>
247 <signal>toggled(bool)</signal>
248 <receiver>leAngle</receiver>
249 <slot>setDisabled(bool)</slot>
251 <hint type="sourcelabel">
255 <hint type="destinationlabel">
262 <sender>cbSolid</sender>
263 <signal>toggled(bool)</signal>
264 <receiver>lAngle</receiver>
265 <slot>setDisabled(bool)</slot>
267 <hint type="sourcelabel">
271 <hint type="destinationlabel">
278 <sender>cbPattern</sender>
279 <signal>patternChanged(Pattern*)</signal>
280 <receiver>DlgHatch</receiver>
281 <slot>updatePreview(Pattern*)</slot>
283 <hint type="sourcelabel">
287 <hint type="destinationlabel">
294 <sender>cbSolid</sender>
295 <signal>toggled(bool)</signal>
296 <receiver>DlgHatch</receiver>
297 <slot>updatePreview()</slot>
299 <hint type="sourcelabel">
303 <hint type="destinationlabel">
310 <sender>leAngle</sender>
311 <signal>textChanged(QString)</signal>
312 <receiver>DlgHatch</receiver>
313 <slot>updatePreview()</slot>
315 <hint type="sourcelabel">
319 <hint type="destinationlabel">
326 <sender>cbEnablePreview</sender>
327 <signal>toggled(bool)</signal>
328 <receiver>DlgHatch</receiver>
329 <slot>updatePreview()</slot>
331 <hint type="sourcelabel">
335 <hint type="destinationlabel">