|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <ui version="4.0"> |
|
3 <class>MakePrimUI</class> |
|
4 <widget class="QDialog" name="MakePrimUI"> |
|
5 <property name="geometry"> |
|
6 <rect> |
|
7 <x>0</x> |
|
8 <y>0</y> |
|
9 <width>336</width> |
|
10 <height>147</height> |
|
11 </rect> |
|
12 </property> |
|
13 <property name="windowTitle"> |
|
14 <string>Generate a Primitive</string> |
|
15 </property> |
|
16 <layout class="QVBoxLayout" name="verticalLayout"> |
|
17 <item> |
|
18 <layout class="QHBoxLayout" name="horizontalLayout" stretch="0,0"> |
|
19 <item> |
|
20 <layout class="QVBoxLayout" name="verticalLayout_6"> |
|
21 <item> |
|
22 <widget class="QGroupBox" name="gb_type"> |
|
23 <property name="sizePolicy"> |
|
24 <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> |
|
25 <horstretch>0</horstretch> |
|
26 <verstretch>0</verstretch> |
|
27 </sizepolicy> |
|
28 </property> |
|
29 <property name="title"> |
|
30 <string>Type</string> |
|
31 </property> |
|
32 <layout class="QGridLayout" name="gridLayout_3"> |
|
33 <item row="1" column="0"> |
|
34 <widget class="QRadioButton" name="rb_circle"> |
|
35 <property name="text"> |
|
36 <string>Circle</string> |
|
37 </property> |
|
38 <property name="checked"> |
|
39 <bool>true</bool> |
|
40 </property> |
|
41 <property name="autoRepeat"> |
|
42 <bool>false</bool> |
|
43 </property> |
|
44 </widget> |
|
45 </item> |
|
46 <item row="1" column="1"> |
|
47 <widget class="QRadioButton" name="rb_cylinder"> |
|
48 <property name="text"> |
|
49 <string>Cylinder</string> |
|
50 </property> |
|
51 </widget> |
|
52 </item> |
|
53 <item row="2" column="0"> |
|
54 <widget class="QRadioButton" name="rb_disc"> |
|
55 <property name="text"> |
|
56 <string>Disc</string> |
|
57 </property> |
|
58 </widget> |
|
59 </item> |
|
60 <item row="2" column="1"> |
|
61 <widget class="QRadioButton" name="rb_ndisc"> |
|
62 <property name="text"> |
|
63 <string>Disc Negative</string> |
|
64 </property> |
|
65 </widget> |
|
66 </item> |
|
67 <item row="3" column="0"> |
|
68 <widget class="QRadioButton" name="rb_ring"> |
|
69 <property name="text"> |
|
70 <string>Ring</string> |
|
71 </property> |
|
72 </widget> |
|
73 </item> |
|
74 <item row="3" column="1"> |
|
75 <widget class="QRadioButton" name="rb_cone"> |
|
76 <property name="text"> |
|
77 <string>Cone</string> |
|
78 </property> |
|
79 </widget> |
|
80 </item> |
|
81 </layout> |
|
82 </widget> |
|
83 </item> |
|
84 </layout> |
|
85 </item> |
|
86 <item> |
|
87 <layout class="QVBoxLayout" name="verticalLayout_2"> |
|
88 <item> |
|
89 <spacer name="verticalSpacer_2"> |
|
90 <property name="orientation"> |
|
91 <enum>Qt::Vertical</enum> |
|
92 </property> |
|
93 <property name="sizeHint" stdset="0"> |
|
94 <size> |
|
95 <width>20</width> |
|
96 <height>40</height> |
|
97 </size> |
|
98 </property> |
|
99 </spacer> |
|
100 </item> |
|
101 <item> |
|
102 <widget class="QCheckBox" name="cb_hires"> |
|
103 <property name="text"> |
|
104 <string>Hi-res</string> |
|
105 </property> |
|
106 </widget> |
|
107 </item> |
|
108 <item> |
|
109 <layout class="QGridLayout" name="gridLayout_2"> |
|
110 <item row="0" column="0"> |
|
111 <widget class="QLabel" name="label"> |
|
112 <property name="text"> |
|
113 <string>Segments:</string> |
|
114 </property> |
|
115 </widget> |
|
116 </item> |
|
117 <item row="1" column="0"> |
|
118 <widget class="QLabel" name="label_2"> |
|
119 <property name="text"> |
|
120 <string>Ring number:</string> |
|
121 </property> |
|
122 </widget> |
|
123 </item> |
|
124 <item row="0" column="1"> |
|
125 <widget class="QSpinBox" name="sb_segs"> |
|
126 <property name="minimum"> |
|
127 <number>1</number> |
|
128 </property> |
|
129 <property name="maximum"> |
|
130 <number>16</number> |
|
131 </property> |
|
132 <property name="value"> |
|
133 <number>16</number> |
|
134 </property> |
|
135 </widget> |
|
136 </item> |
|
137 <item row="1" column="1"> |
|
138 <widget class="QSpinBox" name="sb_ringnum"> |
|
139 <property name="enabled"> |
|
140 <bool>false</bool> |
|
141 </property> |
|
142 </widget> |
|
143 </item> |
|
144 </layout> |
|
145 </item> |
|
146 <item> |
|
147 <spacer name="verticalSpacer"> |
|
148 <property name="orientation"> |
|
149 <enum>Qt::Vertical</enum> |
|
150 </property> |
|
151 <property name="sizeHint" stdset="0"> |
|
152 <size> |
|
153 <width>20</width> |
|
154 <height>40</height> |
|
155 </size> |
|
156 </property> |
|
157 </spacer> |
|
158 </item> |
|
159 </layout> |
|
160 </item> |
|
161 </layout> |
|
162 </item> |
|
163 <item> |
|
164 <widget class="QDialogButtonBox" name="buttonBox"> |
|
165 <property name="orientation"> |
|
166 <enum>Qt::Horizontal</enum> |
|
167 </property> |
|
168 <property name="standardButtons"> |
|
169 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> |
|
170 </property> |
|
171 </widget> |
|
172 </item> |
|
173 </layout> |
|
174 </widget> |
|
175 <resources/> |
|
176 <connections> |
|
177 <connection> |
|
178 <sender>buttonBox</sender> |
|
179 <signal>accepted()</signal> |
|
180 <receiver>MakePrimUI</receiver> |
|
181 <slot>accept()</slot> |
|
182 <hints> |
|
183 <hint type="sourcelabel"> |
|
184 <x>254</x> |
|
185 <y>140</y> |
|
186 </hint> |
|
187 <hint type="destinationlabel"> |
|
188 <x>157</x> |
|
189 <y>146</y> |
|
190 </hint> |
|
191 </hints> |
|
192 </connection> |
|
193 <connection> |
|
194 <sender>buttonBox</sender> |
|
195 <signal>rejected()</signal> |
|
196 <receiver>MakePrimUI</receiver> |
|
197 <slot>reject()</slot> |
|
198 <hints> |
|
199 <hint type="sourcelabel"> |
|
200 <x>322</x> |
|
201 <y>140</y> |
|
202 </hint> |
|
203 <hint type="destinationlabel"> |
|
204 <x>286</x> |
|
205 <y>146</y> |
|
206 </hint> |
|
207 </hints> |
|
208 </connection> |
|
209 <connection> |
|
210 <sender>rb_circle</sender> |
|
211 <signal>clicked(bool)</signal> |
|
212 <receiver>sb_ringnum</receiver> |
|
213 <slot>setDisabled(bool)</slot> |
|
214 <hints> |
|
215 <hint type="sourcelabel"> |
|
216 <x>45</x> |
|
217 <y>41</y> |
|
218 </hint> |
|
219 <hint type="destinationlabel"> |
|
220 <x>305</x> |
|
221 <y>86</y> |
|
222 </hint> |
|
223 </hints> |
|
224 </connection> |
|
225 <connection> |
|
226 <sender>rb_cylinder</sender> |
|
227 <signal>clicked(bool)</signal> |
|
228 <receiver>sb_ringnum</receiver> |
|
229 <slot>setDisabled(bool)</slot> |
|
230 <hints> |
|
231 <hint type="sourcelabel"> |
|
232 <x>109</x> |
|
233 <y>42</y> |
|
234 </hint> |
|
235 <hint type="destinationlabel"> |
|
236 <x>287</x> |
|
237 <y>86</y> |
|
238 </hint> |
|
239 </hints> |
|
240 </connection> |
|
241 <connection> |
|
242 <sender>rb_disc</sender> |
|
243 <signal>clicked(bool)</signal> |
|
244 <receiver>sb_ringnum</receiver> |
|
245 <slot>setDisabled(bool)</slot> |
|
246 <hints> |
|
247 <hint type="sourcelabel"> |
|
248 <x>49</x> |
|
249 <y>66</y> |
|
250 </hint> |
|
251 <hint type="destinationlabel"> |
|
252 <x>287</x> |
|
253 <y>87</y> |
|
254 </hint> |
|
255 </hints> |
|
256 </connection> |
|
257 <connection> |
|
258 <sender>rb_ndisc</sender> |
|
259 <signal>clicked(bool)</signal> |
|
260 <receiver>sb_ringnum</receiver> |
|
261 <slot>setDisabled(bool)</slot> |
|
262 <hints> |
|
263 <hint type="sourcelabel"> |
|
264 <x>121</x> |
|
265 <y>58</y> |
|
266 </hint> |
|
267 <hint type="destinationlabel"> |
|
268 <x>288</x> |
|
269 <y>83</y> |
|
270 </hint> |
|
271 </hints> |
|
272 </connection> |
|
273 <connection> |
|
274 <sender>rb_ring</sender> |
|
275 <signal>clicked(bool)</signal> |
|
276 <receiver>sb_ringnum</receiver> |
|
277 <slot>setEnabled(bool)</slot> |
|
278 <hints> |
|
279 <hint type="sourcelabel"> |
|
280 <x>45</x> |
|
281 <y>90</y> |
|
282 </hint> |
|
283 <hint type="destinationlabel"> |
|
284 <x>301</x> |
|
285 <y>86</y> |
|
286 </hint> |
|
287 </hints> |
|
288 </connection> |
|
289 <connection> |
|
290 <sender>rb_cone</sender> |
|
291 <signal>clicked(bool)</signal> |
|
292 <receiver>sb_ringnum</receiver> |
|
293 <slot>setEnabled(bool)</slot> |
|
294 <hints> |
|
295 <hint type="sourcelabel"> |
|
296 <x>111</x> |
|
297 <y>89</y> |
|
298 </hint> |
|
299 <hint type="destinationlabel"> |
|
300 <x>302</x> |
|
301 <y>85</y> |
|
302 </hint> |
|
303 </hints> |
|
304 </connection> |
|
305 </connections> |
|
306 <slots> |
|
307 <slot>enableRingNumber()</slot> |
|
308 </slots> |
|
309 </ui> |