[Kst] kdeextragear-2/kst/kst

Andrew Walker arwalker at sumusltd.com
Tue Aug 31 19:15:06 CEST 2004


CVS commit by arwalker: 

Explicitly designate the format as 'G' for the curve and image values displayed in the status bar.


  M +7 -3      kst2dplot.cpp   1.255


--- kdeextragear-2/kst/kst/kst2dplot.cpp  #1.254:1.255
@@ -2303,5 +2303,5 @@ void Kst2DPlot::highlightNearestDataPoin
         drawDotAt(p, newxpos, newypos, curve);
       }
-      msg = i18n("%3 (%1, %2)").arg(newxpos).arg(newypos,0,'G').arg(curve->tagName());
+      msg = i18n("%3 (%1, %2)").arg(newxpos,0,'G').arg(newypos,0,'G').arg(curve->tagName());
     } else {
       _copy_x = KST::NOPOINT;
@@ -2309,5 +2309,8 @@ void Kst2DPlot::highlightNearestDataPoin
       static_cast<KstViewWidget*>(view)->paint();
     }
-    //display the z value of the topmost image underneath cursor, if available
+    
+    //
+    //display the z value of the topmost image underneath cursor, if available...
+    //
     if (_images.count() > 0) {
       double Z;
@@ -2325,5 +2329,5 @@ void Kst2DPlot::highlightNearestDataPoin
           comma = ", ";
         }
-        msg += comma + QString("%4 (%1, %2, %3)").arg(xpos).arg(ypos).arg(Z).arg(_images[i+1]->tagName());
+        msg += comma + QString("%4 (%1, %2, %3)").arg(xpos,0,'G').arg(ypos,0,'G').arg(Z,0,'G').arg(_images[i+1]->tagName());
       }
     }





More information about the Kst mailing list