mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2026-06-11 02:09:03 -04:00
when TRperiod < 30 s, expand the Fast Graph scale so full width is 15 s.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7089 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
+6
-2
@@ -133,6 +133,10 @@ void FPlotter::setGreenZero(int n)
|
||||
void FPlotter::setTRperiod(int n)
|
||||
{
|
||||
m_TRperiod=n;
|
||||
m_pixPerSecond=12000.0/512.0;
|
||||
if(m_TRperiod<30) m_pixPerSecond=12000.0/256.0;
|
||||
drawScale();
|
||||
update();
|
||||
}
|
||||
|
||||
|
||||
@@ -229,10 +233,10 @@ void FPlotter::mouseMoveEvent(QMouseEvent *event)
|
||||
t1.sprintf("%5.2f",t);
|
||||
if(m_t1.length()==5) {
|
||||
painter.setPen(Qt::black);
|
||||
painter.drawText (380,90,m_t1);
|
||||
painter.drawText(60,95,m_t1);
|
||||
}
|
||||
painter.setPen(Qt::yellow);
|
||||
painter.drawText (380,90,t1);
|
||||
painter.drawText(60,95,t1);
|
||||
update();
|
||||
m_t1=t1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user