]> Creatis software - clitk.git/blobdiff - vv/qt_ui/vvToolBinarize.ui
remove MACRO for vvTool and others minors stuffs
[clitk.git] / vv / qt_ui / vvToolBinarize.ui
index 154f977de672b75b25eeddbca86613da910050ee..3b9a1f0f2675d8b9bdcf320444a832d4e70ac8e2 100644 (file)
@@ -6,8 +6,8 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>388</width>
-    <height>318</height>
+    <width>320</width>
+    <height>298</height>
    </rect>
   </property>
   <property name="windowTitle">
          <item>
           <layout class="QHBoxLayout" name="horizontalLayout_4">
            <item>
-            <widget class="vvIntensityValueSlider" name="mFGSlider" native="true"/>
+            <widget class="QCheckBox" name="mCheckBoxUseFG">
+             <property name="text">
+              <string>Use FG</string>
+             </property>
+             <property name="checked">
+              <bool>false</bool>
+             </property>
+            </widget>
+           </item>
+           <item>
+            <widget class="vvIntensityValueSlider" name="mFGSlider" native="true">
+             <property name="enabled">
+              <bool>false</bool>
+             </property>
+            </widget>
            </item>
           </layout>
          </item>
          <item>
           <layout class="QHBoxLayout" name="horizontalLayout_5">
+           <item>
+            <widget class="QCheckBox" name="mCheckBoxUseBG">
+             <property name="text">
+              <string>Use BG</string>
+             </property>
+             <property name="checked">
+              <bool>true</bool>
+             </property>
+            </widget>
+           </item>
            <item>
             <widget class="vvIntensityValueSlider" name="mBGSlider" native="true"/>
            </item>
        </item>
        <item>
         <widget class="QCheckBox" name="checkBox_2">
+         <property name="enabled">
+          <bool>false</bool>
+         </property>
          <property name="text">
           <string>Interactive (unchek to disable on the fly contours drawing)</string>
          </property>
    <hints>
     <hint type="sourcelabel">
      <x>85</x>
-     <y>191</y>
+     <y>129</y>
     </hint>
     <hint type="destinationlabel">
-     <x>601</x>
-     <y>203</y>
+     <x>305</x>
+     <y>129</y>
     </hint>
    </hints>
   </connection>
    <hints>
     <hint type="sourcelabel">
      <x>82</x>
-     <y>121</y>
+     <y>70</y>
     </hint>
     <hint type="destinationlabel">
      <x>88</x>
-     <y>191</y>
+     <y>129</y>
     </hint>
    </hints>
   </connection>
    <hints>
     <hint type="sourcelabel">
      <x>73</x>
-     <y>141</y>
+     <y>90</y>
     </hint>
     <hint type="destinationlabel">
      <x>137</x>
-     <y>191</y>
+     <y>129</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>mCheckBoxUseBG</sender>
+   <signal>toggled(bool)</signal>
+   <receiver>mBGSlider</receiver>
+   <slot>setEnabled(bool)</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>79</x>
+     <y>203</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>202</x>
+     <y>204</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>mCheckBoxUseFG</sender>
+   <signal>toggled(bool)</signal>
+   <receiver>mFGSlider</receiver>
+   <slot>setEnabled(bool)</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>63</x>
+     <y>177</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>242</x>
+     <y>177</y>
     </hint>
    </hints>
   </connection>