The implementation of DistancePicker::trackerText is your code. Do you have another picker displaying this text ( f.e. the zoomer ).
Maybe you are using the same mouse events for the zoomer and your distance picker. You can redefine them using QwtEventPattern::setMousePattern/setKeyPattern.2) When we zoom in to the plot, just after releasing the mouse for the zoom action, the plot zooms in to new selection, and then automagically a measurement is started.
Use QwtEventPattern::setMousePattern() and redefine the input events for your distance picker.Is it possible to do measurements only when user presses space bar for instance ?
Uwe





Reply With Quote
Bookmarks