1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-01 09:24:10 +01:00

OP-1617 PlotPicker configuration change.

This commit is contained in:
m_thread 2015-01-04 11:50:52 +01:00 committed by Alessio Morale
parent 4f1ae4c25d
commit a0c82d340b

View File

@ -82,12 +82,11 @@ ScopeGadgetWidget::ScopeGadgetWidget(QWidget *parent) : QwtPlot(parent),
m_picker = new QwtPlotPicker(QwtPlot::xBottom,
QwtPlot::yLeft,
QwtPlotPicker::CrossRubberBand,
QwtPlotPicker::HLineRubberBand,
QwtPicker::ActiveOnly,
canvas());
m_picker->setStateMachine(new QwtPickerDragPointMachine());
m_picker->setRubberBandPen(QColor(Qt::darkMagenta));
m_picker->setRubberBand(QwtPicker::HLineRubberBand);
m_picker->setTrackerPen(QColor(Qt::green));
// Setup the timer that replots data