Results 1 to 3 of 3

Thread: how to add items to the axis scale widget of qwtplot?

  1. #1
    Join Date
    Apr 2013
    Location
    Arnstadt, Germany
    Posts
    2
    Thanks
    1
    Qt products
    Qt5
    Platforms
    Windows

    Default how to add items to the axis scale widget of qwtplot?

    Hi,

    I am using qwt 6.1-rc3 and what i want to is add some little moveable arrows to a qwtplot on the axis scale widget (?) but not on the plot canvas (see picture).
    pic.png

    How can i achieve this?

    Thanks

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

    Default Re: how to add items to the axis scale widget of qwtplot?

    Derive from QwtScaleDraw ( for drawing of the arrow ) and install en event filter for the axis widget, where you handle the mouse events.

    Uwe

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

    McApe (16th April 2013)

  4. #3
    Join Date
    Apr 2013
    Location
    Arnstadt, Germany
    Posts
    2
    Thanks
    1
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: how to add items to the axis scale widget of qwtplot?

    Thank you that helped me so much

Similar Threads

  1. qwt axis scale
    By Markus_AC in forum Qwt
    Replies: 0
    Last Post: 15th December 2011, 10:45
  2. Replies: 4
    Last Post: 16th January 2011, 11:32
  3. Replies: 2
    Last Post: 30th December 2010, 18:32
  4. Replies: 0
    Last Post: 4th May 2010, 10:45
  5. Replies: 1
    Last Post: 21st April 2010, 03:54

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.