From 42288082b52b88cf04ac8b405435be85ed21e325 Mon Sep 17 00:00:00 2001
From: Joe Taylor <k1jt@arrl.org>
Date: Thu, 15 Sep 2016 20:25:22 +0000
Subject: [PATCH] Two decimal places in readout of cursor time.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7088 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
---
 fastplot.cpp | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/fastplot.cpp b/fastplot.cpp
index 52ddf65c1..69861abbc 100644
--- a/fastplot.cpp
+++ b/fastplot.cpp
@@ -161,6 +161,12 @@ void FPlotter::draw()                                         //draw()
       if(y>254) y=254;
       painter1.setPen(g_ColorTbl[y]);
       painter1.drawPoint(j,64-i);
+
+/*
+// Testing 2x expanded scale in x direction:
+      painter1.drawPoint(2*j,64-i);
+      painter1.drawPoint(2*j+1,64-i);
+*/
   }
 
   painter1.setPen(penGreen);                                // Upper green curve
@@ -171,6 +177,7 @@ void FPlotter::draw()                                         //draw()
     int y = 0.9*m_h - greenGain*fast_green[x] - m_greenZero + 40;
     if(y>119) y=119;
     LineBuf[j].setX(x);
+//    LineBuf[j].setX(2*x);
     LineBuf[j].setY(y);
     j++;
   }
@@ -219,8 +226,8 @@ void FPlotter::mouseMoveEvent(QMouseEvent *event)
 //  int y=event->y();
   float t=x/m_pixPerSecond;
   QString t1;
-  t1.sprintf("%4.1f",t);
-  if(m_t1.length()==4) {
+  t1.sprintf("%5.2f",t);
+  if(m_t1.length()==5) {
     painter.setPen(Qt::black);
     painter.drawText (380,90,m_t1);
   }