Display all current calls with grids. Add asterisk for those ready to call.

This commit is contained in:
Joe Taylor 2022-03-19 19:42:29 -04:00
parent 6ca1b14477
commit 653ea56a77
2 changed files with 16 additions and 16 deletions

View File

@ -3445,7 +3445,6 @@ void MainWindow::ARRL_Digi_Display()
if(age>maxAge) { if(age>maxAge) {
icall.remove(); icall.remove();
} else { } else {
if(m_recentCall.value(deCall).ready2call) {
i++; i++;
int az=m_activeCall[deCall].az; int az=m_activeCall[deCall].az;
deGrid=m_activeCall[deCall].grid4; deGrid=m_activeCall[deCall].grid4;
@ -3455,13 +3454,14 @@ void MainWindow::ARRL_Digi_Display()
float x=float(age)/(maxAge+1); float x=float(age)/(maxAge+1);
if(x>1.0) x=0; if(x>1.0) x=0;
pts[i-1]=points - x; pts[i-1]=points - x;
QString t0=" ";
if(m_recentCall.value(deCall).ready2call) t0="* ";
QString t1; QString t1;
t1 = t1.asprintf(" %3d %+2.2d %4d %1d %2d %4d",az,snr,freq,itx,age,points); t1 = t1.asprintf(" %3d %+2.2d %4d %1d %2d %4d",az,snr,freq,itx,age,points);
t1 = (deCall + " ").left(6) + " " + m_activeCall[deCall].grid4 + t1 + " " + bands; t1 = t0 + (deCall + " ").left(6) + " " + m_activeCall[deCall].grid4 + t1 + " " + bands;
list.append(t1); list.append(t1);
} }
} }
}
if(i==0) return; if(i==0) return;
int jz=i; int jz=i;
m_ActiveStationsWidget->setClickOK(false); m_ActiveStationsWidget->setClickOK(false);