src/dialogs/generateprimitivedialog.ui

changeset 1339
1f342d5abc85
parent 1019
a2e4286adb0d
equal deleted inserted replaced
1338:1152c9fefa3e 1339:1f342d5abc85
4 <widget class="QDialog" name="GeneratePrimitiveDialog"> 4 <widget class="QDialog" name="GeneratePrimitiveDialog">
5 <property name="geometry"> 5 <property name="geometry">
6 <rect> 6 <rect>
7 <x>0</x> 7 <x>0</x>
8 <y>0</y> 8 <y>0</y>
9 <width>413</width> 9 <width>446</width>
10 <height>169</height> 10 <height>193</height>
11 </rect> 11 </rect>
12 </property> 12 </property>
13 <property name="windowTitle"> 13 <property name="windowTitle">
14 <string>Generate Primitive</string> 14 <string>Generate Primitive</string>
15 </property> 15 </property>
44 </widget> 44 </widget>
45 </item> 45 </item>
46 <item row="1" column="1"> 46 <item row="1" column="1">
47 <widget class="QRadioButton" name="typeCylinder"> 47 <widget class="QRadioButton" name="typeCylinder">
48 <property name="text"> 48 <property name="text">
49 <string>Cylinder</string> 49 <string>C&amp;ylinder</string>
50 </property> 50 </property>
51 </widget> 51 </widget>
52 </item> 52 </item>
53 <item row="2" column="0"> 53 <item row="2" column="0">
54 <widget class="QRadioButton" name="typeDisc"> 54 <widget class="QRadioButton" name="typeDisc">
58 </widget> 58 </widget>
59 </item> 59 </item>
60 <item row="2" column="1"> 60 <item row="2" column="1">
61 <widget class="QRadioButton" name="typeDiscNegative"> 61 <widget class="QRadioButton" name="typeDiscNegative">
62 <property name="text"> 62 <property name="text">
63 <string>Disc Negative</string> 63 <string>Disc &amp;Negative</string>
64 </property> 64 </property>
65 </widget> 65 </widget>
66 </item> 66 </item>
67 <item row="3" column="0"> 67 <item row="3" column="0">
68 <widget class="QRadioButton" name="typeRing"> 68 <widget class="QRadioButton" name="typeRing">
97 </size> 97 </size>
98 </property> 98 </property>
99 </spacer> 99 </spacer>
100 </item> 100 </item>
101 <item> 101 <item>
102 <widget class="QCheckBox" name="highResolution">
103 <property name="text">
104 <string>High resolution (48)</string>
105 </property>
106 </widget>
107 </item>
108 <item>
109 <layout class="QGridLayout" name="gridLayout_2"> 102 <layout class="QGridLayout" name="gridLayout_2">
110 <item row="0" column="0"> 103 <item row="2" column="1">
104 <widget class="QSpinBox" name="ringNumber">
105 <property name="enabled">
106 <bool>false</bool>
107 </property>
108 </widget>
109 </item>
110 <item row="2" column="0">
111 <widget class="QLabel" name="label_2">
112 <property name="text">
113 <string>Ring number:</string>
114 </property>
115 <property name="buddy">
116 <cstring>ringNumber</cstring>
117 </property>
118 </widget>
119 </item>
120 <item row="1" column="1">
121 <widget class="QSpinBox" name="segments">
122 <property name="minimum">
123 <number>1</number>
124 </property>
125 <property name="maximum">
126 <number>16</number>
127 </property>
128 <property name="value">
129 <number>16</number>
130 </property>
131 </widget>
132 </item>
133 <item row="1" column="0">
111 <widget class="QLabel" name="label"> 134 <widget class="QLabel" name="label">
112 <property name="text"> 135 <property name="text">
113 <string>Segments:</string> 136 <string>Segments:</string>
114 </property> 137 </property>
115 </widget> 138 <property name="buddy">
116 </item> 139 <cstring>segments</cstring>
117 <item row="1" column="0"> 140 </property>
118 <widget class="QLabel" name="label_2"> 141 </widget>
142 </item>
143 <item row="0" column="1">
144 <widget class="QComboBox" name="divisions">
145 <property name="currentIndex">
146 <number>1</number>
147 </property>
148 <item>
149 <property name="text">
150 <string>8</string>
151 </property>
152 </item>
153 <item>
154 <property name="text">
155 <string>16</string>
156 </property>
157 </item>
158 <item>
159 <property name="text">
160 <string>48</string>
161 </property>
162 </item>
163 </widget>
164 </item>
165 <item row="0" column="0">
166 <widget class="QLabel" name="label_3">
119 <property name="text"> 167 <property name="text">
120 <string>Ring number:</string> 168 <string>Di&amp;visions:</string>
121 </property> 169 </property>
122 </widget> 170 <property name="buddy">
123 </item> 171 <cstring>divisions</cstring>
124 <item row="0" column="1">
125 <widget class="QSpinBox" name="segments">
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="ringNumber">
139 <property name="enabled">
140 <bool>false</bool>
141 </property> 172 </property>
142 </widget> 173 </widget>
143 </item> 174 </item>
144 </layout> 175 </layout>
145 </item> 176 </item>
179 <signal>accepted()</signal> 210 <signal>accepted()</signal>
180 <receiver>GeneratePrimitiveDialog</receiver> 211 <receiver>GeneratePrimitiveDialog</receiver>
181 <slot>accept()</slot> 212 <slot>accept()</slot>
182 <hints> 213 <hints>
183 <hint type="sourcelabel"> 214 <hint type="sourcelabel">
184 <x>254</x> 215 <x>263</x>
185 <y>140</y> 216 <y>183</y>
186 </hint> 217 </hint>
187 <hint type="destinationlabel"> 218 <hint type="destinationlabel">
188 <x>157</x> 219 <x>157</x>
189 <y>146</y> 220 <y>146</y>
190 </hint> 221 </hint>
195 <signal>rejected()</signal> 226 <signal>rejected()</signal>
196 <receiver>GeneratePrimitiveDialog</receiver> 227 <receiver>GeneratePrimitiveDialog</receiver>
197 <slot>reject()</slot> 228 <slot>reject()</slot>
198 <hints> 229 <hints>
199 <hint type="sourcelabel"> 230 <hint type="sourcelabel">
200 <x>322</x> 231 <x>331</x>
201 <y>140</y> 232 <y>183</y>
202 </hint> 233 </hint>
203 <hint type="destinationlabel"> 234 <hint type="destinationlabel">
204 <x>286</x> 235 <x>286</x>
205 <y>146</y> 236 <y>146</y>
206 </hint> 237 </hint>
215 <hint type="sourcelabel"> 246 <hint type="sourcelabel">
216 <x>45</x> 247 <x>45</x>
217 <y>41</y> 248 <y>41</y>
218 </hint> 249 </hint>
219 <hint type="destinationlabel"> 250 <hint type="destinationlabel">
220 <x>305</x> 251 <x>433</x>
221 <y>86</y> 252 <y>131</y>
222 </hint> 253 </hint>
223 </hints> 254 </hints>
224 </connection> 255 </connection>
225 <connection> 256 <connection>
226 <sender>typeCylinder</sender> 257 <sender>typeCylinder</sender>
231 <hint type="sourcelabel"> 262 <hint type="sourcelabel">
232 <x>109</x> 263 <x>109</x>
233 <y>42</y> 264 <y>42</y>
234 </hint> 265 </hint>
235 <hint type="destinationlabel"> 266 <hint type="destinationlabel">
236 <x>287</x> 267 <x>433</x>
237 <y>86</y> 268 <y>131</y>
238 </hint> 269 </hint>
239 </hints> 270 </hints>
240 </connection> 271 </connection>
241 <connection> 272 <connection>
242 <sender>typeDisc</sender> 273 <sender>typeDisc</sender>
243 <signal>clicked(bool)</signal> 274 <signal>clicked(bool)</signal>
244 <receiver>ringNumber</receiver> 275 <receiver>ringNumber</receiver>
245 <slot>setDisabled(bool)</slot> 276 <slot>setDisabled(bool)</slot>
246 <hints> 277 <hints>
247 <hint type="sourcelabel"> 278 <hint type="sourcelabel">
248 <x>49</x> 279 <x>77</x>
249 <y>66</y> 280 <y>97</y>
250 </hint> 281 </hint>
251 <hint type="destinationlabel"> 282 <hint type="destinationlabel">
252 <x>287</x> 283 <x>433</x>
253 <y>87</y> 284 <y>131</y>
254 </hint> 285 </hint>
255 </hints> 286 </hints>
256 </connection> 287 </connection>
257 <connection> 288 <connection>
258 <sender>typeDiscNegative</sender> 289 <sender>typeDiscNegative</sender>
259 <signal>clicked(bool)</signal> 290 <signal>clicked(bool)</signal>
260 <receiver>ringNumber</receiver> 291 <receiver>ringNumber</receiver>
261 <slot>setDisabled(bool)</slot> 292 <slot>setDisabled(bool)</slot>
262 <hints> 293 <hints>
263 <hint type="sourcelabel"> 294 <hint type="sourcelabel">
264 <x>121</x> 295 <x>221</x>
265 <y>58</y> 296 <y>97</y>
266 </hint> 297 </hint>
267 <hint type="destinationlabel"> 298 <hint type="destinationlabel">
268 <x>288</x> 299 <x>433</x>
269 <y>83</y> 300 <y>131</y>
270 </hint> 301 </hint>
271 </hints> 302 </hints>
272 </connection> 303 </connection>
273 <connection> 304 <connection>
274 <sender>typeRing</sender> 305 <sender>typeRing</sender>
275 <signal>clicked(bool)</signal> 306 <signal>clicked(bool)</signal>
276 <receiver>ringNumber</receiver> 307 <receiver>ringNumber</receiver>
277 <slot>setEnabled(bool)</slot> 308 <slot>setEnabled(bool)</slot>
278 <hints> 309 <hints>
279 <hint type="sourcelabel"> 310 <hint type="sourcelabel">
280 <x>45</x> 311 <x>73</x>
281 <y>90</y> 312 <y>131</y>
282 </hint> 313 </hint>
283 <hint type="destinationlabel"> 314 <hint type="destinationlabel">
284 <x>301</x> 315 <x>433</x>
285 <y>86</y> 316 <y>131</y>
286 </hint> 317 </hint>
287 </hints> 318 </hints>
288 </connection> 319 </connection>
289 <connection> 320 <connection>
290 <sender>typeCone</sender> 321 <sender>typeCone</sender>
291 <signal>clicked(bool)</signal> 322 <signal>clicked(bool)</signal>
292 <receiver>ringNumber</receiver> 323 <receiver>ringNumber</receiver>
293 <slot>setEnabled(bool)</slot> 324 <slot>setEnabled(bool)</slot>
294 <hints> 325 <hints>
295 <hint type="sourcelabel"> 326 <hint type="sourcelabel">
296 <x>111</x> 327 <x>217</x>
297 <y>89</y> 328 <y>131</y>
298 </hint> 329 </hint>
299 <hint type="destinationlabel"> 330 <hint type="destinationlabel">
300 <x>302</x> 331 <x>433</x>
301 <y>85</y> 332 <y>131</y>
302 </hint> 333 </hint>
303 </hints> 334 </hints>
304 </connection> 335 </connection>
305 </connections> 336 </connections>
306 <slots> 337 <slots>

mercurial