Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Receive QTabletEvent when hover
Qt 6.11 is out! See what's new in the release blog

Receive QTabletEvent when hover

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 609 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.
  • L Offline
    L Offline
    Lini
    wrote on last edited by
    #1

    Hello everyone,

    I'm using QTabletEvent with Qt 5.7 in an application with a QMainWindow, QGraphicsView and QGraphicsScene.
    I have redirected the QEvent::TabletEnterProximity and QEvent::TabletLeaveProximity from the QApplication to the QGraphicsView so that QGraphicsView receive all QTableEvents.

    The thing is, I can't get the events when the stylus of my Wacom device is not touching the tablet. I've tried to get MouseMove events using the instruction setMouseTracking(true) and I do have these but only when the mouse is moving, not the stylus. However, the cursor is moving in both cases but I can't get any event when I'm moving the cursor with my stylus not pressed on the tablet.
    I also tried to get HoverEvents but the result is the same : I only get Hover from the mouse, not the stylus.

    Do you think that there is a way to get those "TabletHoverEvents" ?a

    Thanks in advance.

    1 Reply Last reply
    0
    • A Offline
      A Offline
      Ariyala
      wrote on last edited by
      #2
      This post is deleted!
      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