Results 1 to 2 of 2

Thread: Selecting a QwtPlotCurve object.

  1. #1
    Join Date
    Jan 2009
    Posts
    3
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Question Selecting a QwtPlotCurve object.

    Hi,

    I want to track the mouse click on the QwtPlotCurve object and show a tooltip. Whenever I press the left mouse button on a QwtPlotCurve , how do I get the event. QwtPlotCurve is not derived from QObject.

    Thanks & regards,
    Mahesh

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

    Default Re: Selecting a QwtPlotCurve object.

    Plot items are painted on the plot canvas ( see QwtPlot::canvas() ). Have a look at QwtPlotPicker and friends, that is made for selections on the plot canvas.

    Uwe

Similar Threads

  1. Getting std::string object from QString object ( qt3)
    By joseph in forum Qt Programming
    Replies: 11
    Last Post: 28th March 2013, 20:09
  2. Replies: 4
    Last Post: 19th February 2009, 11:10
  3. Help with Q_PROPERTY with object pointer
    By lni in forum Qt Programming
    Replies: 1
    Last Post: 16th January 2009, 17:31
  4. Open a QMainWindow Object in QDialog Object
    By chuengchuenghq in forum Qt Programming
    Replies: 1
    Last Post: 13th June 2008, 06:33
  5. Replies: 2
    Last Post: 14th April 2008, 11:03

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.