WSPR-mode behavior changes.

Forbid consecutive Tx sequences.
Mark Tx sequences with horizontal yellow line in waterfall.
Reduce the wait time in msleep() command (mainwindow.cpp line 4342).


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5470 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor
2015-05-30 16:08:20 +00:00
parent b9740e3a8e
commit 89f67f3d54
5 changed files with 25 additions and 17 deletions
+3 -5
View File
@@ -6,8 +6,6 @@
#define MAX_SCREENSIZE 2048
//float swide0[2048];
CPlotter::CPlotter(QWidget *parent) : //CPlotter Constructor
QFrame(parent)
{
@@ -128,15 +126,15 @@ void CPlotter::draw(float swide[], bool bScroll) //dr
}
float ymin=1.e30;
if(swide[0]>1.e29 and swide[0]< 1.5e30) painter1.setPen(Qt::green);
if(swide[0]>1.4e30) painter1.setPen(Qt::yellow);
for(int i=0; i<iz; i++) {
// swide0[i]=swide[i];
y=swide[i];
if(y<ymin) ymin=y;
int y1 = 10.0*gain*y + 10*m_plotZero +40;
if (y1<0) y1=0;
if (y1>254) y1=254;
if (swide[i]>1.e29) y1=255;
painter1.setPen(m_ColorTbl[y1]);
if (swide[i]<1.e29) painter1.setPen(m_ColorTbl[y1]);
painter1.drawPoint(i,0);
}