Skip to content
Snippets Groups Projects
Commit 6377d9eb authored by Oliver Bock's avatar Oliver Bock
Browse files

Adjust line width (still needs improvement at higher frequencies)

parent 1bcf31f0
No related branches found
No related tags found
No related merge requests found
...@@ -56,7 +56,7 @@ PulseScopeWidget::PulseScopeWidget(QWidget *parent) : QGraphicsView(parent), ...@@ -56,7 +56,7 @@ PulseScopeWidget::PulseScopeWidget(QWidget *parent) : QGraphicsView(parent),
m_pathLLO = NULL; m_pathLLO = NULL;
m_pathVirgo = 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_xAxis->setZValue(1);
m_yAxis = m_scene.addLine(0.0, 0.0, 0.0, m_scopeSizeV); m_yAxis = m_scene.addLine(0.0, 0.0, 0.0, m_scopeSizeV);
m_yAxis->setZValue(1); m_yAxis->setZValue(1);
...@@ -88,9 +88,9 @@ void PulseScopeWidget::plot(const PlotData& data) ...@@ -88,9 +88,9 @@ void PulseScopeWidget::plot(const PlotData& data)
pulsePathVirgo.lineTo(i, m_scopeSizeV - data.m_dataVirgo.at(i) - m_scopeSizeV/2.0); pulsePathVirgo.lineTo(i, m_scopeSizeV - data.m_dataVirgo.at(i) - m_scopeSizeV/2.0);
} }
if(m_pathLHO == NULL) { if(m_pathLHO == NULL) {
m_pathLHO = m_scene.addPath(pulsePathLHO, QPen(data.m_colorLHO)); m_pathLHO = m_scene.addPath(pulsePathLHO, QPen(QColor(data.m_colorLHO), 0.2));
m_pathLLO = m_scene.addPath(pulsePathLLO, QPen(data.m_colorLLO)); m_pathLLO = m_scene.addPath(pulsePathLLO, QPen(QColor(data.m_colorLLO), 0.2));
m_pathVirgo = m_scene.addPath(pulsePathVirgo, QPen(data.m_colorVirgo)); m_pathVirgo = m_scene.addPath(pulsePathVirgo, QPen(QColor(data.m_colorVirgo), 0.2));
} }
else { else {
m_pathLHO->setPath(pulsePathLHO); m_pathLHO->setPath(pulsePathLHO);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment