I have a qwt plot in my application. I want to show a small tool tip to show the value of the point at which mouse is pointed on the curve. I found that I have to use QwtPlotPicker for this, but couldn’t find any proper example to implement this in my code. I am new to Qwt so it would be great if anyone could help me solve this problem.
Thanks, Rakesh.
The author himself says here:
I implemented it in my own class, which is a subclass of QwtPlot. In the constructor I have the following:
Now in my class (where the this pointer refers to) I should implement the slot
onSelected(const QPointF&)which will give the plot coordinates.