]> Creatis software - clitk.git/blob - vv/qt_ui/vvOverlayPanel.ui
Trasnparency of color maps in fusion images
[clitk.git] / vv / qt_ui / vvOverlayPanel.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>vvOverlayPanel</class>
4  <widget class="QWidget" name="vvOverlayPanel">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>342</width>
10     <height>480</height>
11    </rect>
12   </property>
13   <property name="sizePolicy">
14    <sizepolicy hsizetype="Preferred" vsizetype="Maximum">
15     <horstretch>0</horstretch>
16     <verstretch>0</verstretch>
17    </sizepolicy>
18   </property>
19   <property name="windowTitle">
20    <string>Form</string>
21   </property>
22   <layout class="QVBoxLayout" name="verticalLayout">
23    <item>
24     <widget class="QLabel" name="currentImageLabel">
25      <property name="sizePolicy">
26       <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
27        <horstretch>0</horstretch>
28        <verstretch>0</verstretch>
29       </sizepolicy>
30      </property>
31      <property name="text">
32       <string>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
33 p, li { white-space: pre-wrap; }
34 &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
35 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Image :&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
36      </property>
37     </widget>
38    </item>
39    <item>
40     <widget class="QFrame" name="vFFrame">
41      <property name="enabled">
42       <bool>true</bool>
43      </property>
44      <property name="sizePolicy">
45       <sizepolicy hsizetype="Preferred" vsizetype="Maximum">
46        <horstretch>0</horstretch>
47        <verstretch>0</verstretch>
48       </sizepolicy>
49      </property>
50      <property name="frameShape">
51       <enum>QFrame::StyledPanel</enum>
52      </property>
53      <property name="frameShadow">
54       <enum>QFrame::Raised</enum>
55      </property>
56      <layout class="QVBoxLayout" name="verticalLayout_2">
57       <property name="spacing">
58        <number>2</number>
59       </property>
60       <property name="margin">
61        <number>2</number>
62       </property>
63       <item>
64        <layout class="QHBoxLayout" name="horizontalLayout_2">
65         <item>
66          <widget class="QLabel" name="label_4">
67           <property name="maximumSize">
68            <size>
69             <width>24</width>
70             <height>24</height>
71            </size>
72           </property>
73           <property name="text">
74            <string/>
75           </property>
76           <property name="pixmap">
77            <pixmap resource="../vvIcons.qrc">:/common/icons/cursor-uparrow.png</pixmap>
78           </property>
79           <property name="scaledContents">
80            <bool>true</bool>
81           </property>
82          </widget>
83         </item>
84         <item>
85          <widget class="QLabel" name="vectorFieldNameLabel">
86           <property name="sizePolicy">
87            <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
88             <horstretch>0</horstretch>
89             <verstretch>0</verstretch>
90            </sizepolicy>
91           </property>
92           <property name="text">
93            <string>Deformation field :</string>
94           </property>
95          </widget>
96         </item>
97        </layout>
98       </item>
99       <item>
100        <layout class="QHBoxLayout" name="horizontalLayout">
101         <item>
102          <widget class="QLabel" name="label_2">
103           <property name="text">
104            <string>&lt;b&gt;Subsampling : &lt;/b&gt;</string>
105           </property>
106          </widget>
107         </item>
108         <item>
109          <widget class="QSpinBox" name="subSamplingSpinBox">
110           <property name="minimum">
111            <number>1</number>
112           </property>
113           <property name="value">
114            <number>5</number>
115           </property>
116          </widget>
117         </item>
118         <item>
119          <widget class="QLabel" name="label_3">
120           <property name="text">
121            <string>&lt;b&gt; Scale : &lt;/b&gt;</string>
122           </property>
123          </widget>
124         </item>
125         <item>
126          <widget class="QSpinBox" name="scaleSpinBox">
127           <property name="value">
128            <number>1</number>
129           </property>
130          </widget>
131         </item>
132        </layout>
133       </item>
134       <item>
135        <layout class="QHBoxLayout" name="horizontalLayout_3">
136         <item>
137          <widget class="QLabel" name="coordinatesLabel">
138           <property name="sizePolicy">
139            <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
140             <horstretch>0</horstretch>
141             <verstretch>0</verstretch>
142            </sizepolicy>
143           </property>
144           <property name="text">
145            <string>&lt;b&gt;Displacement :&lt;/b&gt;</string>
146           </property>
147          </widget>
148         </item>
149         <item>
150          <widget class="QLabel" name="label_9">
151           <property name="text">
152            <string>&lt;b&gt;Width : &lt;/b&gt;</string>
153           </property>
154          </widget>
155         </item>
156         <item>
157          <widget class="QSpinBox" name="vfWidthSpinBox">
158           <property name="minimum">
159            <number>1</number>
160           </property>
161           <property name="maximum">
162            <number>10</number>
163           </property>
164           <property name="singleStep">
165            <number>1</number>
166           </property>
167           <property name="value">
168            <number>1</number>
169           </property>
170          </widget>
171         </item>
172         <item>
173          <widget class="QToolButton" name="vfColorButton">
174           <property name="styleSheet">
175            <string>
176               background-color: rgb(0, 255, 0);
177               border: 0px;
178             </string>
179           </property>
180          </widget>
181         </item>
182        </layout>
183       </item>
184       <item>
185        <widget class="QCheckBox" name="lutCheckBox">
186         <property name="text">
187          <string>Use Logarithm LUT</string>
188         </property>
189        </widget>
190       </item>
191       <item>
192        <widget class="QLabel" name="normLabel">
193         <property name="sizePolicy">
194          <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
195           <horstretch>0</horstretch>
196           <verstretch>0</verstretch>
197          </sizepolicy>
198         </property>
199         <property name="text">
200          <string>Length :</string>
201         </property>
202        </widget>
203       </item>
204      </layout>
205     </widget>
206    </item>
207    <item>
208     <widget class="QFrame" name="compareFrame">
209      <property name="enabled">
210       <bool>true</bool>
211      </property>
212      <property name="sizePolicy">
213       <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
214        <horstretch>0</horstretch>
215        <verstretch>0</verstretch>
216       </sizepolicy>
217      </property>
218      <property name="frameShape">
219       <enum>QFrame::StyledPanel</enum>
220      </property>
221      <property name="frameShadow">
222       <enum>QFrame::Raised</enum>
223      </property>
224      <layout class="QGridLayout">
225       <property name="margin">
226        <number>2</number>
227       </property>
228       <property name="spacing">
229        <number>2</number>
230       </property>
231       <item row="0" column="0">
232        <widget class="QLabel" name="label">
233         <property name="maximumSize">
234          <size>
235           <width>24</width>
236           <height>24</height>
237          </size>
238         </property>
239         <property name="text">
240          <string/>
241         </property>
242         <property name="pixmap">
243          <pixmap resource="../vvIcons.qrc">:/common/icons/GPSup.png</pixmap>
244         </property>
245         <property name="scaledContents">
246          <bool>true</bool>
247         </property>
248        </widget>
249       </item>
250       <item row="0" column="1" colspan="2">
251        <widget class="QLabel" name="imageComparedLabel">
252         <property name="sizePolicy">
253          <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
254           <horstretch>0</horstretch>
255           <verstretch>0</verstretch>
256          </sizepolicy>
257         </property>
258         <property name="text">
259          <string/>
260         </property>
261        </widget>
262       </item>
263       <item row="1" column="0" colspan="2">
264        <widget class="QLabel" name="colorLabel">
265         <property name="text">
266          <string>Color :</string>
267         </property>
268        </widget>
269       </item>
270       <item row="1" column="2">
271        <widget class="QSlider" name="colorHorizontalSlider">
272         <property name="maximum">
273          <number>359</number>
274         </property>
275         <property name="orientation">
276          <enum>Qt::Horizontal</enum>
277         </property>
278        </widget>
279       </item>
280       <item row="2" column="0" colspan="3">
281        <widget class="QLabel" name="refValueLabel">
282         <property name="sizePolicy">
283          <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
284           <horstretch>0</horstretch>
285           <verstretch>0</verstretch>
286          </sizepolicy>
287         </property>
288         <property name="text">
289          <string>Pixel value in image 1 :</string>
290         </property>
291        </widget>
292       </item>
293       <item row="3" column="0" colspan="3">
294        <widget class="QLabel" name="valueLabel">
295         <property name="sizePolicy">
296          <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
297           <horstretch>0</horstretch>
298           <verstretch>0</verstretch>
299          </sizepolicy>
300         </property>
301         <property name="text">
302          <string>Pixel value in image 2 :</string>
303         </property>
304        </widget>
305       </item>
306       <item row="4" column="0" colspan="3">
307        <widget class="QLabel" name="diffValueLabel">
308         <property name="sizePolicy">
309          <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
310           <horstretch>0</horstretch>
311           <verstretch>0</verstretch>
312          </sizepolicy>
313         </property>
314         <property name="text">
315          <string>Pixel difference :</string>
316         </property>
317        </widget>
318       </item>
319      </layout>
320     </widget>
321    </item>
322    <item>
323     <widget class="QFrame" name="fusionFrame">
324      <property name="enabled">
325       <bool>true</bool>
326      </property>
327      <property name="frameShape">
328       <enum>QFrame::StyledPanel</enum>
329      </property>
330      <property name="frameShadow">
331       <enum>QFrame::Raised</enum>
332      </property>
333      <layout class="QGridLayout" name="gridLayout">
334       <item row="0" column="0">
335        <widget class="QLabel" name="label_5">
336         <property name="maximumSize">
337          <size>
338           <width>24</width>
339           <height>24</height>
340          </size>
341         </property>
342         <property name="text">
343          <string/>
344         </property>
345         <property name="pixmap">
346          <pixmap resource="../vvIcons.qrc">:/common/icons/fusion.png</pixmap>
347         </property>
348        </widget>
349       </item>
350       <item row="0" column="1" colspan="2">
351        <widget class="QLabel" name="dataFusionnedLabel">
352         <property name="sizePolicy">
353          <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
354           <horstretch>0</horstretch>
355           <verstretch>0</verstretch>
356          </sizepolicy>
357         </property>
358         <property name="text">
359          <string>Fusion :</string>
360         </property>
361        </widget>
362       </item>
363       <item row="1" column="0" colspan="3">
364        <widget class="QLabel" name="opacityLabel">
365         <property name="text">
366          <string>Global Opacity :</string>
367         </property>
368        </widget>
369       </item>
370       <item row="1" column="3" colspan="3">
371        <widget class="QSlider" name="opacityHorizontalSlider">
372         <property name="sizePolicy">
373          <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
374           <horstretch>0</horstretch>
375           <verstretch>0</verstretch>
376          </sizepolicy>
377         </property>
378         <property name="orientation">
379          <enum>Qt::Horizontal</enum>
380         </property>
381        </widget>
382       </item>
383       <item row="2" column="0" colspan="3">
384        <widget class="QLabel" name="thresOpacityLabel">
385         <property name="toolTip">
386          <string>All colors below the threshold will be made transparent.</string>
387         </property>
388         <property name="statusTip">
389          <string/>
390         </property>
391         <property name="whatsThis">
392          <string/>
393         </property>
394         <property name="text">
395          <string>Transparency Threshold :</string>
396         </property>
397        </widget>
398       </item>
399       <item row="2" column="3" colspan="3">
400        <widget class="QSlider" name="thresOpacityHorizontalSlider">
401         <property name="sizePolicy">
402          <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
403           <horstretch>0</horstretch>
404           <verstretch>0</verstretch>
405          </sizepolicy>
406         </property>
407         <property name="orientation">
408          <enum>Qt::Horizontal</enum>
409         </property>
410        </widget>
411       </item>
412       <item row="3" column="0" colspan="2">
413        <widget class="QLabel" name="label_6">
414         <property name="sizePolicy">
415          <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
416           <horstretch>0</horstretch>
417           <verstretch>0</verstretch>
418          </sizepolicy>
419         </property>
420         <property name="text">
421          <string>Colormap :</string>
422         </property>
423        </widget>
424       </item>
425       <item row="3" column="2" colspan="2">
426        <widget class="QComboBox" name="fusionColorMapComboBox">
427         <property name="currentIndex">
428          <number>0</number>
429         </property>
430         <item>
431          <property name="text">
432           <string>B&amp;W</string>
433          </property>
434         </item>
435         <item>
436          <property name="text">
437           <string>Heat</string>
438          </property>
439         </item>
440         <item>
441          <property name="text">
442           <string>Cold</string>
443          </property>
444         </item>
445         <item>
446          <property name="text">
447           <string>Dosimetry</string>
448          </property>
449         </item>
450         <item>
451          <property name="text">
452           <string>Full Color Range</string>
453          </property>
454         </item>
455        </widget>
456       </item>
457       <item row="4" column="0" colspan="2">
458        <widget class="QLabel" name="label_7">
459         <property name="text">
460          <string>Window :</string>
461         </property>
462        </widget>
463       </item>
464       <item row="4" column="2" colspan="2">
465        <widget class="QDoubleSpinBox" name="windowSpinBox">
466         <property name="decimals">
467          <number>4</number>
468         </property>
469         <property name="minimum">
470          <double>-999999.000000000000000</double>
471         </property>
472         <property name="maximum">
473          <double>999999.000000000000000</double>
474         </property>
475         <property name="singleStep">
476          <double>10.000000000000000</double>
477         </property>
478         <property name="value">
479          <double>100.000000000000000</double>
480         </property>
481        </widget>
482       </item>
483       <item row="4" column="4">
484        <widget class="QLabel" name="label_8">
485         <property name="text">
486          <string>Level :</string>
487         </property>
488        </widget>
489       </item>
490       <item row="4" column="5">
491        <widget class="QDoubleSpinBox" name="levelSpinBox">
492         <property name="decimals">
493          <number>4</number>
494         </property>
495         <property name="minimum">
496          <double>-999999.000000000000000</double>
497         </property>
498         <property name="maximum">
499          <double>999999.000000000000000</double>
500         </property>
501         <property name="singleStep">
502          <double>10.000000000000000</double>
503         </property>
504         <property name="value">
505          <double>1000.000000000000000</double>
506         </property>
507        </widget>
508       </item>
509       <item row="5" column="0" colspan="3">
510        <widget class="QLabel" name="valueFusionnedLabel">
511         <property name="sizePolicy">
512          <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
513           <horstretch>0</horstretch>
514           <verstretch>0</verstretch>
515          </sizepolicy>
516         </property>
517         <property name="text">
518          <string>Pixel value in image 2 :</string>
519         </property>
520        </widget>
521       </item>
522      </layout>
523     </widget>
524    </item>
525    <item>
526     <spacer name="verticalSpacer">
527      <property name="orientation">
528       <enum>Qt::Vertical</enum>
529      </property>
530      <property name="sizeHint" stdset="0">
531       <size>
532        <width>20</width>
533        <height>40</height>
534       </size>
535      </property>
536     </spacer>
537    </item>
538   </layout>
539  </widget>
540  <resources>
541   <include location="../vvIcons.qrc"/>
542   <include location="../vvIcons.qrc"/>
543   <include location="vvIcons.qrc"/>
544  </resources>
545  <connections/>
546 </ui>