Receive QTabletEvent when hover



  • 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.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.