PDA

View Full Version : How can I show tooltip QwtPlotCurve's name on Canvas by clicking?



umituzun84
2nd February 2011, 11:50
Hi buddies;

I haven't dealed with Qwt since 6 months and as a result forgot some hints :D

If I want to show tooltip on my canvas for each curve by clicking on my curve, do I really inherit my new Qwt??? class like QwtPlotPicker that does same thing for canvas coordinates?

Or is there any simple way to use easily?

Thanks in advance.
Regards from Turkey :)

Uwe
2nd February 2011, 12:06
The picker tells you about the position of the mouse click and might help you to display some text. But to decide if the position matches a curve ( and which one ) is something you have to implement in application code.

Uwe