Display number of QSOs in progress rather than number of Hounds queued.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8562 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2018-03-15 16:26:31 +00:00
parent 878d0e3647
commit e013dc42ba
3 changed files with 31 additions and 10 deletions

View File

@ -7428,10 +7428,6 @@ void MainWindow::selectHound(QString line)
QTextCursor cursor = ui->textBrowser4->textCursor();
cursor.setPosition(0); // Scroll to top of list
ui->textBrowser4->setTextCursor(cursor);
if(m_msgAvgWidget != NULL and m_msgAvgWidget->isVisible()) {
m_msgAvgWidget->foxLabQueued(m_houndQueue.size());
}
}
//------------------------------------------------------------------------------
@ -7657,7 +7653,10 @@ Transmit:
if(age < 3600) break;
m_foxRateQueue.dequeue();
}
m_msgAvgWidget->foxLabRate(m_foxRateQueue.size());
if(m_msgAvgWidget != NULL and m_msgAvgWidget->isVisible()) {
m_msgAvgWidget->foxLabRate(m_foxRateQueue.size());
m_msgAvgWidget->foxLabQueued(m_foxQSOqueue.count());
}
}
void MainWindow::rm_tb4(QString houndCall)

View File

@ -105,7 +105,7 @@ void MessageAveraging::foxLabCallers(int n)
void MessageAveraging::foxLabQueued(int n)
{
QString t;
t.sprintf("Queued: %3d",n);
t.sprintf("In progress: %3d",n);
ui->lab2->setText(t);
}

View File

@ -55,7 +55,7 @@
<widget class="QLabel" name="lab1">
<property name="minimumSize">
<size>
<width>0</width>
<width>77</width>
<height>20</height>
</size>
</property>
@ -68,17 +68,39 @@
<widget class="QLabel" name="lab2">
<property name="minimumSize">
<size>
<width>0</width>
<width>77</width>
<height>20</height>
</size>
</property>
<property name="text">
<string>Queued: 0</string>
<string>In progress: 0</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>25</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="lab3">
<property name="minimumSize">
<size>
<width>77</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>Logged: 0</string>
</property>
@ -88,7 +110,7 @@
<widget class="QLabel" name="lab4">
<property name="minimumSize">
<size>
<width>0</width>
<width>77</width>
<height>20</height>
</size>
</property>