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. QtWidgets mouse and touch events at same time
Forum Updated to NodeBB v4.3 + New Features

QtWidgets mouse and touch events at same time

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 627 Views 1 Watching
  • 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
    Comandillos
    wrote on last edited by
    #1

    I'm developing a drawing app where an user can draw with a mouse device or with a HID multitouch device with a QPainter, but i'm having some problems with mouse and touch events.

    I'm reading Touch events and mouse events at same time, but if i use the hid device, i receive the touch events, but, at the same time, i'm also receiving a mouse event on the same point of the first finger.

    This is happening to me on Ubuntu 16.10, but not on Android or other platforms.
    Any tip on how to manage those events to avoid this problem?.

    Thanks!

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      You should add which version of Qt you are using, what the device is, what driver does it use etc.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      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