Select QwtPlotCurve from QwtPlot
I want to have a window that contains a QTable and a QwtPlot and when I select a curve with the mouse, the points of the curve will appear at the QTable.
The problem that I have is that I don't know how to select a curve. I have seen the example (event_filter) that just selects points not the whole curve.
Do you have any suggestions?
Thank you in advance
[moved to 3rd party, koahnig]
This answer is a bit old but maybe you can make use of it:
Basically, look up usage of QwtPlotPicker.
Thank you for your answer, I used a mathematical equation that finds if the mouse point is on the line between the curves