mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-10-05 03:26:53 -04:00
Green background for CQ messages, red for "MyCall".
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@2765 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
e541f7fd4a
commit
3f20bae6a5
@ -980,6 +980,10 @@ void MainWindow::readFromStdout() //readFromStdout
|
|||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
int n=t.length();
|
int n=t.length();
|
||||||
|
QString bg="white";
|
||||||
|
if(t.indexOf(" CQ ")>0) bg="#66ff66";
|
||||||
|
if(t.indexOf(" "+m_myCall+" ")>0) bg="#ff6666";
|
||||||
|
ui->decodedTextBrowser->setTextBackgroundColor(bg);
|
||||||
ui->decodedTextBrowser->append(t.mid(0,n-2));
|
ui->decodedTextBrowser->append(t.mid(0,n-2));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user