]> Creatis software - clitk.git/commitdiff
minor bugfixes
authorschaerer <schaerer>
Tue, 6 Apr 2010 12:58:13 +0000 (12:58 +0000)
committerschaerer <schaerer>
Tue, 6 Apr 2010 12:58:13 +0000 (12:58 +0000)
vv/qt_ui/vvToolResample.ui
vv/qt_ui/vvToolWidgetBase.ui
vv/vvToolResample.cxx
vv/vvToolResample.h

index 09596da13a9a833f117f777b697843b58883d973..63d680e2c8008dac3eb63934d88cc7b949af0ca3 100644 (file)
@@ -40,7 +40,7 @@
           <item>
            <widget class="QLabel" name="mInputFormatLabel">
             <property name="text">
-             <string>.mhd</string>
+             <string/>
             </property>
            </widget>
           </item>
@@ -58,7 +58,7 @@
           <item>
            <widget class="QLabel" name="mInputDimLabel">
             <property name="text">
-             <string>TextLabel</string>
+             <string/>
             </property>
            </widget>
           </item>
@@ -76,7 +76,7 @@
           <item>
            <widget class="QLabel" name="mInputPixelTypeLabel">
             <property name="text">
-             <string>TextLabel</string>
+             <string/>
             </property>
            </widget>
           </item>
@@ -94,7 +94,7 @@
           <item>
            <widget class="QLabel" name="mInputSizeLabel">
             <property name="text">
-             <string>TextLabel</string>
+             <string/>
             </property>
            </widget>
           </item>
           <item>
            <widget class="QLabel" name="mInputSpacingLabel">
             <property name="text">
-             <string>TextLabel</string>
+             <string/>
             </property>
            </widget>
           </item>
           </item>
           <item>
            <widget class="QLabel" name="mInputMemoryLabel">
-            <property name="text">
-             <string>TextLabel</string>
-            </property>
-           </widget>
-          </item>
-         </layout>
-        </item>
-        <item>
-         <layout class="QHBoxLayout" name="_23">
-          <item>
-           <widget class="QLabel" name="label_8">
-            <property name="text">
-             <string>Display result?</string>
-            </property>
-           </widget>
-          </item>
-          <item>
-           <widget class="QCheckBox" name="display_result">
             <property name="text">
              <string/>
             </property>
-            <property name="checked">
-             <bool>true</bool>
-            </property>
-            <property name="autoExclusive">
-             <bool>false</bool>
-            </property>
            </widget>
           </item>
          </layout>
@@ -1056,7 +1032,7 @@ p, li { white-space: pre-wrap; }
           <item>
            <widget class="QLabel" name="mOutputSizeLabel">
             <property name="text">
-             <string>TextLabel</string>
+             <string/>
             </property>
            </widget>
           </item>
@@ -1074,7 +1050,7 @@ p, li { white-space: pre-wrap; }
           <item>
            <widget class="QLabel" name="mOutputSpacingLabel">
             <property name="text">
-             <string>TextLabel</string>
+             <string/>
             </property>
            </widget>
           </item>
@@ -1092,7 +1068,7 @@ p, li { white-space: pre-wrap; }
           <item>
            <widget class="QLabel" name="mOutputMemoryLabel">
             <property name="text">
-             <string>TextLabel</string>
+             <string/>
             </property>
            </widget>
           </item>
index 7cfdbed051255642025a656e7f705fda6f2a6205..94b7d779a2d5c25e8268f5af99563adbfc12e979 100644 (file)
@@ -6,12 +6,12 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>178</width>
+    <width>179</width>
     <height>61</height>
    </rect>
   </property>
   <property name="windowTitle">
-   <string>Form</string>
+   <string>Image Tool</string>
   </property>
   <layout class="QVBoxLayout" name="verticalLayout">
    <item>
index 202d04e8fcadf4ed0b1bf4a62d5b5521dfe348d7..cfd7f994b2c23ebb165bb56f663388d86b4ad853 100644 (file)
@@ -198,6 +198,7 @@ QString vvToolResample::GetSizeInBytes(std::vector<int> & size) {
         result += QString::number(t);
         result += " KB)";
     }
+    else result += ")";
     return result;
 }
 //====================================================================
index 5a72a4135fc6986e70f9269c75d2fe868dfc0537..56801be43d74767b51f67ab4fc9f96c5c00baf8e 100644 (file)
@@ -45,9 +45,6 @@ public:
     vvImage::Pointer GetOutput() {
         return mOutput;
     }
-    bool GetDisplayResult() {
-        return display_result->checkState() > 0;
-    }
     std::string GetOutputFileName();
     static void Initialize();
     void apply();