Fixed NetSend so it can be used in debug mode.
[qt/compvision.git] / ColorPicker.ui
1 <ui version="4.0" >
2  <author></author>
3  <comment></comment>
4  <exportmacro></exportmacro>
5  <class>ColorPicker</class>
6  <widget class="QDialog" name="ColorPicker" >
7   <property name="geometry" >
8    <rect>
9     <x>0</x>
10     <y>0</y>
11     <width>541</width>
12     <height>404</height>
13    </rect>
14   </property>
15   <property name="windowTitle" >
16    <string>Color Picker</string>
17   </property>
18   <layout class="QGridLayout" >
19    <property name="margin" >
20     <number>9</number>
21    </property>
22    <property name="spacing" >
23     <number>6</number>
24    </property>
25    <item rowspan="3" row="0" column="3" >
26     <widget class="QGroupBox" name="groupHSV" >
27      <property name="title" >
28       <string>HSV</string>
29      </property>
30      <layout class="QGridLayout" >
31       <property name="margin" >
32        <number>9</number>
33       </property>
34       <property name="spacing" >
35        <number>6</number>
36       </property>
37       <item row="1" column="4" colspan="2" >
38        <widget class="QLCDNumber" name="lcdV" >
39         <property name="numDigits" >
40          <number>3</number>
41         </property>
42         <property name="segmentStyle" >
43          <enum>QLCDNumber::Flat</enum>
44         </property>
45        </widget>
46       </item>
47       <item row="1" column="2" colspan="2" >
48        <widget class="QLCDNumber" name="lcdS" >
49         <property name="numDigits" >
50          <number>3</number>
51         </property>
52         <property name="segmentStyle" >
53          <enum>QLCDNumber::Flat</enum>
54         </property>
55        </widget>
56       </item>
57       <item row="1" column="0" colspan="2" >
58        <widget class="QLCDNumber" name="lcdH" >
59         <property name="numDigits" >
60          <number>3</number>
61         </property>
62         <property name="segmentStyle" >
63          <enum>QLCDNumber::Flat</enum>
64         </property>
65        </widget>
66       </item>
67       <item row="2" column="0" >
68        <widget class="QSlider" name="slideH" >
69         <property name="sizePolicy" >
70          <sizepolicy>
71           <hsizetype>0</hsizetype>
72           <vsizetype>0</vsizetype>
73           <horstretch>0</horstretch>
74           <verstretch>0</verstretch>
75          </sizepolicy>
76         </property>
77         <property name="minimumSize" >
78          <size>
79           <width>0</width>
80           <height>256</height>
81          </size>
82         </property>
83         <property name="maximum" >
84          <number>255</number>
85         </property>
86         <property name="orientation" >
87          <enum>Qt::Vertical</enum>
88         </property>
89        </widget>
90       </item>
91       <item row="2" column="1" >
92        <widget class="QLabel" name="labelH" >
93         <property name="text" >
94          <string/>
95         </property>
96         <property name="pixmap" >
97          <pixmap resource="icons\icons.qrc" >:/sliders/hues.bmp</pixmap>
98         </property>
99         <property name="scaledContents" >
100          <bool>true</bool>
101         </property>
102        </widget>
103       </item>
104       <item row="2" column="2" >
105        <widget class="QSlider" name="slideS" >
106         <property name="sizePolicy" >
107          <sizepolicy>
108           <hsizetype>0</hsizetype>
109           <vsizetype>0</vsizetype>
110           <horstretch>0</horstretch>
111           <verstretch>0</verstretch>
112          </sizepolicy>
113         </property>
114         <property name="minimumSize" >
115          <size>
116           <width>0</width>
117           <height>256</height>
118          </size>
119         </property>
120         <property name="maximum" >
121          <number>255</number>
122         </property>
123         <property name="orientation" >
124          <enum>Qt::Vertical</enum>
125         </property>
126        </widget>
127       </item>
128       <item row="2" column="3" >
129        <widget class="QLabel" name="labelS" >
130         <property name="text" >
131          <string/>
132         </property>
133         <property name="pixmap" >
134          <pixmap resource="icons\icons.qrc" >:/sliders/saturations.bmp</pixmap>
135         </property>
136         <property name="scaledContents" >
137          <bool>true</bool>
138         </property>
139        </widget>
140       </item>
141       <item row="2" column="4" >
142        <widget class="QSlider" name="slideV" >
143         <property name="sizePolicy" >
144          <sizepolicy>
145           <hsizetype>0</hsizetype>
146           <vsizetype>0</vsizetype>
147           <horstretch>0</horstretch>
148           <verstretch>0</verstretch>
149          </sizepolicy>
150         </property>
151         <property name="minimumSize" >
152          <size>
153           <width>0</width>
154           <height>256</height>
155          </size>
156         </property>
157         <property name="maximum" >
158          <number>255</number>
159         </property>
160         <property name="orientation" >
161          <enum>Qt::Vertical</enum>
162         </property>
163        </widget>
164       </item>
165       <item row="2" column="5" >
166        <widget class="QLabel" name="labelV" >
167         <property name="text" >
168          <string/>
169         </property>
170         <property name="pixmap" >
171          <pixmap resource="icons\icons.qrc" >:/sliders/values.bmp</pixmap>
172         </property>
173         <property name="scaledContents" >
174          <bool>true</bool>
175         </property>
176        </widget>
177       </item>
178       <item row="0" column="0" colspan="2" >
179        <widget class="QLabel" name="label" >
180         <property name="text" >
181          <string>Hue</string>
182         </property>
183         <property name="alignment" >
184          <set>Qt::AlignCenter</set>
185         </property>
186        </widget>
187       </item>
188       <item row="0" column="2" colspan="2" >
189        <widget class="QLabel" name="label_2" >
190         <property name="text" >
191          <string>Sat</string>
192         </property>
193         <property name="alignment" >
194          <set>Qt::AlignCenter</set>
195         </property>
196        </widget>
197       </item>
198       <item row="0" column="4" colspan="2" >
199        <widget class="QLabel" name="label_3" >
200         <property name="text" >
201          <string>Val</string>
202         </property>
203         <property name="alignment" >
204          <set>Qt::AlignCenter</set>
205         </property>
206        </widget>
207       </item>
208      </layout>
209     </widget>
210    </item>
211    <item rowspan="3" row="0" column="2" >
212     <widget class="QGroupBox" name="groupRGB" >
213      <property name="title" >
214       <string>RGB</string>
215      </property>
216      <layout class="QGridLayout" >
217       <property name="margin" >
218        <number>9</number>
219       </property>
220       <property name="spacing" >
221        <number>6</number>
222       </property>
223       <item row="0" column="0" colspan="2" >
224        <widget class="QLabel" name="label_4" >
225         <property name="text" >
226          <string>Red</string>
227         </property>
228         <property name="alignment" >
229          <set>Qt::AlignCenter</set>
230         </property>
231        </widget>
232       </item>
233       <item row="0" column="2" colspan="2" >
234        <widget class="QLabel" name="label_5" >
235         <property name="text" >
236          <string>Green</string>
237         </property>
238         <property name="alignment" >
239          <set>Qt::AlignCenter</set>
240         </property>
241        </widget>
242       </item>
243       <item row="0" column="4" colspan="2" >
244        <widget class="QLabel" name="label_6" >
245         <property name="text" >
246          <string>Blue</string>
247         </property>
248         <property name="alignment" >
249          <set>Qt::AlignCenter</set>
250         </property>
251        </widget>
252       </item>
253       <item row="2" column="5" >
254        <widget class="QLabel" name="labelB" >
255         <property name="text" >
256          <string/>
257         </property>
258         <property name="pixmap" >
259          <pixmap resource="icons\icons.qrc" >:/sliders/blues.bmp</pixmap>
260         </property>
261         <property name="scaledContents" >
262          <bool>true</bool>
263         </property>
264        </widget>
265       </item>
266       <item row="2" column="2" >
267        <widget class="QSlider" name="slideG" >
268         <property name="sizePolicy" >
269          <sizepolicy>
270           <hsizetype>0</hsizetype>
271           <vsizetype>0</vsizetype>
272           <horstretch>0</horstretch>
273           <verstretch>0</verstretch>
274          </sizepolicy>
275         </property>
276         <property name="minimumSize" >
277          <size>
278           <width>0</width>
279           <height>256</height>
280          </size>
281         </property>
282         <property name="maximum" >
283          <number>255</number>
284         </property>
285         <property name="orientation" >
286          <enum>Qt::Vertical</enum>
287         </property>
288        </widget>
289       </item>
290       <item row="2" column="1" >
291        <widget class="QLabel" name="labelR" >
292         <property name="text" >
293          <string/>
294         </property>
295         <property name="pixmap" >
296          <pixmap resource="icons\icons.qrc" >:/sliders/reds.bmp</pixmap>
297         </property>
298         <property name="scaledContents" >
299          <bool>true</bool>
300         </property>
301        </widget>
302       </item>
303       <item row="2" column="3" >
304        <widget class="QLabel" name="labelG" >
305         <property name="text" >
306          <string/>
307         </property>
308         <property name="pixmap" >
309          <pixmap resource="icons\icons.qrc" >:/sliders/greens.bmp</pixmap>
310         </property>
311         <property name="scaledContents" >
312          <bool>true</bool>
313         </property>
314        </widget>
315       </item>
316       <item row="2" column="4" >
317        <widget class="QSlider" name="slideB" >
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="minimumSize" >
327          <size>
328           <width>0</width>
329           <height>256</height>
330          </size>
331         </property>
332         <property name="maximum" >
333          <number>255</number>
334         </property>
335         <property name="orientation" >
336          <enum>Qt::Vertical</enum>
337         </property>
338        </widget>
339       </item>
340       <item row="2" column="0" >
341        <widget class="QSlider" name="slideR" >
342         <property name="sizePolicy" >
343          <sizepolicy>
344           <hsizetype>0</hsizetype>
345           <vsizetype>0</vsizetype>
346           <horstretch>0</horstretch>
347           <verstretch>0</verstretch>
348          </sizepolicy>
349         </property>
350         <property name="minimumSize" >
351          <size>
352           <width>0</width>
353           <height>256</height>
354          </size>
355         </property>
356         <property name="maximum" >
357          <number>255</number>
358         </property>
359         <property name="orientation" >
360          <enum>Qt::Vertical</enum>
361         </property>
362        </widget>
363       </item>
364       <item row="1" column="0" colspan="2" >
365        <widget class="QLCDNumber" name="lcdR" >
366         <property name="numDigits" >
367          <number>3</number>
368         </property>
369         <property name="segmentStyle" >
370          <enum>QLCDNumber::Flat</enum>
371         </property>
372        </widget>
373       </item>
374       <item row="1" column="2" colspan="2" >
375        <widget class="QLCDNumber" name="lcdG" >
376         <property name="numDigits" >
377          <number>3</number>
378         </property>
379         <property name="mode" >
380          <enum>QLCDNumber::Dec</enum>
381         </property>
382         <property name="segmentStyle" >
383          <enum>QLCDNumber::Flat</enum>
384         </property>
385        </widget>
386       </item>
387       <item row="1" column="4" colspan="2" >
388        <widget class="QLCDNumber" name="lcdB" >
389         <property name="numDigits" >
390          <number>3</number>
391         </property>
392         <property name="segmentStyle" >
393          <enum>QLCDNumber::Flat</enum>
394         </property>
395        </widget>
396       </item>
397      </layout>
398     </widget>
399    </item>
400    <item row="3" column="0" colspan="4" >
401     <layout class="QHBoxLayout" >
402      <property name="margin" >
403       <number>0</number>
404      </property>
405      <property name="spacing" >
406       <number>6</number>
407      </property>
408      <item>
409       <spacer>
410        <property name="orientation" >
411         <enum>Qt::Horizontal</enum>
412        </property>
413        <property name="sizeHint" >
414         <size>
415          <width>131</width>
416          <height>31</height>
417         </size>
418        </property>
419       </spacer>
420      </item>
421      <item>
422       <widget class="QPushButton" name="okButton" >
423        <property name="text" >
424         <string>OK</string>
425        </property>
426       </widget>
427      </item>
428      <item>
429       <widget class="QPushButton" name="cancelButton" >
430        <property name="text" >
431         <string>Cancel</string>
432        </property>
433       </widget>
434      </item>
435     </layout>
436    </item>
437    <item row="0" column="0" colspan="2" >
438     <widget class="QLabel" name="labelPreview" >
439      <property name="sizePolicy" >
440       <sizepolicy>
441        <hsizetype>7</hsizetype>
442        <vsizetype>7</vsizetype>
443        <horstretch>0</horstretch>
444        <verstretch>0</verstretch>
445       </sizepolicy>
446      </property>
447      <property name="autoFillBackground" >
448       <bool>true</bool>
449      </property>
450      <property name="text" >
451       <string>Selected
452 Color</string>
453      </property>
454      <property name="alignment" >
455       <set>Qt::AlignCenter</set>
456      </property>
457     </widget>
458    </item>
459    <item row="1" column="1" >
460     <widget class="QLineEdit" name="lineHTML" >
461      <property name="maxLength" >
462       <number>8</number>
463      </property>
464     </widget>
465    </item>
466    <item row="2" column="1" >
467     <widget class="QLineEdit" name="lineMem" >
468      <property name="maxLength" >
469       <number>10</number>
470      </property>
471     </widget>
472    </item>
473    <item row="1" column="0" >
474     <widget class="QLabel" name="label_7" >
475      <property name="text" >
476       <string>HTML :</string>
477      </property>
478      <property name="alignment" >
479       <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
480      </property>
481     </widget>
482    </item>
483    <item row="2" column="0" >
484     <widget class="QLabel" name="label_8" >
485      <property name="text" >
486       <string>Memory :</string>
487      </property>
488      <property name="alignment" >
489       <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
490      </property>
491     </widget>
492    </item>
493   </layout>
494  </widget>
495  <pixmapfunction></pixmapfunction>
496  <resources>
497   <include location="icons/icons.qrc" />
498  </resources>
499  <connections>
500   <connection>
501    <sender>okButton</sender>
502    <signal>clicked()</signal>
503    <receiver>ColorPicker</receiver>
504    <slot>accept()</slot>
505    <hints>
506     <hint type="sourcelabel" >
507      <x>447</x>
508      <y>392</y>
509     </hint>
510     <hint type="destinationlabel" >
511      <x>96</x>
512      <y>254</y>
513     </hint>
514    </hints>
515   </connection>
516   <connection>
517    <sender>cancelButton</sender>
518    <signal>clicked()</signal>
519    <receiver>ColorPicker</receiver>
520    <slot>reject()</slot>
521    <hints>
522     <hint type="sourcelabel" >
523      <x>530</x>
524      <y>392</y>
525     </hint>
526     <hint type="destinationlabel" >
527      <x>179</x>
528      <y>282</y>
529     </hint>
530    </hints>
531   </connection>
532   <connection>
533    <sender>slideR</sender>
534    <signal>valueChanged(int)</signal>
535    <receiver>lcdR</receiver>
536    <slot>display(int)</slot>
537    <hints>
538     <hint type="sourcelabel" >
539      <x>203</x>
540      <y>119</y>
541     </hint>
542     <hint type="destinationlabel" >
543      <x>217</x>
544      <y>68</y>
545     </hint>
546    </hints>
547   </connection>
548   <connection>
549    <sender>slideG</sender>
550    <signal>valueChanged(int)</signal>
551    <receiver>lcdG</receiver>
552    <slot>display(int)</slot>
553    <hints>
554     <hint type="sourcelabel" >
555      <x>251</x>
556      <y>153</y>
557     </hint>
558     <hint type="destinationlabel" >
559      <x>276</x>
560      <y>72</y>
561     </hint>
562    </hints>
563   </connection>
564   <connection>
565    <sender>slideB</sender>
566    <signal>valueChanged(int)</signal>
567    <receiver>lcdB</receiver>
568    <slot>display(int)</slot>
569    <hints>
570     <hint type="sourcelabel" >
571      <x>309</x>
572      <y>141</y>
573     </hint>
574     <hint type="destinationlabel" >
575      <x>326</x>
576      <y>71</y>
577     </hint>
578    </hints>
579   </connection>
580   <connection>
581    <sender>slideH</sender>
582    <signal>valueChanged(int)</signal>
583    <receiver>lcdH</receiver>
584    <slot>display(int)</slot>
585    <hints>
586     <hint type="sourcelabel" >
587      <x>379</x>
588      <y>127</y>
589     </hint>
590     <hint type="destinationlabel" >
591      <x>396</x>
592      <y>76</y>
593     </hint>
594    </hints>
595   </connection>
596   <connection>
597    <sender>slideS</sender>
598    <signal>valueChanged(int)</signal>
599    <receiver>lcdS</receiver>
600    <slot>display(int)</slot>
601    <hints>
602     <hint type="sourcelabel" >
603      <x>429</x>
604      <y>133</y>
605     </hint>
606     <hint type="destinationlabel" >
607      <x>437</x>
608      <y>72</y>
609     </hint>
610    </hints>
611   </connection>
612   <connection>
613    <sender>slideV</sender>
614    <signal>valueChanged(int)</signal>
615    <receiver>lcdV</receiver>
616    <slot>display(int)</slot>
617    <hints>
618     <hint type="sourcelabel" >
619      <x>482</x>
620      <y>130</y>
621     </hint>
622     <hint type="destinationlabel" >
623      <x>498</x>
624      <y>67</y>
625     </hint>
626    </hints>
627   </connection>
628  </connections>
629 </ui>