Update 'blank line' band ID at 4*TRperiod/5.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8150 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2017-10-01 14:58:10 +00:00
parent 34fa909b31
commit dc9ab1da32
2 changed files with 3 additions and 4 deletions

View File

@ -2736,10 +2736,9 @@ void MainWindow::readFromStdout() //readFromStdout
if (m_config.insert_blank () && m_blankLine) if (m_config.insert_blank () && m_blankLine)
{ {
QString band; QString band;
if (QDateTime::currentMSecsSinceEpoch() / 1000 - m_secBandChanged > 50) if((QDateTime::currentMSecsSinceEpoch() / 1000 - m_secBandChanged) > 4*m_TRperiod/4) {
{
band = ' ' + m_config.bands ()->find (m_freqNominal); band = ' ' + m_config.bands ()->find (m_freqNominal);
} }
ui->decodedTextBrowser->insertLineSpacer (band.rightJustified (40, '-')); ui->decodedTextBrowser->insertLineSpacer (band.rightJustified (40, '-'));
m_blankLine = false; m_blankLine = false;
} }

View File

@ -616,7 +616,7 @@ QLabel[oob="true"] {
<item row="7" column="0"> <item row="7" column="0">
<widget class="QSpinBox" name="rptSpinBox"> <widget class="QSpinBox" name="rptSpinBox">
<property name="toolTip"> <property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Signal report: Signal-to-noise ratio in 2500 Hz reference noise bandwidth (dB).&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Signal report: Signal-to-noise ratio in 2500 Hz reference bandwidth (dB).&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property> </property>
<property name="alignment"> <property name="alignment">
<set>Qt::AlignCenter</set> <set>Qt::AlignCenter</set>