]> Creatis software - creaMaracasVisu.git/blobdiff - lib/GUI/Qt/VolumeRenderer/qtvolumerendererpanel.ui
Issue 2153 - Wrong comment in *.ui QT files. Solved
[creaMaracasVisu.git] / lib / GUI / Qt / VolumeRenderer / qtvolumerendererpanel.ui
index 85537222c28a261f2ae678acf6228aa4b105a7c3..7efdcd8da4f1ceadb29f1e143da0fa791e6014d7 100644 (file)
@@ -1,4 +1,30 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+# ________________________________________________________________________
+#
+# Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image 
+#                        pour la Sant�)
+# Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton
+# Previous Authors : Laurent Guigues, Jean-Pierre Roux
+# CreaTools website : www.creatis.insa-lyon.fr/site/fr/creatools_accueil
+#
+#  This software is governed by the CeCILL-B license under French law and 
+#  abiding by the rules of distribution of free software. You can  use, 
+#  modify and/ or redistribute the software under the terms of the CeCILL-B 
+#  license as circulated by CEA, CNRS and INRIA at the following URL 
+#  http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html 
+#  or in the file LICENSE.txt.
+#
+#  As a counterpart to the access to the source code and  rights to copy,
+#  modify and redistribute granted by the license, users are provided only
+#  with a limited warranty  and the software's author,  the holder of the
+#  economic rights,  and the successive licensors  have only  limited
+#  liability. 
+#
+#  The fact that you are presently reading this means that you have had
+#  knowledge of the CeCILL-B license and that you accept its terms.
+# ________________________________________________________________________ */ 
+-->
 <ui version="4.0">
  <class>QtVolumeRendererPanel</class>
  <widget class="QWidget" name="QtVolumeRendererPanel">
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>432</width>
-    <height>360</height>
+    <width>275</width>
+    <height>213</height>
    </rect>
   </property>
   <property name="windowTitle">
    <string>Form</string>
   </property>
-  <layout class="QVBoxLayout" name="verticalLayout">
-   <item>
-    <widget class="QLabel" name="label">
-     <property name="text">
-      <string>Volume Rendering Controls</string>
-     </property>
-    </widget>
-   </item>
-   <item>
-    <widget class="QToolBox" name="toolBox">
-     <property name="currentIndex">
-      <number>1</number>
-     </property>
-     <widget class="QWidget" name="page">
-      <property name="geometry">
-       <rect>
-        <x>0</x>
-        <y>0</y>
-        <width>414</width>
-        <height>257</height>
-       </rect>
-      </property>
-      <attribute name="label">
-       <string>Add/Remove</string>
-      </attribute>
+  <layout class="QGridLayout" name="gridLayout_4">
+   <item row="0" column="0">
+    <layout class="QHBoxLayout" name="horizontalLayout">
+     <item>
       <widget class="QCheckBox" name="checkBoxShowVolume">
-       <property name="geometry">
-        <rect>
-         <x>50</x>
-         <y>40</y>
-         <width>121</width>
-         <height>22</height>
-        </rect>
+       <property name="toolTip">
+        <string>Add or remove the volume from the viewer</string>
+       </property>
+       <property name="text">
+        <string>Show</string>
+       </property>
+      </widget>
+     </item>
+     <item>
+      <widget class="QCheckBox" name="checkBoxBoundingBox">
+       <property name="enabled">
+        <bool>false</bool>
+       </property>
+       <property name="toolTip">
+        <string>Bounding box to view the volume, control the bounding box with the handles</string>
+       </property>
+       <property name="text">
+        <string>Box</string>
+       </property>
+      </widget>
+     </item>
+    </layout>
+   </item>
+   <item row="1" column="0">
+    <layout class="QGridLayout" name="gridLayout_3">
+     <item row="0" column="0" colspan="2">
+      <widget class="QLabel" name="label_3">
+       <property name="text">
+        <string>Ray Cast Function</string>
+       </property>
+      </widget>
+     </item>
+     <item row="1" column="0">
+      <widget class="QRadioButton" name="radioButtonComposite">
+       <property name="toolTip">
+        <string>Change the Ray Cast Function To Composite (All)</string>
+       </property>
+       <property name="text">
+        <string>Composite</string>
+       </property>
+       <property name="checked">
+        <bool>true</bool>
+       </property>
+       <property name="autoExclusive">
+        <bool>true</bool>
+       </property>
+       <attribute name="buttonGroup">
+        <string>buttonGroup</string>
+       </attribute>
+      </widget>
+     </item>
+     <item row="1" column="1">
+      <widget class="QRadioButton" name="radioButtonMIP">
+       <property name="toolTip">
+        <string>Change the Ray Cast Function To Maximum Intensity Pixel</string>
+       </property>
+       <property name="text">
+        <string>MaxIP </string>
+       </property>
+       <property name="checked">
+        <bool>false</bool>
        </property>
+       <property name="autoExclusive">
+        <bool>true</bool>
+       </property>
+       <attribute name="buttonGroup">
+        <string>buttonGroup</string>
+       </attribute>
+      </widget>
+     </item>
+     <item row="1" column="2">
+      <widget class="QRadioButton" name="radioButtonMinIP">
+       <property name="toolTip">
+        <string>Change the Ray Cast Function To Minimum Intensity Pixel</string>
+       </property>
+       <property name="text">
+        <string>MinIP</string>
+       </property>
+       <property name="autoExclusive">
+        <bool>true</bool>
+       </property>
+       <attribute name="buttonGroup">
+        <string>buttonGroup</string>
+       </attribute>
+      </widget>
+     </item>
+    </layout>
+   </item>
+   <item row="2" column="0">
+    <layout class="QGridLayout" name="gridLayout_2">
+     <item row="0" column="0">
+      <widget class="QLabel" name="label_2">
+       <property name="text">
+        <string>Interpolation</string>
+       </property>
+      </widget>
+     </item>
+     <item row="1" column="0">
+      <widget class="QRadioButton" name="radioButtonLinear">
        <property name="text">
-        <string>Show Volume</string>
+        <string>Linear</string>
+       </property>
+       <property name="checked">
+        <bool>true</bool>
        </property>
+       <attribute name="buttonGroup">
+        <string>buttonGroup_2</string>
+       </attribute>
       </widget>
-     </widget>
-     <widget class="QWidget" name="page_2">
-      <property name="geometry">
-       <rect>
-        <x>0</x>
-        <y>0</y>
-        <width>414</width>
-        <height>257</height>
-       </rect>
-      </property>
-      <attribute name="label">
-       <string>Opacity</string>
-      </attribute>
+     </item>
+     <item row="1" column="1">
+      <widget class="QRadioButton" name="radioButtonNearest">
+       <property name="text">
+        <string>Nearest</string>
+       </property>
+       <attribute name="buttonGroup">
+        <string>buttonGroup_2</string>
+       </attribute>
+      </widget>
+     </item>
+    </layout>
+   </item>
+   <item row="3" column="0">
+    <layout class="QGridLayout" name="gridLayout">
+     <item row="0" column="0">
+      <widget class="QLabel" name="label">
+       <property name="text">
+        <string>Opacity</string>
+       </property>
+      </widget>
+     </item>
+     <item row="0" column="1">
+      <widget class="QLineEdit" name="lineEditOpacity">
+       <property name="text">
+        <string>100</string>
+       </property>
+       <property name="readOnly">
+        <bool>true</bool>
+       </property>
+      </widget>
+     </item>
+     <item row="1" column="0" colspan="2">
       <widget class="QSlider" name="opacitySlider">
-       <property name="geometry">
-        <rect>
-         <x>10</x>
-         <y>10</y>
-         <width>141</width>
-         <height>21</height>
-        </rect>
+       <property name="enabled">
+        <bool>false</bool>
+       </property>
+       <property name="mouseTracking">
+        <bool>false</bool>
        </property>
        <property name="toolTip">
         <string>Changes the opacity of the volume rendered</string>
         <enum>QSlider::TicksAbove</enum>
        </property>
       </widget>
-      <zorder>opacitySlider</zorder>
-      <zorder>label</zorder>
-     </widget>
-    </widget>
+     </item>
+    </layout>
    </item>
   </layout>
  </widget>
+ <tabstops>
+  <tabstop>checkBoxShowVolume</tabstop>
+  <tabstop>checkBoxBoundingBox</tabstop>
+  <tabstop>opacitySlider</tabstop>
+  <tabstop>lineEditOpacity</tabstop>
+ </tabstops>
  <resources/>
- <connections/>
+ <connections>
+  <connection>
+   <sender>checkBoxShowVolume</sender>
+   <signal>toggled(bool)</signal>
+   <receiver>checkBoxBoundingBox</receiver>
+   <slot>setEnabled(bool)</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>134</x>
+     <y>93</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>524</x>
+     <y>93</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>checkBoxShowVolume</sender>
+   <signal>toggled(bool)</signal>
+   <receiver>opacitySlider</receiver>
+   <slot>setEnabled(bool)</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>134</x>
+     <y>93</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>77</x>
+     <y>626</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>checkBoxShowVolume</sender>
+   <signal>toggled(bool)</signal>
+   <receiver>radioButtonLinear</receiver>
+   <slot>setEnabled(bool)</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>134</x>
+     <y>93</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>29</x>
+     <y>495</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>checkBoxShowVolume</sender>
+   <signal>toggled(bool)</signal>
+   <receiver>radioButtonNearest</receiver>
+   <slot>setEnabled(bool)</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>134</x>
+     <y>93</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>532</x>
+     <y>495</y>
+    </hint>
+   </hints>
+  </connection>
+ </connections>
+ <buttongroups>
+  <buttongroup name="buttonGroup_2"/>
+  <buttongroup name="buttonGroup">
+   <property name="exclusive">
+    <bool>true</bool>
+   </property>
+  </buttongroup>
+ </buttongroups>
 </ui>