[Interest] QML punch-out

Jason H jhihn at gmx.com
Sat Dec 24 18:35:25 CET 2016


I don' think opacity mask is want I'm looking for.
Given a back to front draw order of:
A paisley layer, (background)
A control, visible = true
A solid color, to mask the control
A LinearGradient, with source = control
A MouseArea to send mouse events to the control

How can I bring the background layer above the control (and eliminate the solid)? for just a section of the screen?

The real problem here is I'm using a LinearGradient with a source, the source needs to be visible to receive mouse events, so I need to pull the background to be behind the linear gradient.



More information about the Interest mailing list