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. Mousearea layers
Forum Updated to NodeBB v4.3 + New Features

Mousearea layers

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 159 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.
  • P Offline
    P Offline
    PavloPonomarov
    wrote on last edited by
    #1

    Hello,
    In my application I have multiple components that are stacked one inside another and all of them have different MouseArea events. For example I have a panel with drag event and then textarea inside this panel with right click popup event. I gave all those components Z-Index, but it seems this property doesn't affect MouseArea. Even though z-index of textarea is bigger popup event won't be fired until I disable the MouseArea that belongs to panel. As a workaround I use states to enable and disable MouseAreas, but I wanted to ask if there is a better solution

    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