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. How to detect if right button was pressed in MultiPointTouchArea ?
Forum Updated to NodeBB v4.3 + New Features

How to detect if right button was pressed in MultiPointTouchArea ?

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 1 Posters 109 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
    djobet
    wrote last edited by
    #1

    Hello, I have a MultiPointTouchArea which accepts a single point.
    It works fine with the mouse (left click only) or one finger.
    I'd like to perform a different action when the right button of the mouse is pressed.
    So far, I've tried to embed a MouseArea in a MultiPointTouchArea and the opposite as well with no luck.
    Do you have any suggestion ?

    Thanks for your help

    David

    1 Reply Last reply
    0
    • D Offline
      D Offline
      djobet
      wrote last edited by djobet
      #2

      I found the solution, shortly after having posted : I was missing
      acceptedButtons: Qt.AllButtons

      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