Mousearea layers



  • 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


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.