Results 1 to 2 of 2

Thread: QwtPlotMarker QwtPlotPicker

  1. #1
    Join Date
    Oct 2009
    Posts
    7
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default QwtPlotMarker QwtPlotPicker

    i am using qwt6.6.0
    i have attached 2 vertical markers and 1 horizontal marker to the canvas and attached a picker to plot canvas.I want to move the individual marker and show the label(xpos,ypos)of each .How can i do it??
    i am taking the picker pos and setting the marker at that pos ,but not able to distinguish the movements for the each marker.
    all markers are moving simultaneously
    how to distinguish them

  2. #2
    Join Date
    Oct 2010
    Location
    Berlin, Germany
    Posts
    358
    Thanks
    18
    Thanked 68 Times in 66 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QwtPlotMarker QwtPlotPicker

    you can move one marker at a time. so, you have one "active" marker. the question is: how do you want to set the active marker? maybe you could use a QComboBox , but there are several other possibilities.

Similar Threads

  1. QwtPlotMarker example
    By banita in forum Qwt
    Replies: 1
    Last Post: 24th May 2012, 14:19
  2. Replies: 5
    Last Post: 11th January 2011, 07:37
  3. Implement draggable QWtplotmarker
    By shud in forum Qwt
    Replies: 3
    Last Post: 13th August 2009, 07:25
  4. QwtPlotMarker segfault
    By viridis in forum Qwt
    Replies: 4
    Last Post: 17th September 2008, 14:22
  5. QwtPlotMarker confusion
    By baray98 in forum Qwt
    Replies: 3
    Last Post: 20th July 2008, 10:47

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.