Results 1 to 2 of 2

Thread: How can I show tooltip QwtPlotCurve's name on Canvas by clicking?

  1. #1
    Join Date
    Jan 2010
    Location
    Ankara - TURKEY
    Posts
    30
    Thanks
    13
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Wink How can I show tooltip QwtPlotCurve's name on Canvas by clicking?

    Hi buddies;

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

    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

  2. #2
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,311
    Thanked 879 Times in 827 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: How can I show tooltip QwtPlotCurve's name on Canvas by clicking?

    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

  3. The following user says thank you to Uwe for this useful post:

    umituzun84 (2nd February 2011)

Similar Threads

  1. Replies: 3
    Last Post: 12th July 2010, 13:12
  2. How to show my toolTip in QTreeWidget?
    By cspp in forum Qt Programming
    Replies: 2
    Last Post: 14th May 2009, 12:09
  3. Replies: 4
    Last Post: 13th April 2009, 19:37
  4. how kd chart's data to show tooltip?
    By yunpeng880 in forum Qt Programming
    Replies: 0
    Last Post: 16th March 2009, 06:27
  5. showMaximized doesnt show the canvas
    By Kapil in forum Qt Programming
    Replies: 5
    Last Post: 23rd May 2006, 12:22

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.