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. Intercepting mouse wheel events of a QTreeWidget with scrollbars

Intercepting mouse wheel events of a QTreeWidget with scrollbars

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 1.0k 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.
  • V Offline
    V Offline
    Violet Giraffe
    wrote on last edited by
    #1

    I have a QTreeWidget with some content and active scrollbars. I want to receive its wheel events ahead of it, so that I can do some stuff as needed. I tried implementing eventFilter and installing it on the said QTreeWidget, I only receive the desired event if it wasn't consumed by the scroll area, i. e., if it is already scrolled to its limit in the direction of mouse wheel rotation.
    Is there any way to receive events ahead of QTreeWidget without subclassing it?

    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