How to keep rubberband on the QwtPlot?
	
	
		Hi,everyone
I'm looking for solution for how to keep the rubberband diaplaying on the canvas after I select a rectangle region by using QwtPlotPicker(selected by left mouse button). And the last rubberband will redraw when i press left mouse button again.
Please enlightened me. Thanks forward!
Best Regards
xujiqiang0927
	 
	
	
	
		Re: How to keep rubberband on the QwtPlot?
	
	
		a) You could implement a plot item, that displays the shape of your rubberband and insert/remove it corresponding to the picker operations. 
b) Another solution is to implement your own type of state machine for the picker, that doesn't produce the QwtPickerMachine::End symbol.
I don't know about the meaning of the rubberband in your context, but if it is something you want to have printed ( f.e. to a PDF document ) you have to do a).
Uwe
	 
	
	
	
		Re: How to keep rubberband on the QwtPlot?
	
	
		Thanks Uwe. 
The instance of my application is like this:
1. I use picker to select a region with a rubberband
2. keep the rubberband which i selected ,which could show to the me which exactly points i has selected 
3. then i can click a button to delete these points or another button to zoom into this region
Could you give some more material suggestion? Thanks 
xujiqiang0927