Change m_TRperiod from qint32 to double. Functional, but needs more testing!

This commit is contained in:
Joe Taylor
2019-05-22 12:44:28 -04:00
parent 10aaec90e3
commit 0d3be0128b
16 changed files with 113 additions and 104 deletions
+3 -3
View File
@@ -135,11 +135,11 @@ void FPlotter::setGreenZero(int n)
m_bPaint2=true;
}
void FPlotter::setTRperiod(int n)
void FPlotter::setTRperiod(double p)
{
m_TRperiod=n;
m_TRperiod=p;
m_pixPerSecond=12000.0/512.0;
if(m_TRperiod<30) m_pixPerSecond=12000.0/256.0;
if(m_TRperiod<30.0) m_pixPerSecond=12000.0/256.0;
drawScale();
update();
}