Results 1 to 2 of 2

Thread: How to implement 2 cursors

  1. #1
    Join Date
    Oct 2014
    Location
    Paris
    Posts
    15
    Thanks
    5
    Qt products
    Qt5
    Platforms
    Windows

    Default How to implement 2 cursors

    I need to implement 2 cursors in my Plot. The cursor is not a mouse cursor, Looks like this.

    How to do that?

    many Thanks in advance.
    Attached Images Attached Images

  2. #2
    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: How to implement 2 cursors

    Depends on how the cursors. If they are something that changes independent from the plot you should implement it as widget overlay to avoid expensive replots - if it is simply 2 vertical lines on the plot you can use QwtPlotMarker or QwtPlotZoneItem.

    Uwe

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

    Abderrahim (31st May 2016)

Similar Threads

  1. Qt Quick cursors
    By nigec in forum Newbie
    Replies: 0
    Last Post: 19th March 2013, 09:40
  2. Cursors in SQL
    By Ali Reza in forum General Programming
    Replies: 0
    Last Post: 4th November 2012, 20:22
  3. Replies: 1
    Last Post: 11th January 2008, 10:59
  4. Qt Oracle too many opened cursors
    By sureshbabu in forum Qt Programming
    Replies: 1
    Last Post: 30th November 2007, 19:09
  5. Onde datatable with difirent cursors
    By zlatko in forum Qt Programming
    Replies: 2
    Last Post: 28th April 2006, 13:42

Tags for this Thread

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.