]> Creatis software - clitk.git/commitdiff
small GUI update
authordsarrut <dsarrut>
Fri, 23 Jul 2010 14:24:50 +0000 (14:24 +0000)
committerdsarrut <dsarrut>
Fri, 23 Jul 2010 14:24:50 +0000 (14:24 +0000)
vv/qt_ui/vvLabelImageLoaderWidget.ui
vv/qt_ui/vvToolExtractLung.ui
vv/qt_ui/vvToolStructureSetManager.ui

index 1617824e4f4d38a8d20f1d059e2e3042df64b3da..80913ecb0fa952091c63b1df1898b2d6f1c14f9d 100644 (file)
     <height>71</height>
    </rect>
   </property>
+  <property name="sizePolicy">
+   <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
+    <horstretch>0</horstretch>
+    <verstretch>0</verstretch>
+   </sizepolicy>
+  </property>
   <property name="windowTitle">
    <string>Form</string>
   </property>
    </item>
    <item>
     <widget class="QLabel" name="mLabelInputInfo">
+     <property name="sizePolicy">
+      <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
+       <horstretch>0</horstretch>
+       <verstretch>0</verstretch>
+      </sizepolicy>
+     </property>
      <property name="font">
       <font>
        <pointsize>11</pointsize>
index f498c1b18d6dbdca9c10d27987bbf7d556180310..4d32623854f425fc3e7b1becc21313b310bf66c4 100644 (file)
@@ -7,7 +7,7 @@
     <x>0</x>
     <y>0</y>
     <width>249</width>
-    <height>97</height>
+    <height>199</height>
    </rect>
   </property>
   <property name="windowTitle">
   <layout class="QVBoxLayout" name="verticalLayout">
    <item>
     <widget class="QLabel" name="mLabelInput">
+     <property name="sizePolicy">
+      <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
+       <horstretch>0</horstretch>
+       <verstretch>0</verstretch>
+      </sizepolicy>
+     </property>
      <property name="font">
       <font>
        <pointsize>11</pointsize>
    </item>
    <item>
     <widget class="QGroupBox" name="mMaskLoaderBox">
+     <property name="sizePolicy">
+      <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
+       <horstretch>0</horstretch>
+       <verstretch>0</verstretch>
+      </sizepolicy>
+     </property>
      <property name="title">
       <string>Choose input patient binary mask</string>
      </property>
      <layout class="QGridLayout" name="gridLayout">
       <item row="1" column="0">
-       <widget class="vvLabelImageLoaderWidget" name="mPatientMaskInputWidget" native="true"/>
+       <widget class="vvLabelImageLoaderWidget" name="mPatientMaskInputWidget" native="true">
+        <property name="sizePolicy">
+         <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
+          <horstretch>0</horstretch>
+          <verstretch>0</verstretch>
+         </sizepolicy>
+        </property>
+       </widget>
+      </item>
+     </layout>
+    </widget>
+   </item>
+   <item>
+    <widget class="QGroupBox" name="mOptionsBox">
+     <property name="title">
+      <string>Extract Lung Options</string>
+     </property>
+     <layout class="QVBoxLayout" name="verticalLayout_3">
+      <item>
+       <layout class="QVBoxLayout" name="verticalLayout_2">
+        <item>
+         <widget class="vvIntensityValueSlider" name="mAirUpperThresholdSlider" native="true"/>
+        </item>
+        <item>
+         <widget class="QRadioButton" name="mRadioButtonLowerThan">
+          <property name="text">
+           <string>use lower</string>
+          </property>
+          <property name="autoExclusive">
+           <bool>false</bool>
+          </property>
+         </widget>
+        </item>
+        <item>
+         <widget class="vvIntensityValueSlider" name="mAirLowerThresholdSlider" native="true">
+          <property name="enabled">
+           <bool>false</bool>
+          </property>
+         </widget>
+        </item>
+       </layout>
       </item>
      </layout>
     </widget>
   </layout>
  </widget>
  <customwidgets>
+  <customwidget>
+   <class>vvIntensityValueSlider</class>
+   <extends>QWidget</extends>
+   <header>vvIntensityValueSlider.h</header>
+   <container>1</container>
+  </customwidget>
   <customwidget>
    <class>vvLabelImageLoaderWidget</class>
    <extends>QWidget</extends>
  <resources>
   <include location="../vvIcons.qrc"/>
  </resources>
- <connections/>
+ <connections>
+  <connection>
+   <sender>mRadioButtonLowerThan</sender>
+   <signal>toggled(bool)</signal>
+   <receiver>mAirLowerThresholdSlider</receiver>
+   <slot>setEnabled(bool)</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>64</x>
+     <y>275</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>79</x>
+     <y>299</y>
+    </hint>
+   </hints>
+  </connection>
+ </connections>
 </ui>
index dfd85645c1962bb57feb9f6dd048a9498c88e79b..ac55c975773e1804432c559429bfc2cb829e5cb4 100644 (file)
@@ -6,8 +6,8 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>277</width>
-    <height>441</height>
+    <width>295</width>
+    <height>472</height>
    </rect>
   </property>
   <property name="sizePolicy">
    <string>Form</string>
   </property>
   <layout class="QVBoxLayout" name="verticalLayout_3">
-   <property name="spacing">
-    <number>1</number>
-   </property>
-   <property name="margin">
-    <number>0</number>
-   </property>
    <item>
     <layout class="QHBoxLayout" name="horizontalLayout_2">
+     <property name="sizeConstraint">
+      <enum>QLayout::SetFixedSize</enum>
+     </property>
      <item>
       <spacer name="horizontalSpacer">
        <property name="orientation">