mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-05-24 10:22:26 -04:00
Highlight QMAP's Q65-30B decodes with yellow background.
This commit is contained in:
parent
115c4c4e30
commit
6019101018
@ -899,6 +899,7 @@ void MainWindow::on_EraseButton_clicked()
|
|||||||
{
|
{
|
||||||
ui->decodedTextBrowser->clear();
|
ui->decodedTextBrowser->clear();
|
||||||
lab4->clear();
|
lab4->clear();
|
||||||
|
m_nline=0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -939,10 +940,19 @@ void MainWindow::guiUpdate()
|
|||||||
if(m_UTC0!="" and m_UTC0!=t.left(4)) {
|
if(m_UTC0!="" and m_UTC0!=t.left(4)) {
|
||||||
t1="-";
|
t1="-";
|
||||||
ui->decodedTextBrowser->append(t1.repeated(56));
|
ui->decodedTextBrowser->append(t1.repeated(56));
|
||||||
|
m_nline++;
|
||||||
}
|
}
|
||||||
m_UTC0=t.left(4);
|
m_UTC0=t.left(4);
|
||||||
ui->decodedTextBrowser->append(t.trimmed());
|
t=t.trimmed();
|
||||||
|
ui->decodedTextBrowser->append(t);
|
||||||
m_fetched++;
|
m_fetched++;
|
||||||
|
m_nline++;
|
||||||
|
if(t.mid(36,2)=="30") {
|
||||||
|
QTextCursor cursor(ui->decodedTextBrowser->document()->findBlockByLineNumber(m_nline-1));
|
||||||
|
QTextBlockFormat f = cursor.blockFormat();
|
||||||
|
f.setBackground(QBrush(Qt::yellow));
|
||||||
|
cursor.setBlockFormat(f);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
t1="";
|
t1="";
|
||||||
|
@ -113,10 +113,10 @@ private:
|
|||||||
qint32 m_modeQ65;
|
qint32 m_modeQ65;
|
||||||
qint32 m_dB;
|
qint32 m_dB;
|
||||||
qint32 m_fetched=0;
|
qint32 m_fetched=0;
|
||||||
// qint32 m_hsymStop=371;
|
|
||||||
qint32 m_hsymStop=390; //390*0.15 = 58.5 s
|
qint32 m_hsymStop=390; //390*0.15 = 58.5 s
|
||||||
qint32 m_nTransmitted=0;
|
qint32 m_nTransmitted=0;
|
||||||
qint32 m_nDoubleClicked=0;
|
qint32 m_nDoubleClicked=0;
|
||||||
|
qint32 m_nline=0;
|
||||||
|
|
||||||
double m_fAdd;
|
double m_fAdd;
|
||||||
double m_xavg;
|
double m_xavg;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user