I am interested in creating a new QwtPlotCurve on an existing set of overlaid QwtPlots. Something where the user can draw a line (or maybe a set of points and have it connect the dots?) on top of my plot. Looking at the Qwt docs/examples/playground, it seems like the closest thing is the spline editor to what I want as an interface, with the exception of the line drawing interface.
Ideally, after the user has drawn a line, they would be able to change the points of the line like the spline editor where they are moving points up and down.
What I am trying to do is allow a user to follow a certain feature in a plot and trace out where the peaks and valleys are.
Anyway, I know I need to override the event filter and capture the mouse movements, but are there other things in Qwt that could help with this? Is it reasonable to have 1000 symbols across my plot that they can manipulate? Maybe someone has done something similar and can share experience or code?
Thanks for any advice!
Joey
Bookmarks