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. Specifiying QGraphicsItem touch event targets
QtWS25 Last Chance

Specifiying QGraphicsItem touch event targets

Scheduled Pinned Locked Moved General and Desktop
qgraphicsitemtouch
1 Posts 1 Posters 997 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.
  • A Offline
    A Offline
    aelm
    wrote on 12 Oct 2015, 08:40 last edited by
    #1

    Hi,

    I have an application where items on a scene can be resized using a two finger pinch style gesture, but when the item is very small, the events touch positions are slightly outside the boundingRect() of the target item and so the QTouchEvent propagates up to the view. While it is very easy to detect if this happens, I was hoping to avoid having to manually filter and redistribute the incoming touch events. Is there anyway to specify some sort of touch event grabber similar to the way an item can become the mouse grabber?

    1 Reply Last reply
    0

    1/1

    12 Oct 2015, 08:40

    • Login

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