Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

A semi-transparent Rectangle that also blurs

$
0
0
In QML, you can create a Rectangle with a semi-transparent background color that partially shows what is underneath it. This is great for creating slide-out panels that let the user still get a sense of what is underneath. Is it possible to also add a blurring effect in addition to the transparency? Much like some of the panels in iOS 7 [media.heavy.com]. I’m guessing that this could be done by applying a ShaderEffect, but using ShaderEffect requires providing a “src” component. However, I’d like the Rectangle to blur what’s underneath more generally. That is, without any knowledge of or references to the items that are underneath it. Any thoughts on how this would be achieved?

Viewing all articles
Browse latest Browse all 4972

Trending Articles