Hi Uwe, I am trying to achieve exactly the same thing, however I'm quite new to Qwt and I need more help.
Can you please give me a few hints about how to set up the picker to display the vertical movement marker and to emit the event after the movement is complete?
m_picker
->setTrackerMode
(QwtPicker::AlwaysOn);
m_picker
->setRubberBand
(QwtPicker::VLineRubberBand);
connect(m_picker, SIGNAL(selected(const QwtDoublePoint&)), this, SLOT(Clicked(const QwtDoublePoint&)) );
m_picker = new QwtPlotPicker(m_amp->canvas());
m_picker->setTrackerMode(QwtPicker::AlwaysOn);
m_picker->setRubberBand(QwtPicker::VLineRubberBand);
m_picker->setSelectionFlags(QwtPicker::PointSelection | QwtPicker::ClickSelection);
connect(m_picker, SIGNAL(selected(const QwtDoublePoint&)), this, SLOT(Clicked(const QwtDoublePoint&)) );
To copy to clipboard, switch view to plain text mode
Bookmarks