Hi,
I want to move a QwtPlotMarker (vertical) when I click on it, and move it while the mouse button is down. Of course, the marker should follow the mouse cursor.
What is the easiest way to achieve this ?
Regards,
Printable View
Hi,
I want to move a QwtPlotMarker (vertical) when I click on it, and move it while the mouse button is down. Of course, the marker should follow the mouse cursor.
What is the easiest way to achieve this ?
Regards,
I would implement it as a combination of a QwtPlotMarker and a QwtPlotPicker.
Uwe
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?
Code:
connect(m_picker, SIGNAL(selected(const QwtDoublePoint&)), this, SLOT(Clicked(const QwtDoublePoint&)) );