Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. Select QwtPlotCurve from QwtPlot
QtWS25 Last Chance

Select QwtPlotCurve from QwtPlot

Scheduled Pinned Locked Moved 3rd Party Software
3 Posts 2 Posters 3.1k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    Christoss
    wrote on last edited by
    #1

    Hello there,
    I want to have a window that contains a QTable and a QwtPlot and when I select a curve with the mouse, the points of the curve will appear at the QTable.
    The problem that I have is that I don't know how to select a curve. I have seen the example (event_filter) that just selects points not the whole curve.
    Do you have any suggestions?
    Thank you in advance

    [moved to 3rd party, koahnig]

    1 Reply Last reply
    0
    • F Offline
      F Offline
      frankiefrank
      wrote on last edited by
      #2

      This answer is a bit old but maybe you can make use of it:
      http://comments.gmane.org/gmane.comp.graphics.qwt.general/752

      Basically, look up usage of QwtPlotPicker.

      "Roads? Where we're going, we don't need roads."

      1 Reply Last reply
      0
      • C Offline
        C Offline
        Christoss
        wrote on last edited by
        #3

        Thank you for your answer, I used a mathematical equation that finds if the mouse point is on the line between the curves

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved