QA/2d customise symbol color

Let the user define the color used for the symbols on the PfPv
and Scatter plot when framing intervals.
This commit is contained in:
Mark Liversedge
2013-02-24 17:30:58 +00:00
parent 1fe982dc64
commit 90942e0199
4 changed files with 72 additions and 70 deletions

View File

@@ -193,7 +193,7 @@ PfPvPlot::configChanged()
QwtSymbol sym;
sym.setStyle(QwtSymbol::Ellipse);
sym.setSize(6);
sym.setPen(QPen(Qt::gray));
sym.setPen(QPen(GColor(CPLOTSYMBOL)));
sym.setBrush(QBrush(Qt::NoBrush));
curve->setSymbol(new QwtSymbol(sym));
curve->setStyle(QwtPlotCurve::Dots);