September 2015 11:46 AM
> To: interest@qt-project.org
> Subject: Re: [Interest] Non rectangular clipPath for QQuickItems
>
> Isn't there anyone who knows how to clip an Item and all its children in a
> non-rectangular fashion?
>
> Maybe It could be done with a ShaderEf
Isn't there anyone who knows how to clip an Item and all its children in
a non-rectangular fashion?
Maybe It could be done with a ShaderEffect? I had a look at OpacityMask
but I could not figure out how to use it in my context.
br
Richard
On 09/02/2015 04:15 PM, Richard Öhlinger wrote:
> Hello
Hello!
I'm porting our Quick 1 application to Quick 2.
In our application we had an triangle shaped item with a clipping path.
All child Items in QML (e.g. our Buttons) will be clipped to that
triangular shape
//in C'tor:
this->setFlag(QGraphicsItem::ItemHasNoContents, false);
this->setFlag(QGra