diff --git a/ground/openpilotgcs/src/plugins/scope/scopegadget.cpp b/ground/openpilotgcs/src/plugins/scope/scopegadget.cpp index 2244a74b0..ccf4a8b82 100644 --- a/ground/openpilotgcs/src/plugins/scope/scopegadget.cpp +++ b/ground/openpilotgcs/src/plugins/scope/scopegadget.cpp @@ -68,7 +68,8 @@ void ScopeGadget::loadConfiguration(IUAVGadgetConfiguration* config) uavField, scale, QPen( QBrush(QColor(color),Qt::SolidPattern), - (qreal)2, +// (qreal)2, + (qreal)1, Qt::SolidLine, Qt::SquareCap, Qt::BevelJoin) diff --git a/ground/openpilotgcs/src/plugins/scope/scopegadgetoptionspage.h b/ground/openpilotgcs/src/plugins/scope/scopegadgetoptionspage.h index 9710212cd..cbbf9201b 100644 --- a/ground/openpilotgcs/src/plugins/scope/scopegadgetoptionspage.h +++ b/ground/openpilotgcs/src/plugins/scope/scopegadgetoptionspage.h @@ -71,7 +71,6 @@ private: void setYAxisWidgetFromPlotCurve(); void setButtonColor(const QColor &color); - private slots: void on_lstCurves_currentRowChanged(int currentRow); void on_btnRemoveCurve_clicked(); diff --git a/ground/openpilotgcs/src/plugins/scope/scopegadgetwidget.cpp b/ground/openpilotgcs/src/plugins/scope/scopegadgetwidget.cpp index eba8b0643..a86c4be1a 100644 --- a/ground/openpilotgcs/src/plugins/scope/scopegadgetwidget.cpp +++ b/ground/openpilotgcs/src/plugins/scope/scopegadgetwidget.cpp @@ -114,13 +114,15 @@ void ScopeGadgetWidget::preparePlot(PlotType plotType) // Show a title setTitle("Scope"); - setCanvasBackground(Utils::StyleHelper::baseColor()); +// setCanvasBackground(Utils::StyleHelper::baseColor()); + setCanvasBackground(QColor(48, 48, 48)); //Add grid lines QwtPlotGrid *grid = new QwtPlotGrid; - grid->setMajPen(QPen(Qt::gray, 0, Qt::DashLine)); - grid->setMinPen(QPen(Qt::lightGray, 0 , Qt::DotLine)); - grid->attach(this); + grid->setMajPen(QPen(Qt::gray, 0, Qt::DashLine)); + grid->setMinPen(QPen(Qt::lightGray, 0, Qt::DotLine)); + grid->setPen(QPen(Qt::darkGray, 1, Qt::DotLine)); + grid->attach(this); // Show a legend at the bottom if (legend() == 0) {