Re: [Interest] Non rectangular clipPath for QQuickItems

2015-09-07 Thread Curtis Mitch
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

Re: [Interest] Non rectangular clipPath for QQuickItems

2015-09-07 Thread Richard Öhlinger
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

[Interest] Non rectangular clipPath for QQuickItems

2015-09-02 Thread Richard Öhlinger
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