As a trial, add a CQ-only checkbox.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8335 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor
2017-12-16 14:47:17 +00:00
parent 02fee1fe27
commit 9bc2586bff
4 changed files with 14 additions and 4 deletions
+3 -1
View File
@@ -187,7 +187,8 @@ QString DisplayText::appendDXCCWorkedB4(QString message, QString const& callsign
void DisplayText::displayDecodedText(DecodedText const& decodedText, QString const& myCall,
bool displayDXCCEntity, LogBook const& logBook,
QColor color_CQ, QColor color_MyCall,
QColor color_DXCC, QColor color_NewCall,bool ppfx)
QColor color_DXCC, QColor color_NewCall, bool ppfx,
bool bCQonly)
{
m_bPrincipalPrefix=ppfx;
QColor bg {Qt::white};
@@ -199,6 +200,7 @@ void DisplayText::displayDecodedText(DecodedText const& decodedText, QString con
CQcall = true;
bg = color_CQ;
}
if(bCQonly and !CQcall) return;
if (myCall != "" and (
decodedText.indexOf (" " + myCall + " ") >= 0
or decodedText.indexOf (" " + myCall + "/") >= 0