]> Creatis software - creaMaracasVisu.git/blob - lib/GUI/Qt/Viewers/qtvtkviewerwidget.ui
e732c86e7da53bc3ba2031ce8fdaf7737cf49966
[creaMaracasVisu.git] / lib / GUI / Qt / Viewers / qtvtkviewerwidget.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 # ---------------------------------------------------------------------
4 #
5 # Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image 
6 #                        pour la Sant�)
7 # Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton
8 # Previous Authors : Laurent Guigues, Jean-Pierre Roux
9 # CreaTools website : www.creatis.insa-lyon.fr/site/fr/creatools_accueil
10 #
11 #  This software is governed by the CeCILL-B license under French law and 
12 #  abiding by the rules of distribution of free software. You can  use, 
13 #  modify and/ or redistribute the software under the terms of the CeCILL-B 
14 #  license as circulated by CEA, CNRS and INRIA at the following URL 
15 #  http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html 
16 #  or in the file LICENSE.txt.
17 #
18 #  As a counterpart to the access to the source code and  rights to copy,
19 #  modify and redistribute granted by the license, users are provided only
20 #  with a limited warranty  and the software's author,  the holder of the
21 #  economic rights,  and the successive licensors  have only  limited
22 #  liability. 
23 #
24 #  The fact that you are presently reading this means that you have had
25 #  knowledge of the CeCILL-B license and that you accept its terms.
26 # ------------------------------------------------------------------------ */ 
27 -->
28 <ui version="4.0">
29  <class>QtVTKViewerWidget</class>
30  <widget class="QWidget" name="QtVTKViewerWidget">
31   <property name="geometry">
32    <rect>
33     <x>0</x>
34     <y>0</y>
35     <width>801</width>
36     <height>616</height>
37    </rect>
38   </property>
39   <property name="windowTitle">
40    <string>Form</string>
41   </property>
42   <layout class="QHBoxLayout" name="horizontalLayout">
43    <item>
44     <widget class="QToolBox" name="toolBox">
45      <property name="sizePolicy">
46       <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
47        <horstretch>2</horstretch>
48        <verstretch>0</verstretch>
49       </sizepolicy>
50      </property>
51      <property name="currentIndex">
52       <number>0</number>
53      </property>
54      <widget class="QWidget" name="page">
55       <property name="geometry">
56        <rect>
57         <x>0</x>
58         <y>0</y>
59         <width>155</width>
60         <height>505</height>
61        </rect>
62       </property>
63       <attribute name="label">
64        <string>Image Widget</string>
65       </attribute>
66       <widget class="QWidget" name="layoutWidget">
67        <property name="geometry">
68         <rect>
69          <x>0</x>
70          <y>20</y>
71          <width>201</width>
72          <height>260</height>
73         </rect>
74        </property>
75        <layout class="QVBoxLayout" name="verticalLayout">
76         <item>
77          <widget class="QCheckBox" name="checkBoxShowPlanes">
78           <property name="enabled">
79            <bool>true</bool>
80           </property>
81           <property name="text">
82            <string>Show Planes</string>
83           </property>
84           <property name="checked">
85            <bool>false</bool>
86           </property>
87           <property name="tristate">
88            <bool>false</bool>
89           </property>
90          </widget>
91         </item>
92         <item>
93          <layout class="QFormLayout" name="formLayout">
94           <item row="0" column="0" colspan="2">
95            <widget class="QCheckBox" name="checkBoxShowImageActor">
96             <property name="text">
97              <string>Show Image Actor</string>
98             </property>
99            </widget>
100           </item>
101           <item row="1" column="0">
102            <spacer name="horizontalSpacer_4">
103             <property name="orientation">
104              <enum>Qt::Horizontal</enum>
105             </property>
106             <property name="sizeHint" stdset="0">
107              <size>
108               <width>18</width>
109               <height>20</height>
110              </size>
111             </property>
112            </spacer>
113           </item>
114           <item row="1" column="1">
115            <layout class="QGridLayout" name="gridLayout">
116             <item row="0" column="0">
117              <widget class="QLabel" name="labelx">
118               <property name="text">
119                <string>X  slice =</string>
120               </property>
121              </widget>
122             </item>
123             <item row="0" column="1">
124              <spacer name="horizontalSpacer">
125               <property name="orientation">
126                <enum>Qt::Horizontal</enum>
127               </property>
128               <property name="sizeHint" stdset="0">
129                <size>
130                 <width>40</width>
131                 <height>20</height>
132                </size>
133               </property>
134              </spacer>
135             </item>
136             <item row="0" column="2">
137              <widget class="QLineEdit" name="lineEditX"/>
138             </item>
139             <item row="1" column="0" colspan="3">
140              <widget class="QSlider" name="horizontalSliderX">
141               <property name="orientation">
142                <enum>Qt::Horizontal</enum>
143               </property>
144              </widget>
145             </item>
146             <item row="2" column="0">
147              <widget class="QLabel" name="label">
148               <property name="text">
149                <string>Y slice =</string>
150               </property>
151              </widget>
152             </item>
153             <item row="2" column="1">
154              <spacer name="horizontalSpacer_2">
155               <property name="orientation">
156                <enum>Qt::Horizontal</enum>
157               </property>
158               <property name="sizeHint" stdset="0">
159                <size>
160                 <width>40</width>
161                 <height>20</height>
162                </size>
163               </property>
164              </spacer>
165             </item>
166             <item row="2" column="2">
167              <widget class="QLineEdit" name="lineEditY"/>
168             </item>
169             <item row="3" column="0" colspan="3">
170              <widget class="QSlider" name="horizontalSliderY">
171               <property name="orientation">
172                <enum>Qt::Horizontal</enum>
173               </property>
174              </widget>
175             </item>
176             <item row="4" column="0">
177              <widget class="QLabel" name="label_2">
178               <property name="text">
179                <string>Z  slice =</string>
180               </property>
181              </widget>
182             </item>
183             <item row="4" column="1">
184              <spacer name="horizontalSpacer_3">
185               <property name="orientation">
186                <enum>Qt::Horizontal</enum>
187               </property>
188               <property name="sizeHint" stdset="0">
189                <size>
190                 <width>40</width>
191                 <height>20</height>
192                </size>
193               </property>
194              </spacer>
195             </item>
196             <item row="4" column="2">
197              <widget class="QLineEdit" name="lineEditZ"/>
198             </item>
199             <item row="5" column="0" colspan="3">
200              <widget class="QSlider" name="horizontalSliderZ">
201               <property name="orientation">
202                <enum>Qt::Horizontal</enum>
203               </property>
204              </widget>
205             </item>
206            </layout>
207           </item>
208          </layout>
209         </item>
210        </layout>
211       </widget>
212      </widget>
213      <widget class="QWidget" name="page_2">
214       <property name="geometry">
215        <rect>
216         <x>0</x>
217         <y>0</y>
218         <width>155</width>
219         <height>505</height>
220        </rect>
221       </property>
222       <attribute name="label">
223        <string>Volume Rendering</string>
224       </attribute>
225       <widget class="QtVolumeRendererPanel" name="m_VolumeRender" native="true">
226        <property name="geometry">
227         <rect>
228          <x>0</x>
229          <y>0</y>
230          <width>181</width>
231          <height>221</height>
232         </rect>
233        </property>
234        <property name="sizePolicy">
235         <sizepolicy hsizetype="Maximum" vsizetype="Maximum">
236          <horstretch>10</horstretch>
237          <verstretch>0</verstretch>
238         </sizepolicy>
239        </property>
240       </widget>
241      </widget>
242      <widget class="QWidget" name="page_3">
243       <property name="geometry">
244        <rect>
245         <x>0</x>
246         <y>0</y>
247         <width>155</width>
248         <height>505</height>
249        </rect>
250       </property>
251       <attribute name="label">
252        <string>Surface Rendering</string>
253       </attribute>
254       <widget class="QtSurfaceRenderer" name="m_SurfaceRender" native="true">
255        <property name="geometry">
256         <rect>
257          <x>0</x>
258          <y>0</y>
259          <width>221</width>
260          <height>381</height>
261         </rect>
262        </property>
263       </widget>
264      </widget>
265     </widget>
266    </item>
267    <item>
268     <widget class="QtVTKViewer" name="_qtvtkviewer" native="true">
269      <property name="sizePolicy">
270       <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
271        <horstretch>8</horstretch>
272        <verstretch>0</verstretch>
273       </sizepolicy>
274      </property>
275     </widget>
276    </item>
277   </layout>
278  </widget>
279  <customwidgets>
280   <customwidget>
281    <class>QtVTKViewer</class>
282    <extends>QWidget</extends>
283    <header>qtvtkviewer.h</header>
284    <container>1</container>
285   </customwidget>
286   <customwidget>
287    <class>QtVolumeRendererPanel</class>
288    <extends>QWidget</extends>
289    <header>qtvolumerendererpanel.h</header>
290    <container>1</container>
291   </customwidget>
292   <customwidget>
293    <class>QtSurfaceRenderer</class>
294    <extends>QWidget</extends>
295    <header location="global">qtsurfacerenderer.h</header>
296    <container>1</container>
297   </customwidget>
298  </customwidgets>
299  <resources/>
300  <connections>
301   <connection>
302    <sender>checkBoxShowImageActor</sender>
303    <signal>clicked(bool)</signal>
304    <receiver>horizontalSliderX</receiver>
305    <slot>setEnabled(bool)</slot>
306    <hints>
307     <hint type="sourcelabel">
308      <x>81</x>
309      <y>132</y>
310     </hint>
311     <hint type="destinationlabel">
312      <x>81</x>
313      <y>182</y>
314     </hint>
315    </hints>
316   </connection>
317   <connection>
318    <sender>checkBoxShowImageActor</sender>
319    <signal>clicked(bool)</signal>
320    <receiver>horizontalSliderY</receiver>
321    <slot>setEnabled(bool)</slot>
322    <hints>
323     <hint type="sourcelabel">
324      <x>128</x>
325      <y>122</y>
326     </hint>
327     <hint type="destinationlabel">
328      <x>124</x>
329      <y>236</y>
330     </hint>
331    </hints>
332   </connection>
333   <connection>
334    <sender>checkBoxShowImageActor</sender>
335    <signal>clicked(bool)</signal>
336    <receiver>horizontalSliderZ</receiver>
337    <slot>setEnabled(bool)</slot>
338    <hints>
339     <hint type="sourcelabel">
340      <x>48</x>
341      <y>120</y>
342     </hint>
343     <hint type="destinationlabel">
344      <x>87</x>
345      <y>297</y>
346     </hint>
347    </hints>
348   </connection>
349  </connections>
350 </ui>