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:
parent
4f1ae4c25d
commit
a0c82d340b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user