]> Creatis software - creaMaracasVisu.git/blobdiff - lib/GUI/Qt/Viewers/qtvtkviewerwidget.ui
changes in qt for volume rendering with gpu support, if you are working with volume...
[creaMaracasVisu.git] / lib / GUI / Qt / Viewers / qtvtkviewerwidget.ui
index 553d4b9a97dfb497f987b2b301b0b00cb00456b6..d7d8ae42207ed5964bbfb52deb96c05a9ee22f3c 100644 (file)
       </sizepolicy>
      </property>
      <property name="currentIndex">
-      <number>2</number>
+      <number>0</number>
      </property>
      <widget class="QWidget" name="page">
       <property name="geometry">
        <rect>
         <x>0</x>
         <y>0</y>
-        <width>98</width>
-        <height>28</height>
+        <width>155</width>
+        <height>505</height>
        </rect>
       </property>
       <attribute name="label">
        <string>Image Widget</string>
       </attribute>
-      <widget class="QCheckBox" name="checkBoxShowPlanes">
-       <property name="enabled">
-        <bool>true</bool>
-       </property>
+      <widget class="QWidget" name="">
        <property name="geometry">
         <rect>
-         <x>10</x>
+         <x>0</x>
          <y>20</y>
-         <width>111</width>
-         <height>22</height>
+         <width>201</width>
+         <height>246</height>
         </rect>
        </property>
-       <property name="text">
-        <string>Show Planes</string>
-       </property>
-       <property name="checked">
-        <bool>true</bool>
-       </property>
-       <property name="tristate">
-        <bool>false</bool>
-       </property>
+       <layout class="QVBoxLayout" name="verticalLayout">
+        <item>
+         <widget class="QCheckBox" name="checkBoxShowPlanes">
+          <property name="enabled">
+           <bool>true</bool>
+          </property>
+          <property name="text">
+           <string>Show Planes</string>
+          </property>
+          <property name="checked">
+           <bool>true</bool>
+          </property>
+          <property name="tristate">
+           <bool>false</bool>
+          </property>
+         </widget>
+        </item>
+        <item>
+         <layout class="QFormLayout" name="formLayout">
+          <item row="0" column="0" colspan="2">
+           <widget class="QCheckBox" name="checkBoxShowImageActor">
+            <property name="text">
+             <string>Show Image Actor</string>
+            </property>
+           </widget>
+          </item>
+          <item row="1" column="0">
+           <spacer name="horizontalSpacer_4">
+            <property name="orientation">
+             <enum>Qt::Horizontal</enum>
+            </property>
+            <property name="sizeHint" stdset="0">
+             <size>
+              <width>18</width>
+              <height>20</height>
+             </size>
+            </property>
+           </spacer>
+          </item>
+          <item row="1" column="1">
+           <layout class="QGridLayout" name="gridLayout">
+            <item row="0" column="0">
+             <widget class="QLabel" name="labelx">
+              <property name="text">
+               <string>X  slice =</string>
+              </property>
+             </widget>
+            </item>
+            <item row="0" column="1">
+             <spacer name="horizontalSpacer">
+              <property name="orientation">
+               <enum>Qt::Horizontal</enum>
+              </property>
+              <property name="sizeHint" stdset="0">
+               <size>
+                <width>40</width>
+                <height>20</height>
+               </size>
+              </property>
+             </spacer>
+            </item>
+            <item row="0" column="2">
+             <widget class="QLineEdit" name="lineEditX"/>
+            </item>
+            <item row="1" column="0" colspan="3">
+             <widget class="QSlider" name="horizontalSliderX">
+              <property name="orientation">
+               <enum>Qt::Horizontal</enum>
+              </property>
+             </widget>
+            </item>
+            <item row="2" column="0">
+             <widget class="QLabel" name="label">
+              <property name="text">
+               <string>Y slice =</string>
+              </property>
+             </widget>
+            </item>
+            <item row="2" column="1">
+             <spacer name="horizontalSpacer_2">
+              <property name="orientation">
+               <enum>Qt::Horizontal</enum>
+              </property>
+              <property name="sizeHint" stdset="0">
+               <size>
+                <width>40</width>
+                <height>20</height>
+               </size>
+              </property>
+             </spacer>
+            </item>
+            <item row="2" column="2">
+             <widget class="QLineEdit" name="lineEditY"/>
+            </item>
+            <item row="3" column="0" colspan="3">
+             <widget class="QSlider" name="horizontalSliderY">
+              <property name="orientation">
+               <enum>Qt::Horizontal</enum>
+              </property>
+             </widget>
+            </item>
+            <item row="4" column="0">
+             <widget class="QLabel" name="label_2">
+              <property name="text">
+               <string>Z  slice =</string>
+              </property>
+             </widget>
+            </item>
+            <item row="4" column="1">
+             <spacer name="horizontalSpacer_3">
+              <property name="orientation">
+               <enum>Qt::Horizontal</enum>
+              </property>
+              <property name="sizeHint" stdset="0">
+               <size>
+                <width>40</width>
+                <height>20</height>
+               </size>
+              </property>
+             </spacer>
+            </item>
+            <item row="4" column="2">
+             <widget class="QLineEdit" name="lineEditZ"/>
+            </item>
+            <item row="5" column="0" colspan="3">
+             <widget class="QSlider" name="horizontalSliderZ">
+              <property name="orientation">
+               <enum>Qt::Horizontal</enum>
+              </property>
+             </widget>
+            </item>
+           </layout>
+          </item>
+         </layout>
+        </item>
+       </layout>
       </widget>
      </widget>
      <widget class="QWidget" name="page_2">
        <rect>
         <x>0</x>
         <y>0</y>
-        <width>98</width>
-        <height>28</height>
+        <width>155</width>
+        <height>505</height>
        </rect>
       </property>
       <attribute name="label">
          <x>0</x>
          <y>0</y>
          <width>181</width>
-         <height>121</height>
+         <height>221</height>
         </rect>
        </property>
        <property name="sizePolicy">
       <attribute name="label">
        <string>Surface Rendering</string>
       </attribute>
-      <widget class="QtSurfaceRendererPanel" name="m_SurfaceRender" native="true">
+      <widget class="QtSurfaceRenderer" name="m_SurfaceRender" native="true">
        <property name="geometry">
         <rect>
          <x>0</x>
          <y>0</y>
-         <width>151</width>
-         <height>271</height>
+         <width>221</width>
+         <height>381</height>
         </rect>
        </property>
       </widget>
        <verstretch>0</verstretch>
       </sizepolicy>
      </property>
+     <zorder>toolBox</zorder>
+     <zorder>toolBox</zorder>
+     <zorder>toolBox</zorder>
     </widget>
    </item>
   </layout>
    <container>1</container>
   </customwidget>
   <customwidget>
-   <class>QtSurfaceRendererPanel</class>
+   <class>QtSurfaceRenderer</class>
    <extends>QWidget</extends>
-   <header location="global">qtsurfacerendererpanel.h</header>
+   <header location="global">qtsurfacerenderer.h</header>
    <container>1</container>
   </customwidget>
  </customwidgets>
  <resources/>
- <connections/>
+ <connections>
+  <connection>
+   <sender>checkBoxShowImageActor</sender>
+   <signal>clicked(bool)</signal>
+   <receiver>horizontalSliderX</receiver>
+   <slot>setEnabled(bool)</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>81</x>
+     <y>132</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>81</x>
+     <y>182</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>checkBoxShowImageActor</sender>
+   <signal>clicked(bool)</signal>
+   <receiver>horizontalSliderY</receiver>
+   <slot>setEnabled(bool)</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>128</x>
+     <y>122</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>124</x>
+     <y>236</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>checkBoxShowImageActor</sender>
+   <signal>clicked(bool)</signal>
+   <receiver>horizontalSliderZ</receiver>
+   <slot>setEnabled(bool)</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>48</x>
+     <y>120</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>87</x>
+     <y>297</y>
+    </hint>
+   </hints>
+  </connection>
+ </connections>
 </ui>