mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-22 04:11:16 -05:00
Define bg colors in a way that works better for dark themes. Thanks to N7AJF!
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8431 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
a3fdcf7148
commit
0831ea800a
@ -191,7 +191,7 @@ void DisplayText::displayDecodedText(DecodedText const& decodedText, QString con
|
||||
bool bCQonly)
|
||||
{
|
||||
m_bPrincipalPrefix=ppfx;
|
||||
QColor bg {Qt::white};
|
||||
QColor bg {Qt::transparent};
|
||||
bool CQcall = false;
|
||||
if (decodedText.string ().contains (" CQ ")
|
||||
|| decodedText.string ().contains (" CQDX ")
|
||||
|
@ -4682,7 +4682,7 @@ void MainWindow::msgtype(QString t, QLineEdit* tx) //msgtype()
|
||||
if(shortMsg) {
|
||||
p.setColor(QPalette::Base,"#66ffff");
|
||||
} else {
|
||||
p.setColor(QPalette::Base,Qt::white);
|
||||
p.setColor(QPalette::Base,Qt::transparent);
|
||||
if(m_mode=="MSK144" and t.mid(0,1)=="<") {
|
||||
p.setColor(QPalette::Base,"#00ffff");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user