]> Creatis software - clitk.git/blob - vv/qt_ui/vvToolStructureSetManager.ui
- display binary image as overlay
[clitk.git] / vv / qt_ui / vvToolStructureSetManager.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>vvToolStructureSetManager</class>
4  <widget class="QWidget" name="vvToolStructureSetManager">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>483</width>
10     <height>519</height>
11    </rect>
12   </property>
13   <property name="windowTitle">
14    <string>Form</string>
15   </property>
16   <layout class="QVBoxLayout" name="verticalLayout_4">
17    <item>
18     <layout class="QHBoxLayout" name="horizontalLayout_4">
19      <item>
20       <widget class="QGroupBox" name="groupBox_3">
21        <property name="title">
22         <string>Add Label Image from file</string>
23        </property>
24        <layout class="QHBoxLayout" name="horizontalLayout_3">
25         <item>
26          <widget class="QPushButton" name="mOpenBinaryButton">
27           <property name="sizePolicy">
28            <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
29             <horstretch>0</horstretch>
30             <verstretch>0</verstretch>
31            </sizepolicy>
32           </property>
33           <property name="maximumSize">
34            <size>
35             <width>24</width>
36             <height>24</height>
37            </size>
38           </property>
39           <property name="toolTip">
40            <string>Open label image</string>
41           </property>
42           <property name="text">
43            <string/>
44           </property>
45           <property name="icon">
46            <iconset resource="../vvIcons.qrc">
47             <normaloff>:/common/icons/fileopen.png</normaloff>:/common/icons/fileopen.png</iconset>
48           </property>
49          </widget>
50         </item>
51         <item>
52          <layout class="QVBoxLayout" name="verticalLayout_3">
53           <item>
54            <widget class="QLabel" name="dimensionStaticLabel">
55             <property name="sizePolicy">
56              <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
57               <horstretch>0</horstretch>
58               <verstretch>0</verstretch>
59              </sizepolicy>
60             </property>
61             <property name="text">
62              <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
63 &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;
64 p, li { white-space: pre-wrap; }
65 &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
66 &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-size:9pt;&quot;&gt;Background value :&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
67             </property>
68            </widget>
69           </item>
70           <item>
71            <widget class="QSpinBox" name="mBackgroundValueSpinBox"/>
72           </item>
73          </layout>
74         </item>
75        </layout>
76       </widget>
77      </item>
78      <item>
79       <widget class="QGroupBox" name="groupBox_4">
80        <property name="title">
81         <string>Add DICOM RT contours</string>
82        </property>
83        <layout class="QGridLayout" name="gridLayout">
84         <item row="0" column="0">
85          <widget class="QPushButton" name="mOpenBinaryButton_3">
86           <property name="sizePolicy">
87            <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
88             <horstretch>0</horstretch>
89             <verstretch>0</verstretch>
90            </sizepolicy>
91           </property>
92           <property name="maximumSize">
93            <size>
94             <width>24</width>
95             <height>24</height>
96            </size>
97           </property>
98           <property name="toolTip">
99            <string>Open DICOM  RT Struct</string>
100           </property>
101           <property name="text">
102            <string/>
103           </property>
104           <property name="icon">
105            <iconset resource="../vvIcons.qrc">
106             <normaloff>:/common/icons/fileopen.png</normaloff>:/common/icons/fileopen.png</iconset>
107           </property>
108          </widget>
109         </item>
110        </layout>
111       </widget>
112      </item>
113      <item>
114       <spacer name="horizontalSpacer">
115        <property name="orientation">
116         <enum>Qt::Horizontal</enum>
117        </property>
118        <property name="sizeHint" stdset="0">
119         <size>
120          <width>40</width>
121          <height>20</height>
122         </size>
123        </property>
124       </spacer>
125      </item>
126     </layout>
127    </item>
128    <item>
129     <layout class="QHBoxLayout" name="horizontalLayout">
130      <item>
131       <widget class="QLabel" name="vectorFieldNameLabel">
132        <property name="sizePolicy">
133         <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
134          <horstretch>0</horstretch>
135          <verstretch>0</verstretch>
136         </sizepolicy>
137        </property>
138        <property name="text">
139         <string>Filter: </string>
140        </property>
141       </widget>
142      </item>
143      <item>
144       <widget class="QLineEdit" name="lineEdit"/>
145      </item>
146     </layout>
147    </item>
148    <item>
149     <widget class="QTreeWidget" name="mTree">
150      <property name="alternatingRowColors">
151       <bool>false</bool>
152      </property>
153      <property name="selectionMode">
154       <enum>QAbstractItemView::SingleSelection</enum>
155      </property>
156      <property name="selectionBehavior">
157       <enum>QAbstractItemView::SelectRows</enum>
158      </property>
159      <property name="animated">
160       <bool>true</bool>
161      </property>
162      <property name="wordWrap">
163       <bool>true</bool>
164      </property>
165      <column>
166       <property name="text">
167        <string>ID</string>
168       </property>
169      </column>
170      <column>
171       <property name="text">
172        <string>Name</string>
173       </property>
174      </column>
175      <item>
176       <property name="text">
177        <string>1</string>
178       </property>
179       <property name="background">
180        <brush brushstyle="SolidPattern">
181         <color alpha="255">
182          <red>170</red>
183          <green>0</green>
184          <blue>0</blue>
185         </color>
186        </brush>
187       </property>
188       <property name="text">
189        <string>Default</string>
190       </property>
191       <property name="flags">
192        <set>ItemIsSelectable|ItemIsUserCheckable|ItemIsEnabled|ItemIsTristate</set>
193       </property>
194       <item>
195        <property name="text">
196         <string>1</string>
197        </property>
198        <property name="text">
199         <string>mask1</string>
200        </property>
201       </item>
202       <item>
203        <property name="text">
204         <string>2</string>
205        </property>
206        <property name="text">
207         <string/>
208        </property>
209       </item>
210      </item>
211      <item>
212       <property name="text">
213        <string>1</string>
214       </property>
215       <property name="text">
216        <string>Rib</string>
217       </property>
218       <item>
219        <property name="text">
220         <string>1</string>
221        </property>
222        <property name="text">
223         <string/>
224        </property>
225       </item>
226       <item>
227        <property name="text">
228         <string>2</string>
229        </property>
230        <property name="text">
231         <string/>
232        </property>
233       </item>
234      </item>
235     </widget>
236    </item>
237    <item>
238     <layout class="QHBoxLayout" name="horizontalLayout_2">
239      <item>
240       <widget class="QGroupBox" name="groupBox_2">
241        <property name="title">
242         <string>Current Structure Set</string>
243        </property>
244        <layout class="QVBoxLayout" name="verticalLayout_2">
245         <item>
246          <widget class="QLabel" name="vectorFieldNameLabel_2">
247           <property name="sizePolicy">
248            <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
249             <horstretch>0</horstretch>
250             <verstretch>0</verstretch>
251            </sizepolicy>
252           </property>
253           <property name="text">
254            <string>Number of ROI : 34</string>
255           </property>
256          </widget>
257         </item>
258         <item>
259          <widget class="QLabel" name="vectorFieldNameLabel_4">
260           <property name="sizePolicy">
261            <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
262             <horstretch>0</horstretch>
263             <verstretch>0</verstretch>
264            </sizepolicy>
265           </property>
266           <property name="text">
267            <string>Loaded from : 
268  RS...dcom 
269  toto.mhd</string>
270           </property>
271          </widget>
272         </item>
273        </layout>
274       </widget>
275      </item>
276      <item>
277       <widget class="QGroupBox" name="groupBox">
278        <property name="title">
279         <string>Current ROI</string>
280        </property>
281        <layout class="QVBoxLayout" name="verticalLayout">
282         <item>
283          <layout class="QHBoxLayout" name="horizontalLayout_6">
284           <item>
285            <widget class="QCheckBox" name="mCheckBoxShow">
286             <property name="text">
287              <string>Show</string>
288             </property>
289             <property name="checked">
290              <bool>false</bool>
291             </property>
292            </widget>
293           </item>
294           <item>
295            <widget class="QPushButton" name="mChangeColorButton">
296             <property name="toolTip">
297              <string/>
298             </property>
299             <property name="autoFillBackground">
300              <bool>false</bool>
301             </property>
302             <property name="text">
303              <string>color</string>
304             </property>
305            </widget>
306           </item>
307           <item>
308            <widget class="QPushButton" name="mChangeColorButton_2">
309             <property name="toolTip">
310              <string/>
311             </property>
312             <property name="text">
313              <string/>
314             </property>
315             <property name="icon">
316              <iconset resource="../vvIcons.qrc">
317               <normaloff>:/common/icons/rotateright.png</normaloff>:/common/icons/rotateright.png</iconset>
318             </property>
319            </widget>
320           </item>
321          </layout>
322         </item>
323         <item>
324          <layout class="QHBoxLayout" name="horizontalLayout_5">
325           <item>
326            <widget class="QLabel" name="vectorFieldNameLabel_7">
327             <property name="sizePolicy">
328              <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
329               <horstretch>0</horstretch>
330               <verstretch>0</verstretch>
331              </sizepolicy>
332             </property>
333             <property name="text">
334              <string>Opacity</string>
335             </property>
336            </widget>
337           </item>
338           <item>
339            <widget class="QSlider" name="horizontalSlider">
340             <property name="orientation">
341              <enum>Qt::Horizontal</enum>
342             </property>
343            </widget>
344           </item>
345           <item>
346            <widget class="QSpinBox" name="spinBox"/>
347           </item>
348          </layout>
349         </item>
350         <item>
351          <widget class="QLabel" name="vectorFieldNameLabel_5">
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>Name : Lung</string>
360           </property>
361          </widget>
362         </item>
363         <item>
364          <widget class="QLabel" name="vectorFieldNameLabel_3">
365           <property name="sizePolicy">
366            <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
367             <horstretch>0</horstretch>
368             <verstretch>0</verstretch>
369            </sizepolicy>
370           </property>
371           <property name="text">
372            <string>Number of contours : 340</string>
373           </property>
374          </widget>
375         </item>
376         <item>
377          <widget class="QLabel" name="vectorFieldNameLabel_6">
378           <property name="sizePolicy">
379            <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
380             <horstretch>0</horstretch>
381             <verstretch>0</verstretch>
382            </sizepolicy>
383           </property>
384           <property name="text">
385            <string>From binary image : 100x100x33</string>
386           </property>
387          </widget>
388         </item>
389        </layout>
390       </widget>
391      </item>
392     </layout>
393    </item>
394   </layout>
395  </widget>
396  <resources>
397   <include location="../vvIcons.qrc"/>
398  </resources>
399  <connections>
400   <connection>
401    <sender>horizontalSlider</sender>
402    <signal>valueChanged(int)</signal>
403    <receiver>spinBox</receiver>
404    <slot>setValue(int)</slot>
405    <hints>
406     <hint type="sourcelabel">
407      <x>344</x>
408      <y>416</y>
409     </hint>
410     <hint type="destinationlabel">
411      <x>426</x>
412      <y>416</y>
413     </hint>
414    </hints>
415   </connection>
416   <connection>
417    <sender>spinBox</sender>
418    <signal>valueChanged(int)</signal>
419    <receiver>horizontalSlider</receiver>
420    <slot>setValue(int)</slot>
421    <hints>
422     <hint type="sourcelabel">
423      <x>432</x>
424      <y>421</y>
425     </hint>
426     <hint type="destinationlabel">
427      <x>351</x>
428      <y>421</y>
429     </hint>
430    </hints>
431   </connection>
432  </connections>
433 </ui>