mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-03-24 21:19:02 -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
8e637eba46
commit
5bf46fec8f
@ -980,6 +980,10 @@ void MainWindow::readFromStdout() //readFromStdout
|
||||
return;
|
||||
} else {
|
||||
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));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user