<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Qt QML - FastBlur with rounded corners rectange and background image]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">Does anyone know how to make the FastBlur fit the rectangle with rounded corners? I tried many things and failed.</p>
<p dir="auto">I tried MaskedBlur with same negative results.</p>
<p dir="auto">FastBlur with OpacityMask would work if the mask could be inversed. What I did here is I blurred the whole background and then applied the OpacityMask to the rectangle with round corners. The mask fits nicely with rounded corners but it leaves blur everywhere except the rectangle.<br />
I am looking for the exact opposite effect. Any ideas?</p>
<p dir="auto">Second question: FastBlur - source: ??<br />
Assume there is a background image (id: background) filling whole screen and a small rectangle in the middle. I noticed that if I set the source: background for FastBlur then the whole blurred backround image is scalled and fitted into the rectangle.<br />
What is the proper way of having a blured rectangle which could be animated and moved on top of a background image?</p>
<p dir="auto">@    Image {<br />
id: background<br />
width: parent.width<br />
height: parent.height<br />
anchors.rightMargin: 0<br />
anchors.bottomMargin: 0<br />
anchors.leftMargin: 0<br />
anchors.topMargin: 0<br />
source: "img/Dark_blue_800x480.jpg"<br />
anchors.fill: parent<br />
}</p>
<pre><code>FastBlur
{
    anchors.fill: button1
    source: background
    radius: 20
}

Rectangle
{
    id: button1
    anchors.centerIn: parent
    width: 100
    height: 50
}
</code></pre>
<p dir="auto">@</p>
]]></description><link>https://forum.qt.io/topic/49452/qt-qml-fastblur-with-rounded-corners-rectange-and-background-image</link><generator>RSS for Node</generator><lastBuildDate>Sun, 16 Aug 2026 16:18:54 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/49452.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 20 Dec 2014 20:37:41 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Qt QML - FastBlur with rounded corners rectange and background image on Thu, 25 Dec 2014 06:12:40 GMT]]></title><description><![CDATA[<p dir="auto">Yes I tried it, but slightly different. The button1 has to be visible because it also has text which is not blurred, so I created a child rectangle which filled button1 and set this one to invisible and made it a source for FastBlur.<br />
But nothing was blurred. Maybe because the rectangle I created was two levels a above the background.<br />
I will do more experiments and report back. Thanks.</p>
]]></description><link>https://forum.qt.io/post/255439</link><guid isPermaLink="true">https://forum.qt.io/post/255439</guid><dc:creator><![CDATA[marcin100]]></dc:creator><pubDate>Thu, 25 Dec 2014 06:12:40 GMT</pubDate></item><item><title><![CDATA[Reply to Qt QML - FastBlur with rounded corners rectange and background image on Wed, 24 Dec 2014 23:38:57 GMT]]></title><description><![CDATA[<p dir="auto">Did you try to set source to Rectangle ?<br />
@</p>
<p dir="auto">FastBlur {<br />
anchors.fill: button1<br />
source: button1<br />
radius: 20<br />
}</p>
<p dir="auto">Rectangle {<br />
id: button1<br />
visible: false /* IMPORTANT !! The source has to be invisible */<br />
anchors.centerIn: parent<br />
width: 100<br />
height: 50<br />
}<br />
@</p>
<p dir="auto">Answer to FastBlur source: source can be any visual Qt Quick Item, so it can be a Rectangle. Do not limit yourself to images :-)</p>
]]></description><link>https://forum.qt.io/post/255437</link><guid isPermaLink="true">https://forum.qt.io/post/255437</guid><dc:creator><![CDATA[Gianluca]]></dc:creator><pubDate>Wed, 24 Dec 2014 23:38:57 GMT</pubDate></item><item><title><![CDATA[Reply to Qt QML - FastBlur with rounded corners rectange and background image on Wed, 24 Dec 2014 20:35:48 GMT]]></title><description><![CDATA[<p dir="auto">Hmmm. Is this really not possible? Qt Quick limitation maybe?</p>
]]></description><link>https://forum.qt.io/post/255414</link><guid isPermaLink="true">https://forum.qt.io/post/255414</guid><dc:creator><![CDATA[marcin100]]></dc:creator><pubDate>Wed, 24 Dec 2014 20:35:48 GMT</pubDate></item></channel></rss>