Correct the green marker in QRA mode.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6846 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2016-07-01 15:41:03 +00:00
parent bb1e8f6692
commit 6cbb45bc1f
2 changed files with 12 additions and 8 deletions

View File

@ -3883,6 +3883,8 @@ void MainWindow::on_actionQRA65_triggered()
QString t1=(QString)QChar(short(m_nSubMode+65)); QString t1=(QString)QChar(short(m_nSubMode+65));
// mode_label->setText(m_mode + " " + t1); // mode_label->setText(m_mode + " " + t1);
mode_label->setText("QRA02 " + t1); mode_label->setText("QRA02 " + t1);
m_wideGraph->setMode(m_mode);
m_wideGraph->setModeTx(m_modeTx);
} }

View File

@ -377,7 +377,7 @@ void CPlotter::DrawOverlay() //DrawOverlay()
} }
if(m_mode=="JT9" or m_mode=="JT65" or m_mode=="JT9+JT65" or m_mode=="QRA65") { if(m_mode=="JT9" or m_mode=="JT65" or m_mode=="JT9+JT65" or m_mode=="QRA65") {
if(g_single_decode and m_mode=="JT65") { if(m_mode=="QRA65" or (g_single_decode and m_mode=="JT65")) {
painter0.setPen(penGreen); painter0.setPen(penGreen);
x1=XfromFreq(m_rxFreq-m_tol); x1=XfromFreq(m_rxFreq-m_tol);
x2=XfromFreq(m_rxFreq+m_tol); x2=XfromFreq(m_rxFreq+m_tol);
@ -385,13 +385,15 @@ void CPlotter::DrawOverlay() //DrawOverlay()
x1=XfromFreq(m_rxFreq); x1=XfromFreq(m_rxFreq);
painter0.drawLine(x1,24,x1,30); painter0.drawLine(x1,24,x1,30);
painter0.setPen(penOrange); if(m_mode=="JT65") {
x3=XfromFreq(m_rxFreq+20.0*bw/65.0); //RO painter0.setPen(penOrange);
painter0.drawLine(x3,24,x3,30); x3=XfromFreq(m_rxFreq+20.0*bw/65.0); //RO
x4=XfromFreq(m_rxFreq+30.0*bw/65.0); //RRR painter0.drawLine(x3,24,x3,30);
painter0.drawLine(x4,24,x4,30); x4=XfromFreq(m_rxFreq+30.0*bw/65.0); //RRR
x5=XfromFreq(m_rxFreq+40.0*bw/65.0); //73 painter0.drawLine(x4,24,x4,30);
painter0.drawLine(x5,24,x5,30); x5=XfromFreq(m_rxFreq+40.0*bw/65.0); //73
painter0.drawLine(x5,24,x5,30);
}
painter0.setPen(penGreen); painter0.setPen(penGreen);
x6=XfromFreq(m_rxFreq+bw); //Highest tone x6=XfromFreq(m_rxFreq+bw); //Highest tone
painter0.drawLine(x6,24,x6,30); painter0.drawLine(x6,24,x6,30);