Select QwtPlotCurve from QwtPlot
-
wrote on 24 Jun 2013, 13:08 last edited by
Hello there,
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]
-
wrote on 25 Jun 2013, 20:04 last edited by
This answer is a bit old but maybe you can make use of it:
http://comments.gmane.org/gmane.comp.graphics.qwt.general/752Basically, look up usage of QwtPlotPicker.
-
wrote on 5 Jul 2013, 16:04 last edited by
Thank you for your answer, I used a mathematical equation that finds if the mouse point is on the line between the curves