Subclass a qwtplotpicker. Supply it with your data and what you want to display. Enable the tracker. enable mouse tracking on the plot. Attach it to the plot.
the function virtual QwtText trackerText(const QwtDoublePoint & pos) const
will receive points as the cursor moves over them and returns text based on whatever you want it to return.
Bookmarks