Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QGraphsView How to get mouse events

QGraphsView How to get mouse events

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 35 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.
  • D Offline
    D Offline
    David Boo
    wrote last edited by
    #1

    I am migrating QML app that use ChartsView , which is now depreciated, to one that uses GraphsView. In my ChartsView, I created a MouseArea on top of the Chart which let me capture mouse movement to show a cross-hair with labels for x an y.

    I cannot get a similar MouseArea which takes up all of my ChartsView, but I cannot get any signal from it. I tried setting zoomEnabled to false but that did not work.

    How does one go about adding a MouseArea to a ChartsView. Thanks in advance for any help

    1 Reply Last reply
    0
    • GrecKoG Offline
      GrecKoG Offline
      GrecKo
      Qt Champions 2018
      wrote last edited by
      #2

      Have you tried a HoverHandler?

      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