Place Plot marks on mouse click event
Hello!
I want to place some text marks on my plot, upon mouse click. Like in gnuplot.
I disable zoom & pan by some button, and on pressing other button I want to click on a plot and place a mark on it.
How can i implement this?
There is no MouseEvents in QwtPlotMarker, and in the QwtPlot
Re: Place Plot marks on mouse click event
Use a QwtPlotPicker in PointSelection mode and connect its selected() signal to a slot, where you insert your markers.
Uwe
Re: Place Plot marks on mouse click event
Thank you, Uwe!
It works. Now I'll try to find the way to remove this markers from the plot :D