Hi !
I plot complex data using QwtPlot, so, I reimplement QwtSeriesData for converting my data into QPointF. The "sample(int)" converts MyObject to QPointf. My QwtSeriesData data manages a myVector=vector<MyObject>.
Now, I need to select point drawn into my plot. I try to use QwtPlotPicker but it only returns a QPointF.
Thus, my question is : How to get the index "idx" of the selected point in order to get myObject=myVector[idx] ?
I don't know if I am clear :-S
Bookmarks