Results 1 to 3 of 3

Thread: Double click on the axes of qwtPlot ?

  1. #1
    Join Date
    Dec 2013
    Location
    Jerada, Morroco
    Posts
    106
    Thanks
    11
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Double click on the axes of qwtPlot ?

    Hi all,

    I want to double click on the extremities of qwtPlot in order to change , the maxs and mins values of axes.
    Is there any way to do this easily or wath is the class can i overlaod to pick up the event of double click on extremities of the qwtPlot.

    Thanx in advance.

  2. #2
    Join Date
    Dec 2013
    Location
    Toronto, Canada
    Posts
    62
    Thanked 16 Times in 15 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Double click on the axes of qwtPlot ?

    I would try re-implementing QwtPlot::eventFilter ( QObject * object, QEvent * event )

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

    Default Re: Double click on the axes of qwtPlot ?

    Note that QwtPlot is a composite widget and usually you want to filter events of the axes widgets ( or the canvas ).

    Uwe

Similar Threads

  1. QwtPlot space between axes ?
    By hassinoss in forum Qwt
    Replies: 2
    Last Post: 14th February 2014, 19:29
  2. Replies: 4
    Last Post: 11th January 2014, 04:06
  3. size of QWTplot without axes.
    By Gora in forum Qwt
    Replies: 3
    Last Post: 29th May 2013, 11:09
  4. Replies: 2
    Last Post: 20th July 2012, 14:51
  5. Replies: 2
    Last Post: 16th July 2012, 13:40

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.