Try new colors for level meter: darker green for normal, dark orange for too low.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7599 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2017-03-06 22:21:07 +00:00
parent ea396ef07f
commit 5babb1c942
1 changed files with 2 additions and 2 deletions

View File

@ -57,12 +57,12 @@ void MeterWidget::paintEvent (QPaintEvent * event)
auto const& target = contentsRect ();
QRect r {QPoint {target.left (), static_cast<int> (target.top () + target.height () - m_signal / (double)MAXDB * target.height ())}
, QPoint {target.right (), target.bottom ()}};
p.setBrush (QColor {Qt::green});
p.setBrush (QColor(85,170,85));
if (m_sigPeak > 85) {
p.setBrush(Qt::red);
}
else if (m_noisePeak < 15) {
p.setBrush(Qt::yellow);
p.setBrush(QColor(232,81,0));
}
p.drawRect (r);