From 6377d9eb9c159f697daafa7626e3f6d2bc7d330b Mon Sep 17 00:00:00 2001
From: Oliver Bock <oliver.bock@aei.mpg.de>
Date: Fri, 15 Sep 2017 14:35:29 +0200
Subject: [PATCH] Adjust line width (still needs improvement at higher
 frequencies)

---
 src/pulsescopewidget.cpp | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/pulsescopewidget.cpp b/src/pulsescopewidget.cpp
index 2d3187e..0549a4e 100644
--- a/src/pulsescopewidget.cpp
+++ b/src/pulsescopewidget.cpp
@@ -56,7 +56,7 @@ PulseScopeWidget::PulseScopeWidget(QWidget *parent) : QGraphicsView(parent),
     m_pathLLO = NULL;
     m_pathVirgo = NULL;
 
-    m_xAxis = m_scene.addLine(0.0, m_scopeSizeV/2.0, m_scopeSizeH, m_scopeSizeV/2.0, QPen(QColor("white")));
+    m_xAxis = m_scene.addLine(0.0, m_scopeSizeV/2.0, m_scopeSizeH, m_scopeSizeV/2.0, QPen(QColor("white"), 0.1));
     m_xAxis->setZValue(1);
     m_yAxis = m_scene.addLine(0.0, 0.0, 0.0, m_scopeSizeV);
     m_yAxis->setZValue(1);
@@ -88,9 +88,9 @@ void PulseScopeWidget::plot(const PlotData& data)
         pulsePathVirgo.lineTo(i, m_scopeSizeV - data.m_dataVirgo.at(i) - m_scopeSizeV/2.0);
     }
     if(m_pathLHO == NULL) {
-        m_pathLHO = m_scene.addPath(pulsePathLHO, QPen(data.m_colorLHO));
-        m_pathLLO = m_scene.addPath(pulsePathLLO, QPen(data.m_colorLLO));
-        m_pathVirgo = m_scene.addPath(pulsePathVirgo, QPen(data.m_colorVirgo));
+        m_pathLHO = m_scene.addPath(pulsePathLHO, QPen(QColor(data.m_colorLHO), 0.2));
+        m_pathLLO = m_scene.addPath(pulsePathLLO, QPen(QColor(data.m_colorLLO), 0.2));
+        m_pathVirgo = m_scene.addPath(pulsePathVirgo, QPen(QColor(data.m_colorVirgo), 0.2));
     }
     else {
         m_pathLHO->setPath(pulsePathLHO);
-- 
GitLab