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. QML window translucent for mouse events except rectangle

QML window translucent for mouse events except rectangle

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 788 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.
  • J Offline
    J Offline
    Jens van koolwijk
    wrote on last edited by Jens van koolwijk
    #1

    I have a window with multiple buttons. I would like that my window is transparent to mouse events except for the button. I don't want to use multiple windows. How can I do this(event filter)?Platform is windows 10. The application is a fullscreen overlay always on top.I want the window to be translucent for mouse event except for the parts where I put a button or image

    1 Reply Last reply
    0
    • GPBetaG Offline
      GPBetaG Offline
      GPBeta
      wrote on last edited by
      #2

      I think it's not easy to be done on Windows system.
      You might have to update the window's region every frame get rendered, and this operation would be somehow overhead.

      \BAKA BAKA/

      1 Reply Last reply
      1

      • Login

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