Commit 6377d9eb authored by Oliver Bock's avatar Oliver Bock
Browse files

Adjust line width (still needs improvement at higher frequencies)

parent 1bcf31f0
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment