From 44af0a9320be29bedf205a15c23a8c53f4ac5a4e Mon Sep 17 00:00:00 2001 From: Michael Carpenter Date: Wed, 31 Jul 2013 07:29:48 -0400 Subject: [PATCH] Changed RadioCalibration to have solid green boxes rather than green outlines --- src/ui/designer/QGCRadioChannelDisplay.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/designer/QGCRadioChannelDisplay.cpp b/src/ui/designer/QGCRadioChannelDisplay.cpp index 1b10dc824..22a5e5cb3 100644 --- a/src/ui/designer/QGCRadioChannelDisplay.cpp +++ b/src/ui/designer/QGCRadioChannelDisplay.cpp @@ -39,7 +39,7 @@ void QGCRadioChannelDisplay::paintEvent(QPaintEvent *event) if (m_orientation == Qt::Vertical) { painter.drawRect(0,0,width()-1,(height()-1) - (painter.fontMetrics().height() * 2)); - painter.setBrush(Qt::SolidPattern); + painter.setBrush(QBrush(QColor::fromRgb(50,255,50),Qt::SolidPattern)); painter.setPen(QColor::fromRgb(50,255,50)); //m_value - m_min / m_max - m_min @@ -81,7 +81,7 @@ void QGCRadioChannelDisplay::paintEvent(QPaintEvent *event) else { painter.drawRect(0,0,width()-1,(height()-1) - (painter.fontMetrics().height() * 2)); - painter.setBrush(Qt::SolidPattern); + painter.setBrush(QBrush(QColor::fromRgb(50,255,50),Qt::SolidPattern)); painter.setPen(QColor::fromRgb(50,255,50)); //if (!m_showMinMax) //{ -- 2.22.0