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. Detectiong right/left clicking the mouse wheel
QtWS25 Last Chance

Detectiong right/left clicking the mouse wheel

Scheduled Pinned Locked Moved Solved QML and Qt Quick
2 Posts 1 Posters 157 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.
  • C Offline
    C Offline
    Creaperdown
    wrote on last edited by Creaperdown
    #1

    Hey, my mouse is able to right and left click the wheel (afaik. also called tilt wheel or horizontal scrolling). Is there a way I can differentiate between those and normal scrolling in a MouseArea's onWheel slot?

    1 Reply Last reply
    0
    • C Offline
      C Offline
      Creaperdown
      wrote on last edited by
      #2

      I found the solution. The angleDelta property has the x coordinate not 0 when the horizontal scroll was used.

      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