]> Creatis software - clitk.git/commitdiff
Display values of two images and their difference in the same way instead of rounding...
authorsrit <srit>
Thu, 17 Mar 2011 18:39:09 +0000 (18:39 +0000)
committersrit <srit>
Thu, 17 Mar 2011 18:39:09 +0000 (18:39 +0000)
vv/vvOverlayPanel.cxx

index 76116236043cc002b8cda0aaf2d8b31c5869d8d6..ac981a78f26b2e98aeb220f1e364e7426cdef908 100644 (file)
@@ -149,8 +149,8 @@ void vvOverlayPanel::getCurrentOverlayInfo(int visibility,double valueOver, doub
   QString diffValue = "<b>Pixel difference : </b>";
   if (visibility) {
     refValue += QString::number(valueRef);
-    overlayValue += QString::number(valueOver,'f',1);
-    diffValue += QString::number(valueRef - valueOver,'f',1);
+    overlayValue += QString::number(valueOver);
+    diffValue += QString::number(valueRef - valueOver);
   }
   refValueLabel->setText(refValue);
   valueLabel->setText(overlayValue);