|
1 <!DOCTYPE UI><UI version="3.0" stdsetdef="1"> |
|
2 <class>GLLandscapeViewer</class> |
|
3 <widget class="QWidget"> |
|
4 <property name="name"> |
|
5 <cstring>GLLandscapeViewer</cstring> |
|
6 </property> |
|
7 <property name="geometry"> |
|
8 <rect> |
|
9 <x>0</x> |
|
10 <y>0</y> |
|
11 <width>731</width> |
|
12 <height>519</height> |
|
13 </rect> |
|
14 </property> |
|
15 <property name="caption"> |
|
16 <string>Qt/OpenGL example</string> |
|
17 </property> |
|
18 <property name="layoutMargin" stdset="0"> |
|
19 </property> |
|
20 <grid> |
|
21 <property name="name"> |
|
22 <cstring>unnamed</cstring> |
|
23 </property> |
|
24 <property name="margin"> |
|
25 <number>11</number> |
|
26 </property> |
|
27 <property name="spacing"> |
|
28 <number>6</number> |
|
29 </property> |
|
30 <widget class="QLayoutWidget" row="1" column="0"> |
|
31 <property name="name"> |
|
32 <cstring>Layout9</cstring> |
|
33 </property> |
|
34 <hbox> |
|
35 <property name="name"> |
|
36 <cstring>unnamed</cstring> |
|
37 </property> |
|
38 <property name="margin"> |
|
39 <number>0</number> |
|
40 </property> |
|
41 <property name="spacing"> |
|
42 <number>18</number> |
|
43 </property> |
|
44 <widget class="QLayoutWidget"> |
|
45 <property name="name"> |
|
46 <cstring>Layout5</cstring> |
|
47 </property> |
|
48 <vbox> |
|
49 <property name="name"> |
|
50 <cstring>unnamed</cstring> |
|
51 </property> |
|
52 <property name="margin"> |
|
53 <number>0</number> |
|
54 </property> |
|
55 <property name="spacing"> |
|
56 <number>6</number> |
|
57 </property> |
|
58 <widget class="QLabel"> |
|
59 <property name="name"> |
|
60 <cstring>TextLabel1</cstring> |
|
61 </property> |
|
62 <property name="sizePolicy"> |
|
63 <sizepolicy> |
|
64 <hsizetype>1</hsizetype> |
|
65 <vsizetype>0</vsizetype> |
|
66 <horstretch>0</horstretch> |
|
67 <verstretch>0</verstretch> |
|
68 </sizepolicy> |
|
69 </property> |
|
70 <property name="text"> |
|
71 <string>X-rotation</string> |
|
72 </property> |
|
73 </widget> |
|
74 <widget class="QThumbWheel"> |
|
75 <property name="name"> |
|
76 <cstring>wheelX</cstring> |
|
77 </property> |
|
78 <property name="sizePolicy"> |
|
79 <sizepolicy> |
|
80 <hsizetype>5</hsizetype> |
|
81 <vsizetype>0</vsizetype> |
|
82 <horstretch>0</horstretch> |
|
83 <verstretch>0</verstretch> |
|
84 </sizepolicy> |
|
85 </property> |
|
86 <property name="minimumSize"> |
|
87 <size> |
|
88 <width>100</width> |
|
89 <height>30</height> |
|
90 </size> |
|
91 </property> |
|
92 </widget> |
|
93 </vbox> |
|
94 </widget> |
|
95 <widget class="QLayoutWidget"> |
|
96 <property name="name"> |
|
97 <cstring>Layout6</cstring> |
|
98 </property> |
|
99 <vbox> |
|
100 <property name="name"> |
|
101 <cstring>unnamed</cstring> |
|
102 </property> |
|
103 <property name="margin"> |
|
104 <number>0</number> |
|
105 </property> |
|
106 <property name="spacing"> |
|
107 <number>6</number> |
|
108 </property> |
|
109 <widget class="QLabel"> |
|
110 <property name="name"> |
|
111 <cstring>TextLabel1_2</cstring> |
|
112 </property> |
|
113 <property name="sizePolicy"> |
|
114 <sizepolicy> |
|
115 <hsizetype>1</hsizetype> |
|
116 <vsizetype>0</vsizetype> |
|
117 <horstretch>0</horstretch> |
|
118 <verstretch>0</verstretch> |
|
119 </sizepolicy> |
|
120 </property> |
|
121 <property name="text"> |
|
122 <string>Y-rotation</string> |
|
123 </property> |
|
124 </widget> |
|
125 <widget class="QThumbWheel"> |
|
126 <property name="name"> |
|
127 <cstring>wheelY</cstring> |
|
128 </property> |
|
129 <property name="minimumSize"> |
|
130 <size> |
|
131 <width>100</width> |
|
132 <height>30</height> |
|
133 </size> |
|
134 </property> |
|
135 </widget> |
|
136 </vbox> |
|
137 </widget> |
|
138 <widget class="QLayoutWidget"> |
|
139 <property name="name"> |
|
140 <cstring>Layout7</cstring> |
|
141 </property> |
|
142 <vbox> |
|
143 <property name="name"> |
|
144 <cstring>unnamed</cstring> |
|
145 </property> |
|
146 <property name="margin"> |
|
147 <number>0</number> |
|
148 </property> |
|
149 <property name="spacing"> |
|
150 <number>6</number> |
|
151 </property> |
|
152 <widget class="QLabel"> |
|
153 <property name="name"> |
|
154 <cstring>TextLabel1_3</cstring> |
|
155 </property> |
|
156 <property name="sizePolicy"> |
|
157 <sizepolicy> |
|
158 <hsizetype>1</hsizetype> |
|
159 <vsizetype>0</vsizetype> |
|
160 <horstretch>0</horstretch> |
|
161 <verstretch>0</verstretch> |
|
162 </sizepolicy> |
|
163 </property> |
|
164 <property name="text"> |
|
165 <string>Z-rotation</string> |
|
166 </property> |
|
167 </widget> |
|
168 <widget class="QThumbWheel"> |
|
169 <property name="name"> |
|
170 <cstring>wheelZ</cstring> |
|
171 </property> |
|
172 <property name="minimumSize"> |
|
173 <size> |
|
174 <width>100</width> |
|
175 <height>30</height> |
|
176 </size> |
|
177 </property> |
|
178 </widget> |
|
179 </vbox> |
|
180 </widget> |
|
181 </hbox> |
|
182 </widget> |
|
183 <widget class="QLayoutWidget" row="2" column="0"> |
|
184 <property name="name"> |
|
185 <cstring>Layout15</cstring> |
|
186 </property> |
|
187 <hbox> |
|
188 <property name="name"> |
|
189 <cstring>unnamed</cstring> |
|
190 </property> |
|
191 <property name="margin"> |
|
192 <number>0</number> |
|
193 </property> |
|
194 <property name="spacing"> |
|
195 <number>6</number> |
|
196 </property> |
|
197 <widget class="QButtonGroup"> |
|
198 <property name="name"> |
|
199 <cstring>ButtonGroup2</cstring> |
|
200 </property> |
|
201 <property name="enabled"> |
|
202 <bool>true</bool> |
|
203 </property> |
|
204 <property name="sizePolicy"> |
|
205 <sizepolicy> |
|
206 <hsizetype>1</hsizetype> |
|
207 <vsizetype>1</vsizetype> |
|
208 <horstretch>0</horstretch> |
|
209 <verstretch>0</verstretch> |
|
210 </sizepolicy> |
|
211 </property> |
|
212 <property name="title"> |
|
213 <string>Rendering mode</string> |
|
214 </property> |
|
215 <grid> |
|
216 <property name="name"> |
|
217 <cstring>unnamed</cstring> |
|
218 </property> |
|
219 <property name="margin"> |
|
220 <number>11</number> |
|
221 </property> |
|
222 <property name="spacing"> |
|
223 <number>6</number> |
|
224 </property> |
|
225 <widget class="QRadioButton" row="0" column="0"> |
|
226 <property name="name"> |
|
227 <cstring>RadioButton1</cstring> |
|
228 </property> |
|
229 <property name="text"> |
|
230 <string>&Wireframe</string> |
|
231 </property> |
|
232 <property name="checked"> |
|
233 <bool>true</bool> |
|
234 </property> |
|
235 </widget> |
|
236 <widget class="QRadioButton" row="0" column="1"> |
|
237 <property name="name"> |
|
238 <cstring>RadioButton1_2</cstring> |
|
239 </property> |
|
240 <property name="text"> |
|
241 <string>Fl&at shaded</string> |
|
242 </property> |
|
243 </widget> |
|
244 <widget class="QRadioButton" row="0" column="2"> |
|
245 <property name="name"> |
|
246 <cstring>RadioButton1_3</cstring> |
|
247 </property> |
|
248 <property name="text"> |
|
249 <string>&Smooth shaded</string> |
|
250 </property> |
|
251 </widget> |
|
252 <widget class="QRadioButton" row="0" column="3"> |
|
253 <property name="name"> |
|
254 <cstring>RadioButton1_3_2</cstring> |
|
255 </property> |
|
256 <property name="text"> |
|
257 <string>&Landscape</string> |
|
258 </property> |
|
259 </widget> |
|
260 </grid> |
|
261 </widget> |
|
262 <widget class="QLayoutWidget"> |
|
263 <property name="name"> |
|
264 <cstring>Layout14</cstring> |
|
265 </property> |
|
266 <grid> |
|
267 <property name="name"> |
|
268 <cstring>unnamed</cstring> |
|
269 </property> |
|
270 <property name="margin"> |
|
271 <number>0</number> |
|
272 </property> |
|
273 <property name="spacing"> |
|
274 <number>6</number> |
|
275 </property> |
|
276 <widget class="QPushButton" row="0" column="1"> |
|
277 <property name="name"> |
|
278 <cstring>fractalize_btn_2</cstring> |
|
279 </property> |
|
280 <property name="sizePolicy"> |
|
281 <sizepolicy> |
|
282 <hsizetype>0</hsizetype> |
|
283 <vsizetype>0</vsizetype> |
|
284 <horstretch>0</horstretch> |
|
285 <verstretch>0</verstretch> |
|
286 </sizepolicy> |
|
287 </property> |
|
288 <property name="text"> |
|
289 <string>&Fractalize</string> |
|
290 </property> |
|
291 <property name="autoRepeat"> |
|
292 <bool>true</bool> |
|
293 </property> |
|
294 </widget> |
|
295 <widget class="QPushButton" row="0" column="2"> |
|
296 <property name="name"> |
|
297 <cstring>reset_btn</cstring> |
|
298 </property> |
|
299 <property name="sizePolicy"> |
|
300 <sizepolicy> |
|
301 <hsizetype>0</hsizetype> |
|
302 <vsizetype>0</vsizetype> |
|
303 <horstretch>0</horstretch> |
|
304 <verstretch>0</verstretch> |
|
305 </sizepolicy> |
|
306 </property> |
|
307 <property name="text"> |
|
308 <string>&Reset grid</string> |
|
309 </property> |
|
310 <property name="autoRepeat"> |
|
311 <bool>true</bool> |
|
312 </property> |
|
313 </widget> |
|
314 <widget class="QPushButton" row="0" column="0"> |
|
315 <property name="name"> |
|
316 <cstring>animate_btn</cstring> |
|
317 </property> |
|
318 <property name="sizePolicy"> |
|
319 <sizepolicy> |
|
320 <hsizetype>0</hsizetype> |
|
321 <vsizetype>0</vsizetype> |
|
322 <horstretch>0</horstretch> |
|
323 <verstretch>0</verstretch> |
|
324 </sizepolicy> |
|
325 </property> |
|
326 <property name="text"> |
|
327 <string>&Animate</string> |
|
328 </property> |
|
329 <property name="toggleButton"> |
|
330 <bool>true</bool> |
|
331 </property> |
|
332 <property name="autoRepeat"> |
|
333 <bool>true</bool> |
|
334 </property> |
|
335 </widget> |
|
336 </grid> |
|
337 </widget> |
|
338 </hbox> |
|
339 </widget> |
|
340 <widget class="QLayoutWidget" row="0" column="0"> |
|
341 <property name="name"> |
|
342 <cstring>Layout19</cstring> |
|
343 </property> |
|
344 <hbox> |
|
345 <property name="name"> |
|
346 <cstring>unnamed</cstring> |
|
347 </property> |
|
348 <property name="margin"> |
|
349 <number>0</number> |
|
350 </property> |
|
351 <property name="spacing"> |
|
352 <number>6</number> |
|
353 </property> |
|
354 <widget class="QLayoutWidget"> |
|
355 <property name="name"> |
|
356 <cstring>Layout18</cstring> |
|
357 </property> |
|
358 <vbox> |
|
359 <property name="name"> |
|
360 <cstring>unnamed</cstring> |
|
361 </property> |
|
362 <property name="margin"> |
|
363 <number>0</number> |
|
364 </property> |
|
365 <property name="spacing"> |
|
366 <number>6</number> |
|
367 </property> |
|
368 <widget class="QLabel"> |
|
369 <property name="name"> |
|
370 <cstring>TextLabel2</cstring> |
|
371 </property> |
|
372 <property name="sizePolicy"> |
|
373 <sizepolicy> |
|
374 <hsizetype>1</hsizetype> |
|
375 <vsizetype>0</vsizetype> |
|
376 <horstretch>0</horstretch> |
|
377 <verstretch>0</verstretch> |
|
378 </sizepolicy> |
|
379 </property> |
|
380 <property name="text"> |
|
381 <string>Zoom</string> |
|
382 </property> |
|
383 </widget> |
|
384 <widget class="QThumbWheel"> |
|
385 <property name="name"> |
|
386 <cstring>wheelZoom</cstring> |
|
387 </property> |
|
388 <property name="sizePolicy"> |
|
389 <sizepolicy> |
|
390 <hsizetype>0</hsizetype> |
|
391 <vsizetype>7</vsizetype> |
|
392 <horstretch>0</horstretch> |
|
393 <verstretch>0</verstretch> |
|
394 </sizepolicy> |
|
395 </property> |
|
396 <property name="minimumSize"> |
|
397 <size> |
|
398 <width>30</width> |
|
399 <height>0</height> |
|
400 </size> |
|
401 </property> |
|
402 </widget> |
|
403 <widget class="QLabel"> |
|
404 <property name="name"> |
|
405 <cstring>TextLabel2_2</cstring> |
|
406 </property> |
|
407 <property name="sizePolicy"> |
|
408 <sizepolicy> |
|
409 <hsizetype>1</hsizetype> |
|
410 <vsizetype>0</vsizetype> |
|
411 <horstretch>0</horstretch> |
|
412 <verstretch>0</verstretch> |
|
413 </sizepolicy> |
|
414 </property> |
|
415 <property name="text"> |
|
416 <string>Size</string> |
|
417 </property> |
|
418 </widget> |
|
419 <widget class="QThumbWheel"> |
|
420 <property name="name"> |
|
421 <cstring>wheelSize</cstring> |
|
422 </property> |
|
423 <property name="sizePolicy"> |
|
424 <sizepolicy> |
|
425 <hsizetype>0</hsizetype> |
|
426 <vsizetype>7</vsizetype> |
|
427 <horstretch>0</horstretch> |
|
428 <verstretch>0</verstretch> |
|
429 </sizepolicy> |
|
430 </property> |
|
431 <property name="minimumSize"> |
|
432 <size> |
|
433 <width>30</width> |
|
434 <height>0</height> |
|
435 </size> |
|
436 </property> |
|
437 </widget> |
|
438 </vbox> |
|
439 </widget> |
|
440 <widget class="QFrame"> |
|
441 <property name="name"> |
|
442 <cstring>Frame5</cstring> |
|
443 </property> |
|
444 <property name="frameShape"> |
|
445 <enum>StyledPanel</enum> |
|
446 </property> |
|
447 <property name="frameShadow"> |
|
448 <enum>Raised</enum> |
|
449 </property> |
|
450 <hbox> |
|
451 <property name="name"> |
|
452 <cstring>unnamed</cstring> |
|
453 </property> |
|
454 <property name="margin"> |
|
455 <number>1</number> |
|
456 </property> |
|
457 <property name="spacing"> |
|
458 <number>0</number> |
|
459 </property> |
|
460 <widget class="GLLandscape"> |
|
461 <property name="name"> |
|
462 <cstring>landscape</cstring> |
|
463 </property> |
|
464 <property name="sizePolicy"> |
|
465 <sizepolicy> |
|
466 <hsizetype>7</hsizetype> |
|
467 <vsizetype>7</vsizetype> |
|
468 <horstretch>0</horstretch> |
|
469 <verstretch>0</verstretch> |
|
470 </sizepolicy> |
|
471 </property> |
|
472 </widget> |
|
473 </hbox> |
|
474 </widget> |
|
475 </hbox> |
|
476 </widget> |
|
477 </grid> |
|
478 </widget> |
|
479 <customwidgets> |
|
480 <customwidget> |
|
481 <class>GLLandscape</class> |
|
482 <header location="local">gllandscape.h</header> |
|
483 <sizehint> |
|
484 <width>100</width> |
|
485 <height>100</height> |
|
486 </sizehint> |
|
487 <container>0</container> |
|
488 <sizepolicy> |
|
489 <hordata>3</hordata> |
|
490 <verdata>3</verdata> |
|
491 <horstretch>0</horstretch> |
|
492 <verstretch>0</verstretch> |
|
493 </sizepolicy> |
|
494 <pixmap>image0</pixmap> |
|
495 <signal>rotatedX(int)</signal> |
|
496 <slot access="public" specifier="">rotateZ(int)</slot> |
|
497 <slot access="public" specifier="">rotateY(int)</slot> |
|
498 <slot access="public" specifier="">rotateX(int)</slot> |
|
499 <slot access="public" specifier="">zoom(int)</slot> |
|
500 <slot access="public" specifier="">fractalize()</slot> |
|
501 <slot access="public" specifier="">setWireframe(int)</slot> |
|
502 <slot access="public" specifier="">setFilled(int)</slot> |
|
503 <slot access="public" specifier="">setGridSize(int)</slot> |
|
504 <slot access="public" specifier="">toggleWaveAnimation(bool)</slot> |
|
505 <slot access="public" specifier="">setSmoothShaded(int)</slot> |
|
506 <slot access="public" specifier="">setLandscape(int)</slot> |
|
507 <slot access="public" specifier="">resetGrid()</slot> |
|
508 </customwidget> |
|
509 <customwidget> |
|
510 <class>QThumbWheel</class> |
|
511 <header location="local">qthumbwheel.h</header> |
|
512 <sizehint> |
|
513 <width>100</width> |
|
514 <height>16</height> |
|
515 </sizehint> |
|
516 <container>0</container> |
|
517 <sizepolicy> |
|
518 <hordata>7</hordata> |
|
519 <verdata>0</verdata> |
|
520 <horstretch>0</horstretch> |
|
521 <verstretch>0</verstretch> |
|
522 </sizepolicy> |
|
523 <pixmap>image0</pixmap> |
|
524 <signal>valueChanged(int)</signal> |
|
525 </customwidget> |
|
526 </customwidgets> |
|
527 <images> |
|
528 <image name="image0"> |
|
529 <data format="XPM.GZ" length="646">789c6dd2c10ac2300c00d07bbf2234b722ddac1741fc04c5a3201e6615f43085390f22febbb65dd6666dd821dda36996b552b0df6d4055e2d937fdcd82bd361da8f3ab6ddf87e3fa23a431e01e98cb99901a2c6c1ff78bcbf19fe372713275ed6908f441ab51300617649108624641d22a9427c21a192405241a256e08e4850311172a3b95d87159742e98ef09bda403e03271f6a5bc663e9d8214279afd05eaa048f11e242f753c27bb21ee9cef4afc00c1c26728</data> |
|
530 </image> |
|
531 </images> |
|
532 <connections> |
|
533 <connection> |
|
534 <sender>RadioButton1</sender> |
|
535 <signal>stateChanged(int)</signal> |
|
536 <receiver>landscape</receiver> |
|
537 <slot>setWireframe(int)</slot> |
|
538 </connection> |
|
539 <connection> |
|
540 <sender>RadioButton1_2</sender> |
|
541 <signal>stateChanged(int)</signal> |
|
542 <receiver>landscape</receiver> |
|
543 <slot>setFilled(int)</slot> |
|
544 </connection> |
|
545 <connection> |
|
546 <sender>animate_btn</sender> |
|
547 <signal>toggled(bool)</signal> |
|
548 <receiver>landscape</receiver> |
|
549 <slot>toggleWaveAnimation(bool)</slot> |
|
550 </connection> |
|
551 <connection> |
|
552 <sender>RadioButton1_3</sender> |
|
553 <signal>stateChanged(int)</signal> |
|
554 <receiver>landscape</receiver> |
|
555 <slot>setSmoothShaded(int)</slot> |
|
556 </connection> |
|
557 <connection> |
|
558 <sender>wheelY</sender> |
|
559 <signal>valueChanged(int)</signal> |
|
560 <receiver>landscape</receiver> |
|
561 <slot>rotateY(int)</slot> |
|
562 </connection> |
|
563 <connection> |
|
564 <sender>wheelZ</sender> |
|
565 <signal>valueChanged(int)</signal> |
|
566 <receiver>landscape</receiver> |
|
567 <slot>rotateZ(int)</slot> |
|
568 </connection> |
|
569 <connection> |
|
570 <sender>wheelSize</sender> |
|
571 <signal>valueChanged(int)</signal> |
|
572 <receiver>landscape</receiver> |
|
573 <slot>setGridSize(int)</slot> |
|
574 </connection> |
|
575 <connection> |
|
576 <sender>wheelZoom</sender> |
|
577 <signal>valueChanged(int)</signal> |
|
578 <receiver>landscape</receiver> |
|
579 <slot>zoom(int)</slot> |
|
580 </connection> |
|
581 <connection> |
|
582 <sender>wheelX</sender> |
|
583 <signal>valueChanged(int)</signal> |
|
584 <receiver>landscape</receiver> |
|
585 <slot>rotateX(int)</slot> |
|
586 </connection> |
|
587 <connection> |
|
588 <sender>RadioButton1_3_2</sender> |
|
589 <signal>stateChanged(int)</signal> |
|
590 <receiver>landscape</receiver> |
|
591 <slot>setLandscape(int)</slot> |
|
592 </connection> |
|
593 <connection> |
|
594 <sender>reset_btn</sender> |
|
595 <signal>clicked()</signal> |
|
596 <receiver>landscape</receiver> |
|
597 <slot>resetGrid()</slot> |
|
598 </connection> |
|
599 <connection> |
|
600 <sender>fractalize_btn_2</sender> |
|
601 <signal>clicked()</signal> |
|
602 <receiver>landscape</receiver> |
|
603 <slot>fractalize()</slot> |
|
604 </connection> |
|
605 </connections> |
|
606 <tabstops> |
|
607 <tabstop>RadioButton1</tabstop> |
|
608 <tabstop>RadioButton1_2</tabstop> |
|
609 <tabstop>RadioButton1_3</tabstop> |
|
610 <tabstop>RadioButton1_3_2</tabstop> |
|
611 <tabstop>fractalize_btn_2</tabstop> |
|
612 <tabstop>reset_btn</tabstop> |
|
613 <tabstop>animate_btn</tabstop> |
|
614 </tabstops> |
|
615 <includes> |
|
616 <include location="local" impldecl="in implementation">gllandscapeviewer.ui.h</include> |
|
617 </includes> |
|
618 <slots> |
|
619 <slot access="protected">init()</slot> |
|
620 <slot access="protected">destroy()</slot> |
|
621 </slots> |
|
622 <layoutdefaults spacing="6" margin="11"/> |
|
623 </UI> |