Thanks Uwe, that's essentially what I did for the drawing part, although in drawRubberband() I had created a new case for the combination of VLineRubberBand and a QwtPickerDragRectMachine. In my head, I was thinking of the selection more in the VLineRubberBand sense since I wanted the full vertical range of the plot, but your suggestion actually does seem more consistent since I really am selecting a rectangle.
I hadn't stumbled across QwtPlotZoneItem yet so I'll check that out. The name of that class just didn't trigger that it would apply.




Reply With Quote


Bookmarks